pinctrl: qcom-pmic-gpio: add support for PMP8074
authorRobert Marko <robimarko@gmail.com>
Mon, 11 Jul 2022 20:34:05 +0000 (22:34 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 18 Jul 2022 09:38:37 +0000 (11:38 +0200)
PMP8074 has 12 GPIO-s with holes on GPIO1 and GPIO12.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Link: https://lore.kernel.org/r/20220711203408.2949888-4-robimarko@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c

index f230b89..884a57c 100644 (file)
@@ -1181,6 +1181,8 @@ static const struct of_device_id pmic_gpio_of_match[] = {
        { .compatible = "qcom,pmi8998-gpio", .data = (void *) 14 },
        { .compatible = "qcom,pmk8350-gpio", .data = (void *) 4 },
        { .compatible = "qcom,pmm8155au-gpio", .data = (void *) 10 },
+       /* pmp8074 has 12 GPIOs with holes on 1 and 12 */
+       { .compatible = "qcom,pmp8074-gpio", .data = (void *) 12 },
        { .compatible = "qcom,pmr735a-gpio", .data = (void *) 4 },
        { .compatible = "qcom,pmr735b-gpio", .data = (void *) 4 },
        /* pms405 has 12 GPIOs with holes on 1, 9, and 10 */