regulator: qcom,spmi-regulator: add PMP8074 PMIC
authorRobert Marko <robimarko@gmail.com>
Mon, 4 Jul 2022 21:23:56 +0000 (23:23 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 11 Jul 2022 11:06:37 +0000 (12:06 +0100)
Document the PMP8074 PMIC compatible.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220704212402.1715182-6-robimarko@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml

index 06dc99b..8b7c4af 100644 (file)
@@ -23,6 +23,7 @@ properties:
       - qcom,pm8950-regulators
       - qcom,pm8994-regulators
       - qcom,pmi8994-regulators
+      - qcom,pmp8074-regulators
       - qcom,pms405-regulators
 
   qcom,saw-reg:
@@ -281,6 +282,21 @@ allOf:
         compatible:
           contains:
             enum:
+              - qcom,pmp8074-regulators
+    then:
+      properties:
+        vdd_l10_l11_l12_l13-supply: true
+        vdd_l1_l2-supply: true
+        vdd_l3_l8-supply: true
+        vdd_l5_l6_l15-supply: true
+      patternProperties:
+        "^vdd_l[479]-supply$": true
+        "^vdd_s[1-5]-supply$": true
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
               - qcom,pms405-regulators
     then:
       properties: