pinctrl: qcom: spmi-gpio: Add pm6125 compatible
authorMarijn Suijten <marijn.suijten@somainline.org>
Wed, 11 May 2022 22:06:09 +0000 (00:06 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 19 May 2022 12:52:10 +0000 (14:52 +0200)
The pm6125 has 9 GPIOs with no holes inbetween.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220511220613.1015472-4-marijn.suijten@somainline.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c

index a0c45b30598136b69bd99a1b8459a56726662b22..fd5fff9adff083e64b734253f4c65b3902035266 100644 (file)
@@ -1146,6 +1146,7 @@ static const struct of_device_id pmic_gpio_of_match[] = {
        { .compatible = "qcom,pm660-gpio", .data = (void *) 13 },
        /* pm660l has 12 GPIOs with holes on 1, 2, 10, 11 and 12 */
        { .compatible = "qcom,pm660l-gpio", .data = (void *) 12 },
+       { .compatible = "qcom,pm6125-gpio", .data = (void *) 9 },
        { .compatible = "qcom,pm6150-gpio", .data = (void *) 10 },
        { .compatible = "qcom,pm6150l-gpio", .data = (void *) 12 },
        { .compatible = "qcom,pm6350-gpio", .data = (void *) 9 },