diff mbox series

[2/2] ARM: dts: stm32: osd32: move pwr_regulators to common

Message ID 20240522082332.2471337-2-sean@geanix.com (mailing list archive)
State New, archived
Headers show
Series [1/2] ARM: dts: stm32: osd32: move usb phy power to common | expand

Commit Message

Sean Nyekjaer May 22, 2024, 8:23 a.m. UTC
According to the OSD32MP1 Power System overview[1] pwr_regulators;
vdd-supply and vdd_3v3_usbfs-supply are hard-wired internally in
the SIP module to vdd and ldo4.

[1]:
https://octavosystems.com/app_notes/osd32mp1-power-system-overview/#connections

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
---
 arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts | 5 -----
 arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi     | 5 -----
 arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi       | 5 +++++
 3 files changed, 5 insertions(+), 10 deletions(-)

Comments

Alexandre TORGUE June 5, 2024, 8:49 a.m. UTC | #1
Hi Sean

On 5/22/24 10:23, Sean Nyekjaer wrote:
> According to the OSD32MP1 Power System overview[1] pwr_regulators;
> vdd-supply and vdd_3v3_usbfs-supply are hard-wired internally in
> the SIP module to vdd and ldo4.
> 
> [1]:
> https://octavosystems.com/app_notes/osd32mp1-power-system-overview/#connections
> 
> Signed-off-by: Sean Nyekjaer <sean@geanix.com>
> ---

Both patches applied on stm32-next.

Regards
Alex

>   arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts | 5 -----
>   arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi     | 5 -----
>   arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi       | 5 +++++
>   3 files changed, 5 insertions(+), 10 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts b/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts
> index 854dfecd801f..36e6055b5665 100644
> --- a/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts
> +++ b/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts
> @@ -147,11 +147,6 @@ &m_can1 {
>   	status = "okay";
>   };
>   
> -&pwr_regulators {
> -	vdd-supply = <&vdd>;
> -	vdd_3v3_usbfs-supply = <&vdd_usb>;
> -};
> -
>   &rtc {
>   	status = "okay";
>   };
> diff --git a/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi b/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi
> index aa28043c30fb..c87fd96cbd91 100644
> --- a/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi
> +++ b/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi
> @@ -379,11 +379,6 @@ regulators {
>   	};
>   };
>   
> -&pwr_regulators {
> -	vdd-supply = <&vdd>;
> -	vdd_3v3_usbfs-supply = <&vdd_usb>;
> -};
> -
>   &rtc {
>   	status = "okay";
>   };
> diff --git a/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi b/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi
> index ae01e7a5339e..2022a1fa31ca 100644
> --- a/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi
> +++ b/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi
> @@ -215,6 +215,11 @@ &rng1 {
>   	status = "okay";
>   };
>   
> +&pwr_regulators {
> +	vdd-supply = <&vdd>;
> +	vdd_3v3_usbfs-supply = <&vdd_usb>;
> +};
> +
>   &usbphyc_port0 {
>   	phy-supply = <&vdd_usb>;
>   };
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts b/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts
index 854dfecd801f..36e6055b5665 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts
@@ -147,11 +147,6 @@  &m_can1 {
 	status = "okay";
 };
 
-&pwr_regulators {
-	vdd-supply = <&vdd>;
-	vdd_3v3_usbfs-supply = <&vdd_usb>;
-};
-
 &rtc {
 	status = "okay";
 };
diff --git a/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi b/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi
index aa28043c30fb..c87fd96cbd91 100644
--- a/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi
@@ -379,11 +379,6 @@  regulators {
 	};
 };
 
-&pwr_regulators {
-	vdd-supply = <&vdd>;
-	vdd_3v3_usbfs-supply = <&vdd_usb>;
-};
-
 &rtc {
 	status = "okay";
 };
diff --git a/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi b/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi
index ae01e7a5339e..2022a1fa31ca 100644
--- a/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi
@@ -215,6 +215,11 @@  &rng1 {
 	status = "okay";
 };
 
+&pwr_regulators {
+	vdd-supply = <&vdd>;
+	vdd_3v3_usbfs-supply = <&vdd_usb>;
+};
+
 &usbphyc_port0 {
 	phy-supply = <&vdd_usb>;
 };