aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml
diff options
context:
space:
mode:
authorIskren Chernev <iskren.chernev@gmail.com>2022-08-03 01:11:01 +0300
committerMark Brown <broonie@kernel.org>2022-08-23 18:07:49 +0100
commit5b2a085baaa15d04396889228f1e11d2cb86b916 (patch)
treed999ac6b5819b2ac118a79d12493d0d7bbccfad5 /Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml
parentregulator: qcom_spmi: Improve formatting of if-then blocks (diff)
downloadwireguard-linux-5b2a085baaa15d04396889228f1e11d2cb86b916.tar.xz
wireguard-linux-5b2a085baaa15d04396889228f1e11d2cb86b916.zip
regulator: qcom_spmi: Document PM6125 PMIC
Add support for pm6125 compatible string and add relevant supplies in QCom SPMI regulator documentation. Signed-off-by: Adam Skladowski <a39.skl@gmail.com> Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220802221112.2280686-3-iskren.chernev@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml')
-rw-r--r--Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml
index da644c161e99..24108d0e4c4e 100644
--- a/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml
@@ -12,6 +12,7 @@ maintainers:
properties:
compatible:
enum:
+ - qcom,pm6125-regulators
- qcom,pm660-regulators
- qcom,pm660l-regulators
- qcom,pm8004-regulators
@@ -111,6 +112,25 @@ allOf:
compatible:
contains:
enum:
+ - qcom,pm6125-regulators
+ then:
+ properties:
+ vdd_l1_l7_l17_l18-supply: true
+ vdd_l2_l3_l4-supply: true
+ vdd_l5_l15_l19_l20_l21_l22-supply: true
+ vdd_l6_l8-supply: true
+ vdd_l9_l11-supply: true
+ vdd_l10_l13_l14-supply: true
+ vdd_l12_l16-supply: true
+ vdd_l23_l24-supply: true
+ patternProperties:
+ "^vdd_s[1-8]-supply$": true
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
- qcom,pm660-regulators
then:
properties: