pinctrl: qcom-pmic-gpio: Add support for pm8008
authorGuru Das Srinagesh <gurus@codeaurora.org>
Thu, 8 Apr 2021 17:25:07 +0000 (10:25 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 8 Apr 2021 21:48:34 +0000 (23:48 +0200)
Add support for the two GPIOs present on Qualcomm Technologies, Inc.
PM8008.

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
Link: https://lore.kernel.org/r/129d241ee510e28536d35dbfeee75474e12d8d22.1617901945.git.gurus@codeaurora.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c

index c2b9f2e152bb4aa5470664cbae8c7529d4a09aed..00870da0c94e43a7550e8754e5c68aa067f8ed7d 100644 (file)
@@ -1135,6 +1135,7 @@ static const struct of_device_id pmic_gpio_of_match[] = {
        { .compatible = "qcom,pmr735b-gpio", .data = (void *) 4 },
        { .compatible = "qcom,pm6150-gpio", .data = (void *) 10 },
        { .compatible = "qcom,pm6150l-gpio", .data = (void *) 12 },
+       { .compatible = "qcom,pm8008-gpio", .data = (void *) 2 },
        /* pmx55 has 11 GPIOs with holes on 3, 7, 10, 11 */
        { .compatible = "qcom,pmx55-gpio", .data = (void *) 11 },
        { },