[PATCH 4/4] clk: scmi: Defer issue of SCMI_CLOCK_ATTRIBUTES

Peng Fan peng.fan at oss.nxp.com
Tue Oct 28 13:01:09 CET 2025


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 <marek.vasut+renesas at mailbox.org>

Reviewed-by: Peng Fan <peng.fan at nxp.com>


More information about the U-Boot mailing list