diff mbox series

[03/23] ARM: dts: qcom: apq8064-ifc6410: pull ext-3p3v regulator from soc node

Message ID 20220930185236.867655-4-dmitry.baryshkov@linaro.org (mailing list archive)
State Accepted
Headers show
Series ARM: dts: qcom: rework DT for apq8064, msm8960 and msm8660 | expand

Commit Message

Dmitry Baryshkov Sept. 30, 2022, 6:52 p.m. UTC
The ext 3.3V regulator is not part of the SoC, so pull it from the SoC
node.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

Comments

Neil Armstrong Oct. 3, 2022, 4:14 p.m. UTC | #1
On 30/09/2022 20:52, Dmitry Baryshkov wrote:
> The ext 3.3V regulator is not part of the SoC, so pull it from the SoC
> node.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
>   arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 22 ++++++++++------------
>   1 file changed, 10 insertions(+), 12 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
> index 50792f06855e..f718b37192e9 100644
> --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
> +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
> @@ -57,18 +57,16 @@ hdmi_con: endpoint {
>   		};
>   	};
>   
> -	soc {
> -		ext_3p3v: regulator-fixed@1 {
> -			compatible = "regulator-fixed";
> -			regulator-min-microvolt = <3300000>;
> -			regulator-max-microvolt = <3300000>;
> -			regulator-name = "ext_3p3v";
> -			regulator-type = "voltage";
> -			startup-delay-us = <0>;
> -			gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
> -			enable-active-high;
> -			regulator-boot-on;
> -		};
> +	ext_3p3v: regulator-ext-3p3v {
> +		compatible = "regulator-fixed";
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +		regulator-name = "ext_3p3v";
> +		regulator-type = "voltage";
> +		startup-delay-us = <0>;
> +		gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
> +		enable-active-high;
> +		regulator-boot-on;
>   	};
>   };
>   

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index 50792f06855e..f718b37192e9 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -57,18 +57,16 @@  hdmi_con: endpoint {
 		};
 	};
 
-	soc {
-		ext_3p3v: regulator-fixed@1 {
-			compatible = "regulator-fixed";
-			regulator-min-microvolt = <3300000>;
-			regulator-max-microvolt = <3300000>;
-			regulator-name = "ext_3p3v";
-			regulator-type = "voltage";
-			startup-delay-us = <0>;
-			gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
-			enable-active-high;
-			regulator-boot-on;
-		};
+	ext_3p3v: regulator-ext-3p3v {
+		compatible = "regulator-fixed";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-name = "ext_3p3v";
+		regulator-type = "voltage";
+		startup-delay-us = <0>;
+		gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
+		enable-active-high;
+		regulator-boot-on;
 	};
 };