Skip to content

Commit 2dc889a

Browse files
vinodkoulLinus Walleij
authored andcommitted
dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150l support
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>
1 parent 9bdacad commit 2dc889a

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ to specify in a pin configuration subnode:
9999
gpio1-gpio10 for pm8150 (holes on gpio2, gpio5, gpio7
100100
and gpio8)
101101
gpio1-gpio12 for pm8150b (holes on gpio3, gpio4, gpio7)
102+
gpio1-gpio12 for pm8150l (hole on gpio7)
102103

103104
- function:
104105
Usage: required

‎drivers/pinctrl/qcom/pinctrl-spmi-gpio.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,6 +1161,8 @@ static const struct of_device_id pmic_gpio_of_match[] = {
11611161
{ .compatible = "qcom,pm8150-gpio", .data = (void *) 10 },
11621162
/* pm8150b has 12 GPIOs with holes on 3, r and 7 */
11631163
{ .compatible = "qcom,pm8150b-gpio", .data = (void *) 12 },
1164+
/* pm8150l has 12 GPIOs with holes on 7 */
1165+
{ .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 },
11641166
{ },
11651167
};
11661168

0 commit comments

Comments
 (0)