]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
pinctrl: qcom: spmi-gpio: add compatible for pms405 GPIO
authorShawn Guo <shawn.guo@linaro.org>
Tue, 20 Nov 2018 05:45:22 +0000 (13:45 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 26 Nov 2018 08:13:22 +0000 (09:13 +0100)
Let's add "qcom,pms405-gpio" to match table, as commit ed80f6eb799a
("dt-bindings: pinctrl: qcom-pmic-gpio: Add pms405 support") already
adds the compatible.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c

index 4c1ff9a1d1562f05bb1bc3143b7b9cb78d4fb461..4458d44dfcf62e7d12a1031edea0c22c7535dfea 100644 (file)
@@ -1068,6 +1068,7 @@ static const struct of_device_id pmic_gpio_of_match[] = {
        { .compatible = "qcom,pm8994-gpio" },   /* 22 GPIO's */
        { .compatible = "qcom,pmi8994-gpio" },  /* 10 GPIO's */
        { .compatible = "qcom,pma8084-gpio" },  /* 22 GPIO's */
+       { .compatible = "qcom,pms405-gpio" },   /* 12 GPIO's, holes on 1 9 10 */
        { .compatible = "qcom,spmi-gpio" }, /* Generic */
        { },
 };