Skip to content

Commit 6f20872

Browse files
stephan-ghbroonie
authored andcommitted
dt-bindings: regulator: qcom,spmi: Document PM8909
Document the qcom,pm8909-regulators compatible together with the necessary supply properties to allow interfacing via the hardware regulator registers directly via SPMI. This is mainly intended for debugging since the regulators are typically controlled via the RPM firmware (qcom,rpm-pm8909-regulators compatible). Signed-off-by: Stephan Gerhold <stephan.gerhold@kernkonzept.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230912-spmi-pm8909-v1-1-ba4b3bfaf87d@gerhold.net Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 4a710a0 commit 6f20872

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
@@ -19,6 +19,7 @@ properties:
1919
- qcom,pm8005-regulators
2020
- qcom,pm8226-regulators
2121
- qcom,pm8841-regulators
22+
- qcom,pm8909-regulators
2223
- qcom,pm8916-regulators
2324
- qcom,pm8941-regulators
2425
- qcom,pm8950-regulators
@@ -206,6 +207,24 @@ allOf:
206207
patternProperties:
207208
"^vdd_s[1-8]-supply$": true
208209

210+
- if:
211+
properties:
212+
compatible:
213+
contains:
214+
enum:
215+
- qcom,pm8909-regulators
216+
then:
217+
properties:
218+
vdd_s1-supply: true
219+
vdd_s2-supply: true
220+
vdd_l1-supply: true
221+
vdd_l2_l5-supply: true
222+
vdd_l3_l6_l10-supply: true
223+
vdd_l4_l7-supply: true
224+
vdd_l8_l11_l15_l18-supply: true
225+
vdd_l9_l12_l14_l17-supply: true
226+
vdd_l13-supply: true
227+
209228
- if:
210229
properties:
211230
compatible:

0 commit comments

Comments
 (0)