[PATCH] ARM: dts: stm32mp13: Add support of ck_usbo_48m in pre-reloc stage

Patrice CHOTARD patrice.chotard at foss.st.com
Fri Jan 31 09:04:48 CET 2025



On 1/8/25 19:51, Patrick DELAUNAY wrote:
> Hi,
> 
> On 11/29/24 13:33, Patrice Chotard wrote:
>> From: Patrick Delaunay <patrick.delaunay at foss.st.com>
>>
>> The clock ck_usbo_48m is a clock source for RCC, so the ck_usbo_48m
>> clock provided by usbphyc need to be probed when RCC clock driver is
>> required, in pre-reloc stage.
>>
>> This patch allow to remove the following warning:
>>
>> clk_register: failed to get ck_usbo_48m device (parent of usbo_k)
>>
>> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
>> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
>> ---
>>
>>   arch/arm/dts/stm32mp13-u-boot.dtsi | 5 +++++
>>   1 file changed, 5 insertions(+)
>>
>> diff --git a/arch/arm/dts/stm32mp13-u-boot.dtsi b/arch/arm/dts/stm32mp13-u-boot.dtsi
>> index aa5cfc6e41d..af7edc7e2b2 100644
>> --- a/arch/arm/dts/stm32mp13-u-boot.dtsi
>> +++ b/arch/arm/dts/stm32mp13-u-boot.dtsi
>> @@ -111,3 +111,8 @@
>>   &syscfg {
>>       bootph-all;
>>   };
>> +
>> +&usbphyc {
>> +    /* stm32-usbphyc-clk = ck_usbo_48m is a source clock of RCC CCF */
>> +    bootph-all;
>> +};
> 
> 
> 
> Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> 
> Thanks
> Patrick
> 
Applied to u-boot-stm32/master

Thanks
Patrice


More information about the U-Boot mailing list