[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211123174127.2261-1-dominikkobinski314@gmail.com>
Date: Tue, 23 Nov 2021 18:41:27 +0100
From: Dominik Kobinski <dominikkobinski314@...il.com>
To: agross@...nel.org
Cc: bjorn.andersson@...aro.org, linus.walleij@...aro.org,
linux-arm-msm@...r.kernel.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org,
Dominik Kobinski <dominikkobinski314@...il.com>,
Ivaylo Ivanov <ivo.ivanov.ivanov1@...il.com>
Subject: [PATCH 1/4] pinctrl: qcom: spmi-gpio: Add pm8226 compatibility
Add support for pm8226 SPMI GPIOs. The PMIC features
8 GPIOs, with no holes inbetween.
Suggested-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@...il.com>
Signed-off-by: Dominik Kobinski <dominikkobinski314@...il.com>
---
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 5283d5e9e8bc..0f0102f38cbb 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1159,6 +1159,7 @@ static const struct of_device_id pmic_gpio_of_match[] = {
/* pm8150l has 12 GPIOs with holes on 7 */
{ .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 },
{ .compatible = "qcom,pmc8180c-gpio", .data = (void *) 12 },
+ { .compatible = "qcom,pm8226-gpio", .data = (void *) 8 },
{ .compatible = "qcom,pm8350-gpio", .data = (void *) 10 },
{ .compatible = "qcom,pm8350b-gpio", .data = (void *) 8 },
{ .compatible = "qcom,pm8350c-gpio", .data = (void *) 9 },
--
2.34.0
Powered by blists - more mailing lists