pinctrl: qcom-pmic-gpio: Add support for pmx55
authorVinod Koul <vkoul@kernel.org>
Thu, 26 Nov 2020 09:21:51 +0000 (14:51 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Dec 2020 09:20:58 +0000 (10:20 +0100)
PM55 pmic support gpio controller so add compatible and comment for gpio
holes

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

index 17441388ce8f5f9316b9308f2e89731d0db4950d..9801c717e3117d6736b6ce92f1a57bf2ef3f8dac 100644 (file)
@@ -1129,6 +1129,8 @@ static const struct of_device_id pmic_gpio_of_match[] = {
        { .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 },
        { .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 */
+       { .compatible = "qcom,pmx55-gpio", .data = (void *) 11 },
        { },
 };