diff mbox series

[1/6] ARM: dts: stm32mp1: explicit clock reference needed by RCC clock driver

Message ID 20210224111907.1.I9565e66593bf785bf3616f10c76b168a87acaf77@changeid
State Accepted
Commit 3d15245502c4bc069c1a9d0268dbe5e833c529e2
Delegated to: Patrice Chotard
Headers show
Series stm32mp1_trusted_defconfig rely on SCMI support | expand

Commit Message

Patrick DELAUNAY Feb. 24, 2021, 10:19 a.m. UTC
From: Etienne Carriere <etienne.carriere@st.com>

Define in the RCC clock provider node which root clocks the driver
depends on. These are root oscillators, which may be present or
not, upon FDT content.

This update binding is introduced in Linux kernel device tree by patch
"ARM: dts: stm32: move clocks/resets to SCMI resources for stm32mp15"

This patch is a preliminary step for SCMI support of stm32mp15
boards with trusted boot chain, based on TF-A or OP-TEE.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
---

Reference:

https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210126090120.19900-13-gabriel.fernandez@foss.st.com/


 arch/arm/dts/stm32mp151.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Patrice CHOTARD March 9, 2021, 12:57 p.m. UTC | #1
Hi Patrick

On 2/24/21 11:19 AM, Patrick Delaunay wrote:
> From: Etienne Carriere <etienne.carriere@st.com>
> 
> Define in the RCC clock provider node which root clocks the driver
> depends on. These are root oscillators, which may be present or
> not, upon FDT content.
> 
> This update binding is introduced in Linux kernel device tree by patch
> "ARM: dts: stm32: move clocks/resets to SCMI resources for stm32mp15"
> 
> This patch is a preliminary step for SCMI support of stm32mp15
> boards with trusted boot chain, based on TF-A or OP-TEE.
> 
> Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
> 
> Reference:
> 
> https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210126090120.19900-13-gabriel.fernandez@foss.st.com/
> 
> 
>  arch/arm/dts/stm32mp151.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/dts/stm32mp151.dtsi b/arch/arm/dts/stm32mp151.dtsi
> index eedea6f4b8..b564fc6269 100644
> --- a/arch/arm/dts/stm32mp151.dtsi
> +++ b/arch/arm/dts/stm32mp151.dtsi
> @@ -1136,6 +1136,10 @@
>  			reg = <0x50000000 0x1000>;
>  			#clock-cells = <1>;
>  			#reset-cells = <1>;
> +
> +			clock-names = "hse", "hsi", "csi", "lse", "lsi";
> +			clocks = <&clk_hse>, <&clk_hsi>, <&clk_csi>,
> +				 <&clk_lse>, <&clk_lsi>;
>  		};
>  
>  		pwr_regulators: pwr@50001000 {
> 

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Patrice CHOTARD March 12, 2021, 12:24 p.m. UTC | #2
HI

On 3/9/21 1:57 PM, Patrice CHOTARD wrote:
> Hi Patrick
> 
> On 2/24/21 11:19 AM, Patrick Delaunay wrote:
>> From: Etienne Carriere <etienne.carriere@st.com>
>>
>> Define in the RCC clock provider node which root clocks the driver
>> depends on. These are root oscillators, which may be present or
>> not, upon FDT content.
>>
>> This update binding is introduced in Linux kernel device tree by patch
>> "ARM: dts: stm32: move clocks/resets to SCMI resources for stm32mp15"
>>
>> This patch is a preliminary step for SCMI support of stm32mp15
>> boards with trusted boot chain, based on TF-A or OP-TEE.
>>
>> Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
>> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
>> ---
>>
>> Reference:
>>
>> https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210126090120.19900-13-gabriel.fernandez@foss.st.com/
>>
>>
>>  arch/arm/dts/stm32mp151.dtsi | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/arch/arm/dts/stm32mp151.dtsi b/arch/arm/dts/stm32mp151.dtsi
>> index eedea6f4b8..b564fc6269 100644
>> --- a/arch/arm/dts/stm32mp151.dtsi
>> +++ b/arch/arm/dts/stm32mp151.dtsi
>> @@ -1136,6 +1136,10 @@
>>  			reg = <0x50000000 0x1000>;
>>  			#clock-cells = <1>;
>>  			#reset-cells = <1>;
>> +
>> +			clock-names = "hse", "hsi", "csi", "lse", "lsi";
>> +			clocks = <&clk_hse>, <&clk_hsi>, <&clk_csi>,
>> +				 <&clk_lse>, <&clk_lsi>;
>>  		};
>>  
>>  		pwr_regulators: pwr@50001000 {
>>
> 
> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
> 
Applied to u-boot-stm/next

Thanks

Patrice
Patrice CHOTARD March 12, 2021, 12:24 p.m. UTC | #3
HI

On 3/9/21 1:57 PM, Patrice CHOTARD wrote:
> Hi Patrick
> 
> On 2/24/21 11:19 AM, Patrick Delaunay wrote:
>> From: Etienne Carriere <etienne.carriere@st.com>
>>
>> Define in the RCC clock provider node which root clocks the driver
>> depends on. These are root oscillators, which may be present or
>> not, upon FDT content.
>>
>> This update binding is introduced in Linux kernel device tree by patch
>> "ARM: dts: stm32: move clocks/resets to SCMI resources for stm32mp15"
>>
>> This patch is a preliminary step for SCMI support of stm32mp15
>> boards with trusted boot chain, based on TF-A or OP-TEE.
>>
>> Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
>> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
>> ---
>>
>> Reference:
>>
>> https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210126090120.19900-13-gabriel.fernandez@foss.st.com/
>>
>>
>>  arch/arm/dts/stm32mp151.dtsi | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/arch/arm/dts/stm32mp151.dtsi b/arch/arm/dts/stm32mp151.dtsi
>> index eedea6f4b8..b564fc6269 100644
>> --- a/arch/arm/dts/stm32mp151.dtsi
>> +++ b/arch/arm/dts/stm32mp151.dtsi
>> @@ -1136,6 +1136,10 @@
>>  			reg = <0x50000000 0x1000>;
>>  			#clock-cells = <1>;
>>  			#reset-cells = <1>;
>> +
>> +			clock-names = "hse", "hsi", "csi", "lse", "lsi";
>> +			clocks = <&clk_hse>, <&clk_hsi>, <&clk_csi>,
>> +				 <&clk_lse>, <&clk_lsi>;
>>  		};
>>  
>>  		pwr_regulators: pwr@50001000 {
>>
> 
> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
> 
Applied to u-boot-stm/next

Thanks

Patrice
diff mbox series

Patch

diff --git a/arch/arm/dts/stm32mp151.dtsi b/arch/arm/dts/stm32mp151.dtsi
index eedea6f4b8..b564fc6269 100644
--- a/arch/arm/dts/stm32mp151.dtsi
+++ b/arch/arm/dts/stm32mp151.dtsi
@@ -1136,6 +1136,10 @@ 
 			reg = <0x50000000 0x1000>;
 			#clock-cells = <1>;
 			#reset-cells = <1>;
+
+			clock-names = "hse", "hsi", "csi", "lse", "lsi";
+			clocks = <&clk_hse>, <&clk_hsi>, <&clk_csi>,
+				 <&clk_lse>, <&clk_lsi>;
 		};
 
 		pwr_regulators: pwr@50001000 {