diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2021-11-16 18:35:14 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-11-22 02:33:00 +0300 |
commit | ef874e03a67dd3d07c0a135e32eaf84ab0445273 (patch) | |
tree | 72930200d96958f5db9b7396c05c1155c21246a3 /drivers | |
parent | 5277525edfd80ab65503bc13f9655509cfc463af (diff) | |
download | linux-ef874e03a67dd3d07c0a135e32eaf84ab0445273.tar.xz |
pinctrl: spmi-gpio: Add support for PM2250
PM2250, commonly combined with QCM2290, provides ten SPMI GPIOs.
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Link: https://lore.kernel.org/r/1637076915-3280-1-git-send-email-loic.poulain@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index 1ae3895a7ff3..f2eac3b05d67 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1141,6 +1141,7 @@ static int pmic_gpio_remove(struct platform_device *pdev) } static const struct of_device_id pmic_gpio_of_match[] = { + { .compatible = "qcom,pm2250-gpio", .data = (void *) 10 }, /* pm660 has 13 GPIOs with holes on 1, 5, 6, 7, 8 and 10 */ { .compatible = "qcom,pm660-gpio", .data = (void *) 13 }, /* pm660l has 12 GPIOs with holes on 1, 2, 10, 11 and 12 */ |