]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150l support
authorVinod Koul <vkoul@kernel.org>
Wed, 14 Aug 2019 12:35:12 +0000 (18:05 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Aug 2019 07:59:55 +0000 (09:59 +0200)
Add support for the PM8150l GPIO support to the Qualcomm PMIC GPIO
binding.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20190814123512.6017-3-vkoul@kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c

index 457459d17e79f7ad05264d1f0f37edffc60c4117..c32bf323754515d052461c9e94a4f45e6d110508 100644 (file)
@@ -99,6 +99,7 @@ to specify in a pin configuration subnode:
                    gpio1-gpio10 for pm8150 (holes on gpio2, gpio5, gpio7
                                             and gpio8)
                    gpio1-gpio12 for pm8150b (holes on gpio3, gpio4, gpio7)
+                   gpio1-gpio12 for pm8150l (hole on gpio7)
 
 - function:
        Usage: required
index af0758ad41fb22c8765157c3513326aad7d9d9d6..6a6b41444234d27afa4208f785ea4b252f960180 100644 (file)
@@ -1161,6 +1161,8 @@ static const struct of_device_id pmic_gpio_of_match[] = {
        { .compatible = "qcom,pm8150-gpio", .data = (void *) 10 },
        /* pm8150b has 12 GPIOs with holes on 3, r and 7 */
        { .compatible = "qcom,pm8150b-gpio", .data = (void *) 12 },
+       /* pm8150l has 12 GPIOs with holes on 7 */
+       { .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 },
        { },
 };