Skip to content

Commit 21c93a9

Browse files
flamingradianbroonie
authored andcommitted
regulator: qcom,rpmh: add pm660 and pm660l pmics
The SDM670 uses RPMh for managing the PM660 and PM660L. Document RPMh support for the PMIC. Link: https://android.googlesource.com/kernel/msm/+/58064f13c0a436a82c35f2e3b5a122d874ae5846%5E%21/#F0 Signed-off-by: Richard Acayan <mailingradian@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220920223331.150635-2-mailingradian@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 911ce7c commit 21c93a9

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ description: |
3737
For PM6150, smps1 - smps5, ldo1 - ldo19
3838
For PM6150L, smps1 - smps8, ldo1 - ldo11, bob
3939
For PM6350, smps1 - smps5, ldo1 - ldo22
40+
For PM660, smps1 - smps6, ldo1 - ldo3, ldo5 - ldo19
41+
For PM660L, smps1 - smps3, smps5, ldo1 - ldo8, bob
4042
For PM7325, smps1 - smps8, ldo1 - ldo19
4143
For PM8005, smps1 - smps4
4244
For PM8009, smps1 - smps2, ldo1 - ldo7
@@ -57,6 +59,8 @@ properties:
5759
- qcom,pm6150-rpmh-regulators
5860
- qcom,pm6150l-rpmh-regulators
5961
- qcom,pm6350-rpmh-regulators
62+
- qcom,pm660-rpmh-regulators
63+
- qcom,pm660l-rpmh-regulators
6064
- qcom,pm7325-rpmh-regulators
6165
- qcom,pm8005-rpmh-regulators
6266
- qcom,pm8009-rpmh-regulators
@@ -148,6 +152,38 @@ allOf:
148152
patternProperties:
149153
"^vdd-s[1-8]-supply$": true
150154

155+
- if:
156+
properties:
157+
compatible:
158+
enum:
159+
- qcom,pm660-rpmh-regulators
160+
then:
161+
properties:
162+
vdd-l1-l6-l7-supply: true
163+
vdd-l2-l3-supply: true
164+
vdd-l5-supply: true
165+
vdd-l8-l9-l10-l11-l12-l13-l14-supply: true
166+
vdd-l15-l16-l17-l18-l19-supply: true
167+
patternProperties:
168+
"^vdd-s[1-6]-supply$": true
169+
170+
- if:
171+
properties:
172+
compatible:
173+
enum:
174+
- qcom,pm660l-rpmh-regulators
175+
then:
176+
properties:
177+
vdd-bob-supply:
178+
description: BOB regulator parent supply phandle.
179+
vdd-l1-l9-l10-supply: true
180+
vdd-l2-supply: true
181+
vdd-l3-l5-l7-l8-supply: true
182+
vdd-l4-l6-supply: true
183+
vdd-s3-s4-supply: true
184+
patternProperties:
185+
"^vdd-s[125]-supply$": true
186+
151187
- if:
152188
properties:
153189
compatible:

0 commit comments

Comments
 (0)