[PATCH V10 3/9] dt-bindings: mfd: pm8008: Add regulators

From: Satya Priya
Date: Thu Apr 14 2022 - 08:31:18 EST


Add regulators for pm8008 with example.

Signed-off-by: Satya Priya <quic_c_skakit@xxxxxxxxxxx>
---
Changes in V10:
- Add regulators under main mfd node as in DT.

Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

diff --git a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml
index 3312784..060cc35 100644
--- a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml
+++ b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml
@@ -44,6 +44,9 @@ properties:
"#size-cells":
const: 0

+ regulators:
+ $ref: "/schemas/regulator/qcom,pm8008-regulators.yaml#"
+
reset-gpios:
maxItems: 1

@@ -129,6 +132,20 @@ examples:
interrupt-controller;
#interrupt-cells = <2>;
};
+
+ regulators {
+ vdd_l1_l2-supply = <&vreg_s8b_1p2>;
+ vdd_l3_l4-supply = <&vreg_s1b_1p8>;
+ vdd_l5-supply = <&vreg_bob>;
+ vdd_l6-supply = <&vreg_bob>;
+ vdd_l7-supply = <&vreg_bob>;
+
+ ldo1 {
+ regulator-name = "pm8008_l1";
+ regulator-min-microvolt = <950000>;
+ regulator-max-microvolt = <1300000>;
+ };
+ };
};
};

--
2.7.4