diff mbox series

[v3,02/14] pinctrl: qcom-pmic-gpio: Add support for PM8937

Message ID 20241107-msm8917-v3-2-6ddc5acd978b@mainlining.org (mailing list archive)
State Handled Elsewhere, archived
Headers show
Series Add MSM8917/PM8937/Redmi 5A | expand

Commit Message

Barnabás Czémán Nov. 7, 2024, 5:02 p.m. UTC
PM8937 has 8 GPIO-s with holes on GPIO3, GPIO4 and GPIO6.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
---
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
index d42c812a89a848b2f64c84da1546f48e9e899d4d..a8a154a2ac94e3fc94d2da1710867a6f0a7ae11e 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1226,6 +1226,8 @@  static const struct of_device_id pmic_gpio_of_match[] = {
 	{ .compatible = "qcom,pm8550ve-gpio", .data = (void *) 8 },
 	{ .compatible = "qcom,pm8550vs-gpio", .data = (void *) 6 },
 	{ .compatible = "qcom,pm8916-gpio", .data = (void *) 4 },
+	/* pm8937 has 8 GPIOs with holes on 3, 4 and 6 */
+	{ .compatible = "qcom,pm8937-gpio", .data = (void *) 8 },
 	{ .compatible = "qcom,pm8941-gpio", .data = (void *) 36 },
 	/* pm8950 has 8 GPIOs with holes on 3 */
 	{ .compatible = "qcom,pm8950-gpio", .data = (void *) 8 },