Skip to content

Commit 638baab

Browse files
Fenglin Wubroonie
authored andcommitted
regulator: dt-bindings: qcom,rpmh: add compatible for pm8010
Add compatible for PM8010 RPMH regulators present on sm8550-qrd and sm8550-mtp boards. Suggested-by: David Collins <quic_collinsd@quicinc.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Fenglin Wu <quic_fenglinw@quicinc.com> Link: https://msgid.link/r/20231214-pm8010-regulator-v2-2-82131df6b97b@quicinc.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 27591ea commit 638baab

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ description: |
4242
For PM7325, smps1 - smps8, ldo1 - ldo19
4343
For PM8005, smps1 - smps4
4444
For PM8009, smps1 - smps2, ldo1 - ldo7
45+
For PM8010, ldo1 - ldo7
4546
For PM8150, smps1 - smps10, ldo1 - ldo18
4647
For PM8150L, smps1 - smps8, ldo1 - ldo11, bob, flash, rgb
4748
For PM8350, smps1 - smps12, ldo1 - ldo10
@@ -68,6 +69,7 @@ properties:
6869
- qcom,pm8005-rpmh-regulators
6970
- qcom,pm8009-rpmh-regulators
7071
- qcom,pm8009-1-rpmh-regulators
72+
- qcom,pm8010-rpmh-regulators
7173
- qcom,pm8150-rpmh-regulators
7274
- qcom,pm8150l-rpmh-regulators
7375
- qcom,pm8350-rpmh-regulators
@@ -238,6 +240,18 @@ allOf:
238240
"^vdd-l[1-47]-supply$": true
239241
"^vdd-s[1-2]-supply$": true
240242

243+
- if:
244+
properties:
245+
compatible:
246+
enum:
247+
- qcom,pm8010-rpmh-regulators
248+
then:
249+
properties:
250+
vdd-l1-l2-supply: true
251+
vdd-l3-l4-supply: true
252+
patternProperties:
253+
"^vdd-l[5-7]-supply$": true
254+
241255
- if:
242256
properties:
243257
compatible:

0 commit comments

Comments
 (0)