diff options
author | Robert Marko <robimarko@gmail.com> | 2022-07-11 22:34:05 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-07-18 11:38:37 +0200 |
commit | 6cd81a86ff11ae2cc4c3569293e2ddceadcbdc77 (patch) | |
tree | 7b833b78be9899db29635eb211afd63e37e6c33c /drivers/pinctrl | |
parent | dt-bindings: pinctrl: qcom,pmic-gpio: add PMP8074 (diff) | |
download | linux-6cd81a86ff11ae2cc4c3569293e2ddceadcbdc77.tar.xz linux-6cd81a86ff11ae2cc4c3569293e2ddceadcbdc77.zip |
pinctrl: qcom-pmic-gpio: add support for PMP8074
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>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index f230b8957d78..884a57c812db 100644 --- 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 */ |