[PATCH] clk: scmi: Fix clock identifier passed to struct scmi_clk_parent_set_in

Peng Fan peng.fan at oss.nxp.com
Tue Jul 15 06:02:02 CEST 2025


On Mon, Jul 07, 2025 at 08:27:41AM +0800, Alice Guo (OSS) wrote:
>From: Alice Guo <alice.guo at nxp.com>
>
>Clock identifier passed to struct scmi_clk_parent_set_in should also use
>clk_get_id() to obtain.
>
>Fixes: aa7bdc1af505 ("clk: scmi: manage properly the clk identifier with
>CCF")
>
>Signed-off-by: Alice Guo <alice.guo at nxp.com>

It would be better to make commit clear:
Commit aa7bdc1af505 ("clk: scmi: manage properly the clk identifier with CCF")
enables CONFIG_CLK_AUTO_ID, so need to use clk_get_id to get the real
SCMI CLK ID, otherwise wrong ID is used when set clk parent.

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


More information about the U-Boot mailing list