diff options
author | Valentin Caron <valentin.caron@foss.st.com> | 2025-05-27 15:27:43 +0200 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2025-06-11 09:42:55 +0200 |
commit | ae7e0330ce22d580990cf40d648c809b5093b252 (patch) | |
tree | e97169e0f11c74b61316b5d37f91269a8387611e /drivers/clk/stm32/clk-stm32-core.c | |
parent | 59d00e20fced23e6463aa09db889dd548baee677 (diff) |
clk: scmi: add compatibility with clock protocol 2.0
Since clock protocol 2.0, SCMI specification add an option field
"clock_enable_delay" to CLOCK_ATTRIBUTES command.
scmi_read_resp_from_smt() will return an error ("Buffer too small") as
the message length coming from the SCMI server is not the same as expected.
So implement a condition to SCMI clock protocol version to change the
length of the expected message.
Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Lukasz Majewski <lukma@denx.de>
Cc: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'drivers/clk/stm32/clk-stm32-core.c')
0 files changed, 0 insertions, 0 deletions