On Tue, Oct 28, 2025 at 04:41:06AM +0100, Marek Vasut wrote: >Instead of resolving clock control flags using SCMI_CLOCK_ATTRIBUTES >during probe for each and every clock, resolve the clock control >flags using SCMI_CLOCK_ATTRIBUTES when the clock control flags are >first used. Because most clock are never used by U-Boot, this allows >reducing the amount of SCMI_CLOCK_ATTRIBUTES considerably, and this >improve probe time of the scmi clock driver and U-Boot start up time. > >On Renesas X5H, with 1700+ SCMI clock, the boot time improved by 1.7s . > >Signed-off-by: Marek Vasut <[email protected]>
Reviewed-by: Peng Fan <[email protected]>

