From patchwork Thu Apr 13 23:17:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 673495 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF93EC77B7A for ; Thu, 13 Apr 2023 23:19:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230063AbjDMXTZ (ORCPT ); Thu, 13 Apr 2023 19:19:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229625AbjDMXTX (ORCPT ); Thu, 13 Apr 2023 19:19:23 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 655ADE42; Thu, 13 Apr 2023 16:18:57 -0700 (PDT) Received: from [192.168.178.23] (unknown [62.108.10.64]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 9CC35D0C36; Thu, 13 Apr 2023 23:18:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1681427893; bh=HcTHX83+QMV3YucT0aCNnzAc4Whibfo3LY2KHsCfrkI=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=OF8cWS53T+6066sujXfS0khXFCK9/Q68aY7+Ln7WIt4o8NII7KQfvcD2YyztWWIlM p+nE24H0OBf7FVpvt12xnnE/7k2H4/2ZPUd1RmlHBsxwUsTwQeU2c5Ohi3iNPaUNAI SMHcMY6l9kRAL2H+2iNqjUAe1kR2I61zyYyyd93g= From: Luca Weiss Date: Fri, 14 Apr 2023 01:17:46 +0200 Subject: [PATCH 2/8] pinctrl: qcom: spmi-gpio: Add PMI632 support MIME-Version: 1.0 Message-Id: <20230414-pmi632-v1-2-fe94dc414832@z3ntu.xyz> References: <20230414-pmi632-v1-0-fe94dc414832@z3ntu.xyz> In-Reply-To: <20230414-pmi632-v1-0-fe94dc414832@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Pavel Machek , Lee Jones , Jonathan Cameron , Lars-Peter Clausen , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-iio@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=948; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=HcTHX83+QMV3YucT0aCNnzAc4Whibfo3LY2KHsCfrkI=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBkOI2uXy+FWc8JZFlKj7GgodHPwBXGfBBiIo+83 NbtrIiQQRmJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZDiNrgAKCRBy2EO4nU3X VqBCD/92DOezFgvV5TKj9vXY7vZo3r0V+Lq9gP+TQIV3G79eFKyVzW+9kjK4HlzhsV6siORz3kG 5BHqoKgxbd75VHObVL1xUUc00r+UIr+ivLWxwTlv4I+IZiKvDIzqsJBgy8ey35kk6IyzhIjF/Tq Y0LLa+W8Fi5n2ux9eD6BQgxUOJFGi/FhPzktRjNRkEdsPVYC9mLvfFDtB6XBO0lSDvodoLrRKoD hRX6UfmPS54eErJV4Wh+umoIo5k6jIrbOKJzLna3fMPTnHhvWxSP3196+lijgHk/VFOXgwg8dqT YFMD14//gL233GjrwWSxDjHr9S1FqXJtPAquct3xWQmdIpLbxwPqUyBtQu0Jkwv8dhW1gO6NYPj JAJqZS0GHCiQ8yvwGxyU26YtZ0udCRS8eQFKJMbABHr8Ku8BEVpSJcaFlmEI9Qe/kTnNVapiY8t A0ImnoCH7n2g+Eg74zyMEQaQlFzs7jJdzlFRUo1x0V/7gPcpb6zRAuhbj8RwiDt3U9zXnTADDNc aOlbRx6PJ9f2GblUCcHfBkR9rlkxRL3aQV5MPfa+u+76uz0pasF5lqA9ECf19JA9agc11BldXT0 mgtettYih1H/hCSIub7prw1p3b9wFhGm/wVE8rCiAnHbsxMIr7HcRok6XovVLv9JMqNvsNB6IIv q+a3heyxiQWJhEw== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add support for the 8 GPIOs found on PMI632. Signed-off-by: Luca Weiss --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index ea3485344f06..40cab13e5a83 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1232,6 +1232,7 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pm8994-gpio", .data = (void *) 22 }, { .compatible = "qcom,pm8998-gpio", .data = (void *) 26 }, { .compatible = "qcom,pma8084-gpio", .data = (void *) 22 }, + { .compatible = "qcom,pmi632-gpio", .data = (void *) 8 }, { .compatible = "qcom,pmi8950-gpio", .data = (void *) 2 }, { .compatible = "qcom,pmi8994-gpio", .data = (void *) 10 }, { .compatible = "qcom,pmi8998-gpio", .data = (void *) 14 },