projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed16b6d
)
pinctrl: qcom-pmic-gpio: add support for PMP8074
author
Robert Marko
<robimarko@gmail.com>
Mon, 11 Jul 2022 20:34:05 +0000
(22:34 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 18 Jul 2022 09:38:37 +0000
(11:38 +0200)
PMP8074 has 12 GPIO-s with holes on GPIO1 and GPIO12.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Link:
https://lore.kernel.org/r/20220711203408.2949888-4-robimarko@gmail.com
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 f230b8957d7852128c602567fe33d8dbb97bdd2a..884a57c812db8ae99b28d41475ff5f4268af27b8 100644
(file)
--- a/
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@
-1181,6
+1181,8
@@
static const struct of_device_id pmic_gpio_of_match[] = {
{ .compatible = "qcom,pmi8998-gpio", .data = (void *) 14 },
{ .compatible = "qcom,pmk8350-gpio", .data = (void *) 4 },
{ .compatible = "qcom,pmm8155au-gpio", .data = (void *) 10 },
+ /* pmp8074 has 12 GPIOs with holes on 1 and 12 */
+ { .compatible = "qcom,pmp8074-gpio", .data = (void *) 12 },
{ .compatible = "qcom,pmr735a-gpio", .data = (void *) 4 },
{ .compatible = "qcom,pmr735b-gpio", .data = (void *) 4 },
/* pms405 has 12 GPIOs with holes on 1, 9, and 10 */