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:
2c07431
)
pinctrl: qcom: spmi-gpio: Add PM8953 support
author
Luca Weiss
<luca@z3ntu.xyz>
Fri, 21 Apr 2023 21:56:21 +0000
(23:56 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 8 May 2023 13:42:24 +0000
(15:42 +0200)
Add support for the 8 GPIOs found on PM8953.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Link:
https://lore.kernel.org/r/20230421-pm8953-gpio-v1-2-3d33e2de47e3@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 43c7857c06a504b7ac981c4cd2fcaf32c0b62717..b4cd66886f290e1ad826fbdce35b02830ca87d02 100644
(file)
--- a/
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@
-1229,6
+1229,8
@@
static const struct of_device_id pmic_gpio_of_match[] = {
{ .compatible = "qcom,pm8941-gpio", .data = (void *) 36 },
/* pm8950 has 8 GPIOs with holes on 3 */
{ .compatible = "qcom,pm8950-gpio", .data = (void *) 8 },
+ /* pm8953 has 8 GPIOs with holes on 3 and 6 */
+ { .compatible = "qcom,pm8953-gpio", .data = (void *) 8 },
{ .compatible = "qcom,pm8994-gpio", .data = (void *) 22 },
{ .compatible = "qcom,pm8998-gpio", .data = (void *) 26 },
{ .compatible = "qcom,pma8084-gpio", .data = (void *) 22 },