Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: qcom/pinctrl-spmi-gpio: Add compatible for pmic-gpio on SA8155p-adp

SA8155p-adp PMIC (PMM8155AU) exposes 10 GPIOs.

Add support for the same in the pinctrl driver.

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
Link: https://lore.kernel.org/r/20210629123407.82561-5-bhupesh.sharma@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Bhupesh Sharma and committed by
Linus Walleij
79e2311c 4afc2a0c

+1
+1
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
··· 1133 1133 { .compatible = "qcom,pmi8994-gpio", .data = (void *) 10 }, 1134 1134 { .compatible = "qcom,pmi8998-gpio", .data = (void *) 14 }, 1135 1135 { .compatible = "qcom,pmk8350-gpio", .data = (void *) 4 }, 1136 + { .compatible = "qcom,pmm8155au-gpio", .data = (void *) 10 }, 1136 1137 { .compatible = "qcom,pmr735a-gpio", .data = (void *) 4 }, 1137 1138 { .compatible = "qcom,pmr735b-gpio", .data = (void *) 4 }, 1138 1139 /* pms405 has 12 GPIOs with holes on 1, 9, and 10 */