public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/5] cmd: add scmi command
@ 2023-11-13  1:49 AKASHI Takahiro
  2023-11-13  1:49 ` [PATCH v2 1/5] test: dm: skip scmi tests against disabled protocols AKASHI Takahiro
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: AKASHI Takahiro @ 2023-11-13  1:49 UTC (permalink / raw)
  To: trini, sjg; +Cc: etienne.carriere, michal.simek, u-boot, AKASHI Takahiro

"Scmi" command will be re-introduced per Michal's request.
The functionality is the same as I put it in my patch set of adding
SCMI base protocol support, but made some tweak to make UT, "ut dm
scmi_cmd," more flexible and tolerable when enabling/disabling a specific
SCMI protocol for test purpose.

Each commit may have some change history inherited from the preceding
patch series.

Test
====
The patch series was tested on the following platforms:
* sandbox

Prerequisite:
=============
* This patch series is based on the latest master.

Changes:
========
v2(Nov 13, 2023)
* localize global variables to avoid pytest errors.

AKASHI Takahiro (5):
  test: dm: skip scmi tests against disabled protocols
  firmware: scmi: support protocols on sandbox only if enabled
  cmd: add scmi command for SCMI firmware
  doc: cmd: add documentation for scmi
  test: dm: add scmi command test

 cmd/Kconfig                                  |   9 +
 cmd/Makefile                                 |   1 +
 cmd/scmi.c                                   | 384 +++++++++++++++++++
 configs/sandbox_defconfig                    |   1 +
 doc/usage/cmd/scmi.rst                       | 126 ++++++
 doc/usage/index.rst                          |   1 +
 drivers/firmware/scmi/sandbox-scmi_agent.c   |  27 +-
 drivers/firmware/scmi/sandbox-scmi_devices.c |  78 ++--
 test/dm/scmi.c                               |  93 +++++
 9 files changed, 687 insertions(+), 33 deletions(-)
 create mode 100644 cmd/scmi.c
 create mode 100644 doc/usage/cmd/scmi.rst

-- 
2.34.1


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

end of thread, other threads:[~2023-11-14  1:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-13  1:49 [PATCH v2 0/5] cmd: add scmi command AKASHI Takahiro
2023-11-13  1:49 ` [PATCH v2 1/5] test: dm: skip scmi tests against disabled protocols AKASHI Takahiro
2023-11-13 18:01   ` Simon Glass
2023-11-14  1:44     ` AKASHI Takahiro
2023-11-13  1:49 ` [PATCH v2 2/5] firmware: scmi: support protocols on sandbox only if enabled AKASHI Takahiro
2023-11-13 18:01   ` Simon Glass
2023-11-14  1:53     ` AKASHI Takahiro
2023-11-13  1:49 ` [PATCH v2 3/5] cmd: add scmi command for SCMI firmware AKASHI Takahiro
2023-11-13  1:49 ` [PATCH v2 4/5] doc: cmd: add documentation for scmi AKASHI Takahiro
2023-11-13  1:49 ` [PATCH v2 5/5] test: dm: add scmi command test AKASHI Takahiro

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