Skip to content

Commit b587c30

Browse files
I-n-o-klinusw
authored andcommitted
dt-bindings: pinctrl: qcom-pmic-gpio: Add support for pm6150/pm6150l
Add support for the PM6150 and PM6150L GPIO support to the Qualcomm PMIC GPIO binding. Signed-off-by: Kiran Gunda <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Bjorn Andersson <[email protected]> Reviewed-by: Vinod Koul <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent b475764 commit b587c30

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ PMIC's from Qualcomm.
2323
"qcom,pms405-gpio"
2424
"qcom,pm8150-gpio"
2525
"qcom,pm8150b-gpio"
26+
"qcom,pm6150-gpio"
27+
"qcom,pm6150l-gpio"
2628

2729
And must contain either "qcom,spmi-gpio" or "qcom,ssbi-gpio"
2830
if the device is on an spmi bus or an ssbi bus respectively
@@ -100,6 +102,8 @@ to specify in a pin configuration subnode:
100102
and gpio8)
101103
gpio1-gpio12 for pm8150b (holes on gpio3, gpio4, gpio7)
102104
gpio1-gpio12 for pm8150l (hole on gpio7)
105+
gpio1-gpio10 for pm6150
106+
gpio1-gpio12 for pm6150l
103107

104108
- function:
105109
Usage: required

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,6 +1121,8 @@ static const struct of_device_id pmic_gpio_of_match[] = {
11211121
{ .compatible = "qcom,pm8150b-gpio", .data = (void *) 12 },
11221122
/* pm8150l has 12 GPIOs with holes on 7 */
11231123
{ .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 },
1124+
{ .compatible = "qcom,pm6150-gpio", .data = (void *) 10 },
1125+
{ .compatible = "qcom,pm6150l-gpio", .data = (void *) 12 },
11241126
{ },
11251127
};
11261128

0 commit comments

Comments
 (0)