On Tue, Oct 28, 2025 at 04:41:05AM +0100, Marek Vasut wrote: >The clock names are retrived via SCMI_CLOCK_ATTRIBUTES, called for each >clock ID. This may take a lot of time to complete and is not strictly >necessary. Register each clock as "scmi-%zu" instead, and let the first >call of SCMI_CLOCK_ATTRIBUTES fill in the actual clock name. > >This has a side effect, which can be considered both an upside and also >a downside. Unused clock are never renamed and retain their placeholder >"scmi-%zu" name, which avoids empty clock names for nameless SCMI clock, >and avoids the name resolution and improves boot time. But for those >SCMI clock which do have name, that name is not listed until the clock >are used. > >This is a preparatory patch for deferred issue of SCMI_CLOCK_ATTRIBUTES. > >Signed-off-by: Marek Vasut <[email protected]>
Reviewed-by: Peng Fan <[email protected]>

