2022-06-24 09:39:19

by Gabriel FERNANDEZ

[permalink] [raw]
Subject: [PATCH 0/3] SCMI Update for STM32MP15 boards

From: Gabriel Fernandez <[email protected]>

Update for SCMI version of ST boards:
- delete fixed clocks because there are now provided by SCMI
- add missing SCMI impact for DSI IP on DK1/ED1 STM32 board
- fix peripheral clock for CEC

Gabriel Fernandez (3):
ARM: dts: stm32: use the correct clock source for CEC on stm32mp151
ARM: dts: stm32: DSI should use LSE SCMI clock on DK1/ED1 STM32 board
ARM: dts: stm32: delete fixed clock node on STM32MP15-SCMI

arch/arm/boot/dts/stm32mp15-scmi.dtsi | 6 ++++++
arch/arm/boot/dts/stm32mp151.dtsi | 2 +-
arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts | 4 ++++
arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts | 4 ++++
4 files changed, 15 insertions(+), 1 deletion(-)

--
2.25.1


2022-06-24 09:47:53

by Gabriel FERNANDEZ

[permalink] [raw]
Subject: [PATCH 2/3] ARM: dts: stm32: DSI should use LSE SCMI clock on DK1/ED1 STM32 board

From: Gabriel Fernandez <[email protected]>

LSE clock is provided by SCMI.

Signed-off-by: Gabriel Fernandez <[email protected]>
---
arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts | 4 ++++
arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts | 4 ++++
2 files changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts b/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts
index 36371d6ed660..e539cc80bef8 100644
--- a/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts
+++ b/arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts
@@ -29,6 +29,10 @@ &cpu1 {
clocks = <&scmi_clk CK_SCMI_MPU>;
};

+&dsi {
+ clocks = <&rcc DSI_K>, <&scmi_clk CK_SCMI_HSE>, <&rcc DSI_PX>;
+};
+
&gpioz {
clocks = <&scmi_clk CK_SCMI_GPIOZ>;
};
diff --git a/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts b/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts
index c1a79272c068..9cf0a44d2f47 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts
@@ -34,6 +34,10 @@ &cryp1 {
resets = <&scmi_reset RST_SCMI_CRYP1>;
};

+&dsi {
+ clocks = <&rcc DSI_K>, <&scmi_clk CK_SCMI_HSE>, <&rcc DSI_PX>;
+};
+
&gpioz {
clocks = <&scmi_clk CK_SCMI_GPIOZ>;
};
--
2.25.1

2022-07-01 12:06:20

by Alexandre TORGUE

[permalink] [raw]
Subject: Re: [PATCH 0/3] SCMI Update for STM32MP15 boards

Hi Gabriel

On 6/24/22 11:27, [email protected] wrote:
> From: Gabriel Fernandez <[email protected]>
>
> Update for SCMI version of ST boards:
> - delete fixed clocks because there are now provided by SCMI
> - add missing SCMI impact for DSI IP on DK1/ED1 STM32 board
> - fix peripheral clock for CEC
>
> Gabriel Fernandez (3):
> ARM: dts: stm32: use the correct clock source for CEC on stm32mp151
> ARM: dts: stm32: DSI should use LSE SCMI clock on DK1/ED1 STM32 board
> ARM: dts: stm32: delete fixed clock node on STM32MP15-SCMI
>
> arch/arm/boot/dts/stm32mp15-scmi.dtsi | 6 ++++++
> arch/arm/boot/dts/stm32mp151.dtsi | 2 +-
> arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts | 4 ++++
> arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts | 4 ++++
> 4 files changed, 15 insertions(+), 1 deletion(-)
>

Series applied in stm32-fixes.

Alex