Re: [PATCH 3/4] clk: rockchip: rk3576: Always init clocks in SPL build

Jonas Karlman <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
Hi Alexey,

On 8/5/2026 9:21 AM, Alexey Charkov wrote:
> Hi Jonas,
> 
> Thanks a lot for your work on this!

Thanks for testing!

I think using the 'probe after bind' flag ended up being the most
logical way to ensure the clocks are initialized early in SPL.

> 
> On Tue, Aug 4, 2026 at 4:26 AM Jonas Karlman <[email protected]> wrote:
>>
>> The ore PLLs are only initialized in SPL on RK3576.
> 
> /s/ore/core/ ?

Hehe, correct, my bad, that is what happens when one tries to send out
patches in the middle of the night ;-)

Will send a v2 unless Quentin wants to fixup when applying.

Regards,
Jonas

> 
>> Ensure clock driver is always probed after bind for SPL builds to
>> initialize core PLLs and clocks in SPL phase on RK3576.
>>
>> Signed-off-by: Jonas Karlman <[email protected]>
>> ---
>>  drivers/clk/rockchip/clk_rk3576.c | 4 ++++
>>  1 file changed, 4 insertions(+)
> 
> Tested it with my 41MB Falcon Linux payload on a Flipper One (RK3576),
> and it gives a very noticeable improvement in loading speed: time from
> start of BL33 to initramfs goes down from ~20s to ~3s, which is quite
> welcome :)
> 
> Tested-by: Alexey Charkov <[email protected]>
> 
> Best regards,
> Alexey
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.