Commit fdb1bffe2827 ("clk: scmi: Postpone clock name resolution")
is breaking boot for STM32MP13/STM32MP2 family board.The issue is due to registering clock with default name "scmi-%zu". If one of these clocks has children clocks, it will generate an error when trying to registers their child's clocks as shown below: ... clk_register: failed to get ck_axi device (parent of qspi_k) clk_register: failed to get pll4_p device (parent of spi2_k) clk_register: failed to get pll4_p device (parent of spi3_k) clk_register: failed to get ck_hsi device (parent of usart3_k) clk_register: failed to get ck_hsi device (parent of uart5_k) clk_register: failed to get ck_hsi device (parent of uart7_k) ... Re-introduce scmi_clk_get_attribute() call in scmi_clk_probe() under a new flag CLK_SCMI_FORCE_ATTRIBUTE to register parent clocks with their real names (ck_axi, pll4_p, ck_hsi ...) This new flag CLK_SCMI_FORCE_ATTRIBUTE is enabled in stm32mp13_defconfig, stm32mp23_defconfig and stm32mp25_defconfig to restore boot. It will preserve the boot time optimization goal of the series [1] [1] https://patchwork.ozlabs.org/project/uboot/list/?series=481425&state=* Patrice Chotard (6): clk: scmi: Fix typo scmi_clk_get_attibute clk: scmi: Force call of scmi_clk_get_attribute() during probe configs: stm32mp13: Enable CLK_SCMI_FORCE_ATTRIBUTE configs: stm32mp13: Increase SYS_MALLOC_F_LEN configs: stm32mp23: Enable CLK_SCMI_FORCE_ATTRIBUTE configs: stm32mp25: Enable CLK_SCMI_FORCE_ATTRIBUTE configs/stm32mp13_defconfig | 3 ++- configs/stm32mp23_defconfig | 1 + configs/stm32mp25_defconfig | 1 + drivers/clk/Kconfig | 8 ++++++++ drivers/clk/clk_scmi.c | 18 +++++++++++++----- 5 files changed, 25 insertions(+), 6 deletions(-) -- 2.43.0 base-commit: 6c2f2d9aa63d1642dffae7d7ac88f7ae879e13d1 branch: bz_221618

