OSDN Git Service

pinctrl: qcom: spmi-gpio: Add PM8953 support
authorLuca Weiss <luca@z3ntu.xyz>
Fri, 21 Apr 2023 21:56:21 +0000 (23:56 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 8 May 2023 13:42:24 +0000 (15:42 +0200)
Add support for the 8 GPIOs found on PM8953.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20230421-pm8953-gpio-v1-2-3d33e2de47e3@z3ntu.xyz
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c

index 43c7857..b4cd668 100644 (file)
@@ -1229,6 +1229,8 @@ static const struct of_device_id pmic_gpio_of_match[] = {
        { .compatible = "qcom,pm8941-gpio", .data = (void *) 36 },
        /* pm8950 has 8 GPIOs with holes on 3 */
        { .compatible = "qcom,pm8950-gpio", .data = (void *) 8 },
+       /* pm8953 has 8 GPIOs with holes on 3 and 6 */
+       { .compatible = "qcom,pm8953-gpio", .data = (void *) 8 },
        { .compatible = "qcom,pm8994-gpio", .data = (void *) 22 },
        { .compatible = "qcom,pm8998-gpio", .data = (void *) 26 },
        { .compatible = "qcom,pma8084-gpio", .data = (void *) 22 },