Message ID | 20230327152948.274743-2-valentin.caron@foss.st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ARM: dts: stm32: stm32mp15 various fixes and add stm32mp13 usart nodes | expand |
Hi Valentin On 3/27/23 17:29, Valentin Caron wrote: > On ST stm32mp15 boards, change clock of USART1 node to SCMI clock > "CK_SCMI_USART1" I'll change commit title and message as your patch doesn't target STM43MP15 boards but STM32MP15 SCMI boards. Cheers Alex > Signed-off-by: Valentin Caron <valentin.caron@foss.st.com> > --- > arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts | 4 ++++ > arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts | 4 ++++ > arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts | 4 ++++ > arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts | 4 ++++ > 4 files changed, 16 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts b/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts > index e539cc80bef8..5c8164c10e46 100644 > --- a/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts > +++ b/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts > @@ -77,3 +77,7 @@ &rng1 { > &rtc { > clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>; > }; > + > +&usart1 { > + clocks = <&scmi_clk CK_SCMI_USART1>; > +}; > diff --git a/arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts b/arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts > index 97e4f94b0a24..2c9a207a9d49 100644 > --- a/arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts > +++ b/arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts > @@ -83,3 +83,7 @@ &rng1 { > &rtc { > clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>; > }; > + > +&usart1 { > + clocks = <&scmi_clk CK_SCMI_USART1>; > +}; > diff --git a/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts b/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts > index 9cf0a44d2f47..21c8169f0e82 100644 > --- a/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts > +++ b/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts > @@ -82,3 +82,7 @@ &rng1 { > &rtc { > clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>; > }; > + > +&usart1 { > + clocks = <&scmi_clk CK_SCMI_USART1>; > +}; > diff --git a/arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts b/arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts > index 3b9dd6f4ccc9..0084abbeb60e 100644 > --- a/arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts > +++ b/arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts > @@ -88,3 +88,7 @@ &rng1 { > &rtc { > clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>; > }; > + > +&usart1 { > + clocks = <&scmi_clk CK_SCMI_USART1>; > +};
Hi Alex, I think this patch is useless. I will send you a V2 without. Thank you, Valentin On 3/28/23 14:02, Alexandre TORGUE wrote: > Hi Valentin > > On 3/27/23 17:29, Valentin Caron wrote: >> On ST stm32mp15 boards, change clock of USART1 node to SCMI clock >> "CK_SCMI_USART1" > > I'll change commit title and message as your patch doesn't target > STM43MP15 boards but STM32MP15 SCMI boards. > > Cheers > Alex > > > >> Signed-off-by: Valentin Caron <valentin.caron@foss.st.com> >> --- >> arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts | 4 ++++ >> arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts | 4 ++++ >> arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts | 4 ++++ >> arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts | 4 ++++ >> 4 files changed, 16 insertions(+) >> >> diff --git a/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts >> b/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts >> index e539cc80bef8..5c8164c10e46 100644 >> --- a/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts >> +++ b/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts >> @@ -77,3 +77,7 @@ &rng1 { >> &rtc { >> clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>; >> }; >> + >> +&usart1 { >> + clocks = <&scmi_clk CK_SCMI_USART1>; >> +}; >> diff --git a/arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts >> b/arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts >> index 97e4f94b0a24..2c9a207a9d49 100644 >> --- a/arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts >> +++ b/arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts >> @@ -83,3 +83,7 @@ &rng1 { >> &rtc { >> clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>; >> }; >> + >> +&usart1 { >> + clocks = <&scmi_clk CK_SCMI_USART1>; >> +}; >> diff --git a/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts >> b/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts >> index 9cf0a44d2f47..21c8169f0e82 100644 >> --- a/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts >> +++ b/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts >> @@ -82,3 +82,7 @@ &rng1 { >> &rtc { >> clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>; >> }; >> + >> +&usart1 { >> + clocks = <&scmi_clk CK_SCMI_USART1>; >> +}; >> diff --git a/arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts >> b/arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts >> index 3b9dd6f4ccc9..0084abbeb60e 100644 >> --- a/arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts >> +++ b/arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts >> @@ -88,3 +88,7 @@ &rng1 { >> &rtc { >> clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>; >> }; >> + >> +&usart1 { >> + clocks = <&scmi_clk CK_SCMI_USART1>; >> +}; >
diff --git a/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts b/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts index e539cc80bef8..5c8164c10e46 100644 --- a/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts +++ b/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts @@ -77,3 +77,7 @@ &rng1 { &rtc { clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>; }; + +&usart1 { + clocks = <&scmi_clk CK_SCMI_USART1>; +}; diff --git a/arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts b/arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts index 97e4f94b0a24..2c9a207a9d49 100644 --- a/arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts +++ b/arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts @@ -83,3 +83,7 @@ &rng1 { &rtc { clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>; }; + +&usart1 { + clocks = <&scmi_clk CK_SCMI_USART1>; +}; diff --git a/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts b/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts index 9cf0a44d2f47..21c8169f0e82 100644 --- a/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts +++ b/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts @@ -82,3 +82,7 @@ &rng1 { &rtc { clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>; }; + +&usart1 { + clocks = <&scmi_clk CK_SCMI_USART1>; +}; diff --git a/arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts b/arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts index 3b9dd6f4ccc9..0084abbeb60e 100644 --- a/arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts +++ b/arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts @@ -88,3 +88,7 @@ &rng1 { &rtc { clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>; }; + +&usart1 { + clocks = <&scmi_clk CK_SCMI_USART1>; +};
On ST stm32mp15 boards, change clock of USART1 node to SCMI clock "CK_SCMI_USART1" Signed-off-by: Valentin Caron <valentin.caron@foss.st.com> --- arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts | 4 ++++ arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts | 4 ++++ arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts | 4 ++++ arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts | 4 ++++ 4 files changed, 16 insertions(+)