Skip to content

Commit f2b003c

Browse files
Danct12broonie
authored andcommitted
dt-bindings: regulator: qcom,spmi-regulator: Document PM8937 PMIC
Add support for qcom,pm8937-regulators compatible string and add relevant supplies in QCOM's SPMI regulator documentation. Signed-off-by: Dang Huynh <danct12@riseup.net> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20231106-pm8937-v1-4-ec51d9eeec53@riseup.net Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent c0d6b2a commit f2b003c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ properties:
2222
- qcom,pm8841-regulators
2323
- qcom,pm8909-regulators
2424
- qcom,pm8916-regulators
25+
- qcom,pm8937-regulators
2526
- qcom,pm8941-regulators
2627
- qcom,pm8950-regulators
2728
- qcom,pm8994-regulators
@@ -291,6 +292,24 @@ allOf:
291292
patternProperties:
292293
"^vdd_s[1-3]-supply$": true
293294

295+
- if:
296+
properties:
297+
compatible:
298+
contains:
299+
enum:
300+
- qcom,pm8937-regulators
301+
then:
302+
properties:
303+
vdd_l1_l19-supply: true
304+
vdd_l20_l21-supply: true
305+
vdd_l2_l23-supply: true
306+
vdd_l3-supply: true
307+
vdd_l4_l5_l6_l7_l16-supply: true
308+
vdd_l8_l11_l12_l17_l22-supply: true
309+
vdd_l9_l10_l13_l14_l15_l18-supply: true
310+
patternProperties:
311+
"^vdd_s[1-6]-supply$": true
312+
294313
- if:
295314
properties:
296315
compatible:

0 commit comments

Comments
 (0)