public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Add compatibility for scmi clock protocol version 3.0
@ 2025-11-04 11:19 Kamlesh Gurudasani
  2025-11-04 11:19 ` [PATCH v4 1/2] clk: scmi: fix set_parent support when CCF is not being used Kamlesh Gurudasani
  2025-11-04 11:19 ` [PATCH v4 2/2] clk: scmi: add compatibility for clock version 3.0 and onwards Kamlesh Gurudasani
  0 siblings, 2 replies; 7+ messages in thread
From: Kamlesh Gurudasani @ 2025-11-04 11:19 UTC (permalink / raw)
  To: Lukasz Majewski, Sean Anderson, Tom Rini, Peng Fan, Ye Li,
	Alice Guo, Maxim Kochetkov, d-gole
  Cc: u-boot, Kamlesh Gurudasani

Clock version 3.0 specified in ARM SCMI Platform design document
v3.2, adds extended_config_val parameter in CLOCK_CONFIG_SET.

The SCMI server with clock version 3.0 rejects the message if
it doesn't have this field.

Add support so that both SCMI server with clock version 2.0 and 3.0
can be handled.

While at it, fix the set_parent support for non CCF flow.

Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
---
Changes in v4:
- Added seperate handling for CCF and non CCF versions
- Link to v3: https://lore.kernel.org/r/20250819-b4-scmi-v1-v3-0-360145076b3b@ti.com

Changes in v3:
- Removed a checkpatch warning, which helped avoid reuse of code
- Link to v2: https://lore.kernel.org/r/20250818-b4-scmi-v1-v2-0-e0351c4d839e@ti.com

Changes in v2:
- Fixed the code according to review comments
- Link to v1: https://lore.kernel.org/r/20250813-b4-scmi-v1-v1-0-bef20fc32d4b@ti.com

---
Kamlesh Gurudasani (2):
      clk: scmi: fix set_parent support when CCF is not being used
      clk: scmi: add compatibility for clock version 3.0 and onwards

 drivers/clk/clk_scmi.c   | 54 ++++++++++++++++++++++++++++++++++++++++--------------
 include/scmi_protocols.h |  6 ++++++
 2 files changed, 46 insertions(+), 14 deletions(-)
---
base-commit: 4e4a9de31de2a5f395ee25c59e4026422fbcb27e
change-id: 20250813-b4-scmi-v1-b3deb87fa712

Best regards,
-- 
Kamlesh Gurudasani <kamlesh@ti.com>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-11-11 13:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-04 11:19 [PATCH v4 0/2] Add compatibility for scmi clock protocol version 3.0 Kamlesh Gurudasani
2025-11-04 11:19 ` [PATCH v4 1/2] clk: scmi: fix set_parent support when CCF is not being used Kamlesh Gurudasani
2025-11-07  3:32   ` Peng Fan
2025-11-07  3:41   ` Peng Fan
2025-11-04 11:19 ` [PATCH v4 2/2] clk: scmi: add compatibility for clock version 3.0 and onwards Kamlesh Gurudasani
2025-11-07  3:39   ` Peng Fan
2025-11-11  6:34   ` Maxim Kochetkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox