clk: scmi: add the command CLOCK_PARENT_SET
authorPeng Fan <peng.fan@nxp.com>
Mon, 28 Apr 2025 10:37:30 +0000 (18:37 +0800)
committerFabio Estevam <festevam@gmail.com>
Sat, 3 May 2025 19:55:32 +0000 (16:55 -0300)
commitaf2a671f78ee230dd81679b944ef02e9ffe2ec45
treef7b5a9069bfe4101803432e709590c747ea78e9b
parentba0f560432b5c6607ece882a37fa6a6dfffc9bc7
clk: scmi: add the command CLOCK_PARENT_SET

This patch adds the command CLOCK_PARENT_SET that can be used to set the
parent of a clock. ARM SCMI Version 3.2 supports to change the parent of
a clock device.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/clk/clk_scmi.c
include/scmi_protocols.h