]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
pinctrl: qcom: spmi-gpio: Add PM8010 GPIO support
authorFenglin Wu <fenglin.wu@oss.qualcomm.com>
Fri, 8 May 2026 05:34:08 +0000 (22:34 -0700)
committerLinus Walleij <linusw@kernel.org>
Sat, 23 May 2026 08:56:45 +0000 (10:56 +0200)
Add PM8010 GPIO support with its compatible string and match data.

Signed-off-by: Fenglin Wu <fenglin.wu@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c

index d02d42513ebbca30e26528e6b4bd696e06b0480e..cdd61dae74cf935c67c18ef6ff6b2f65dd4051b6 100644 (file)
@@ -1229,6 +1229,7 @@ static const struct of_device_id pmic_gpio_of_match[] = {
        { .compatible = "qcom,pm7550-gpio", .data = (void *) 12 },
        { .compatible = "qcom,pm7550ba-gpio", .data = (void *) 8},
        { .compatible = "qcom,pm8005-gpio", .data = (void *) 4 },
+       { .compatible = "qcom,pm8010-gpio", .data = (void *) 2 },
        { .compatible = "qcom,pm8019-gpio", .data = (void *) 6 },
        /* pm8150 has 10 GPIOs with holes on 2, 5, 7 and 8 */
        { .compatible = "qcom,pm8150-gpio", .data = (void *) 10 },