2022-04-15 11:58:23

by Satya Priya

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

Add regulators for pm8008 with example.

Signed-off-by: Satya Priya <[email protected]>
---
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


2022-04-21 09:18:28

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH V10 3/9] dt-bindings: mfd: pm8008: Add regulators

On Thu, 14 Apr 2022 18:00:12 +0530, Satya Priya wrote:
> Add regulators for pm8008 with example.
>
> Signed-off-by: Satya Priya <[email protected]>
> ---
> 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(+)
>

Reviewed-by: Rob Herring <[email protected]>