[PATCH 4/5] firmware: scmi: fix sandbox and related tests for clock discovery
sjg at chromium.org
Sat Feb 26 19:37:10 CET 2022
On Fri, 11 Feb 2022 at 05:07, Etienne Carriere
<etienne.carriere at linaro.org> wrote:
> Updates sandbox SCMI clock driver and tests since enabling CCF will
> mandate clock discovery that is all exposed SCMI clocks shall be
> discovered at initialization. For this reason, sandbox SCMI clock
> driver must emulate all clocks exposed by SCMI server, not only those
> effectively consumed by some other U-Boot devices.
> Therefore the sandbox SCMI test driver exposes 3 clocks (IDs 0, 1 and 2)
> and sandbox SCMI clock consumer driver gets 2 of them.
> Series-links: 246809
Note if you use patman it should drop this automatically.
> Cc: Simon Glass <sjg at chromium.org>
> Signed-off-by: Etienne Carriere <etienne.carriere at linaro.org>
> arch/sandbox/dts/test.dts | 2 +-
> arch/sandbox/include/asm/scmi_test.h | 1 -
> drivers/firmware/scmi/sandbox-scmi_agent.c | 12 +++++-------
> test/dm/scmi.c | 15 ++++++++++-----
> 4 files changed, 16 insertions(+), 14 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot