Skip to content

Commit 902f8c9

Browse files
krzkbroonie
authored andcommitted
regulator: dt-bindings: qcom,rpmh: Correct PM8550 family supplies
PM8550 is different than PM8550VE/VS, because the latter has much smaller amount of supplies (l1-3 and s1-6) and regulators. The PM8550 has on the other hand one pin for vdd-l1-l4-l10 supplies. Correct the if:then: clause with their supplies. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Abel Vesa <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent d877cad commit 902f8c9

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

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

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,19 +329,29 @@ allOf:
329329
compatible:
330330
enum:
331331
- qcom,pm8550-rpmh-regulators
332-
- qcom,pm8550ve-rpmh-regulators
333-
- qcom,pm8550vs-rpmh-regulators
334332
then:
335333
properties:
334+
vdd-l1-l4-l10-supply: true
336335
vdd-l2-l13-l14-supply: true
337336
vdd-l5-l16-supply: true
338337
vdd-l6-l7-supply: true
339338
vdd-l8-l9-supply: true
340339
patternProperties:
341-
"^vdd-l([1-4]|1[0-7])-supply$": true
340+
"^vdd-l(3|1[1-7])-supply$": true
342341
"^vdd-s[1-6]-supply$": true
343342
"^vdd-bob[1-2]-supply$": true
344343

344+
- if:
345+
properties:
346+
compatible:
347+
enum:
348+
- qcom,pm8550ve-rpmh-regulators
349+
- qcom,pm8550vs-rpmh-regulators
350+
then:
351+
patternProperties:
352+
"^vdd-l[1-3]-supply$": true
353+
"^vdd-s[1-6]-supply$": true
354+
345355
- if:
346356
properties:
347357
compatible:

0 commit comments

Comments
 (0)