pinctrl: qcom: spmi-gpio: Add support for PM8350 and friends
authorVinod Koul <vkoul@kernel.org>
Mon, 8 Mar 2021 16:48:45 +0000 (22:18 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Mar 2021 15:36:44 +0000 (16:36 +0100)
Add support for the PM8350, PM8350B, PM8350C, PMK8350, PMR735A and
PMR735B GPIO support to the Qualcomm PMIC GPIO driver.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210308164845.3210393-2-vkoul@kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c

index 9801c71..c2b9f2e 100644 (file)
@@ -1127,6 +1127,12 @@ static const struct of_device_id pmic_gpio_of_match[] = {
        { .compatible = "qcom,pm8150b-gpio", .data = (void *) 12 },
        /* pm8150l has 12 GPIOs with holes on 7 */
        { .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 },
+       { .compatible = "qcom,pm8350-gpio", .data = (void *) 10 },
+       { .compatible = "qcom,pm8350b-gpio", .data = (void *) 8 },
+       { .compatible = "qcom,pm8350c-gpio", .data = (void *) 9 },
+       { .compatible = "qcom,pmk8350-gpio", .data = (void *) 4 },
+       { .compatible = "qcom,pmr735a-gpio", .data = (void *) 4 },
+       { .compatible = "qcom,pmr735b-gpio", .data = (void *) 4 },
        { .compatible = "qcom,pm6150-gpio", .data = (void *) 10 },
        { .compatible = "qcom,pm6150l-gpio", .data = (void *) 12 },
        /* pmx55 has 11 GPIOs with holes on 3, 7, 10, 11 */