diff options
author | Tom Rini <trini@konsulko.com> | 2022-03-03 14:16:14 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-03-03 14:16:14 -0500 |
commit | 09cb77d22e8b87f02718a2e8f8ec7952f7673622 (patch) | |
tree | b4a584688949e49d22e1daac341666c93b720d87 /arch/sandbox/include/asm/scmi_test.h | |
parent | 2dfdba4a5a48de33a3cedc908c183b86b6ff7bd5 (diff) | |
parent | 7c33f78983c344c46d46d857fd1d5e2b5b95ad40 (diff) |
Merge branch '2022-03-02-scmi-updates' into next
- A small set of scmi updates
Diffstat (limited to 'arch/sandbox/include/asm/scmi_test.h')
-rw-r--r-- | arch/sandbox/include/asm/scmi_test.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/arch/sandbox/include/asm/scmi_test.h b/arch/sandbox/include/asm/scmi_test.h index 2930e686d72..c72ec1e1cb2 100644 --- a/arch/sandbox/include/asm/scmi_test.h +++ b/arch/sandbox/include/asm/scmi_test.h @@ -17,7 +17,6 @@ struct sandbox_scmi_service; * @rate: Clock rate in Hertz */ struct sandbox_scmi_clk { - uint id; bool enabled; ulong rate; }; @@ -46,7 +45,6 @@ struct sandbox_scmi_voltd { /** * struct sandbox_scmi_agent - Simulated SCMI service seen by SCMI agent - * @idx: Identifier for the SCMI agent, its index * @clk: Simulated clocks * @clk_count: Simulated clocks array size * @reset: Simulated reset domains @@ -55,7 +53,6 @@ struct sandbox_scmi_voltd { * @voltd_count: Simulated voltage domains array size */ struct sandbox_scmi_agent { - uint idx; struct sandbox_scmi_clk *clk; size_t clk_count; struct sandbox_scmi_reset *reset; @@ -66,12 +63,10 @@ struct sandbox_scmi_agent { /** * struct sandbox_scmi_service - Reference to simutaed SCMI agents/services - * @agent: Pointer to SCMI sandbox agent pointers array - * @agent_count: Number of emulated agents exposed in array @agent. + * @agent: Pointer to SCMI sandbox agent or NULL if not probed */ struct sandbox_scmi_service { - struct sandbox_scmi_agent **agent; - size_t agent_count; + struct sandbox_scmi_agent *agent; }; /** @@ -94,13 +89,13 @@ struct sandbox_scmi_devices { #ifdef CONFIG_SCMI_FIRMWARE /** - * sandbox_scmi_service_context - Get the simulated SCMI services context + * sandbox_scmi_service_ctx - Get the simulated SCMI services context * @return: Reference to backend simulated resources state */ struct sandbox_scmi_service *sandbox_scmi_service_ctx(void); /** - * sandbox_scmi_devices_get_ref - Get references to devices accessed through SCMI + * sandbox_scmi_devices_ctx - Get references to devices accessed through SCMI * @dev: Reference to the test device used get test resources * @return: Reference to the devices probed by the SCMI test */ |