projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b648d9
)
pinctrl: qcom: spmi-gpio: Add PMI632 support
author
Luca Weiss
<luca@z3ntu.xyz>
Tue, 18 Apr 2023 16:43:18 +0000
(18:43 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 21 Apr 2023 08:28:51 +0000
(10:28 +0200)
Add support for the 8 GPIOs found on PMI632.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link:
https://lore.kernel.org/r/20230414-pmi632-v2-2-98bafa909c36@z3ntu.xyz
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
index 0d94175b34f85944347d37786c8f2f20ca2825bb..43c7857c06a504b7ac981c4cd2fcaf32c0b62717 100644
(file)
--- 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 },