Skip to content

Commit 89265a5

Browse files
barni2000linusw
authored andcommitted
pinctrl: qcom-pmic-gpio: add support for PM8937
PM8937 has 8 GPIO-s with holes on GPIO3, GPIO4 and GPIO6. Signed-off-by: Barnabás Czémán <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent fecb6e2 commit 89265a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/pinctrl/qcom/pinctrl-spmi-gpio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,8 @@ static const struct of_device_id pmic_gpio_of_match[] = {
12261226
{ .compatible = "qcom,pm8550ve-gpio", .data = (void *) 8 },
12271227
{ .compatible = "qcom,pm8550vs-gpio", .data = (void *) 6 },
12281228
{ .compatible = "qcom,pm8916-gpio", .data = (void *) 4 },
1229+
/* pm8937 has 8 GPIOs with holes on 3, 4 and 6 */
1230+
{ .compatible = "qcom,pm8937-gpio", .data = (void *) 8 },
12291231
{ .compatible = "qcom,pm8941-gpio", .data = (void *) 36 },
12301232
/* pm8950 has 8 GPIOs with holes on 3 */
12311233
{ .compatible = "qcom,pm8950-gpio", .data = (void *) 8 },

0 commit comments

Comments
 (0)