Hi Tom, On Fri, Oct 13, 2023 at 09:20:48PM -0400, Tom Rini wrote: > On Tue, Sep 26, 2023 at 04:00:43PM +0900, AKASHI Takahiro wrote: > > > This ut has tests for the SCMI power domain protocol as well as DM > > interfaces for power domain devices. > > > > Signed-off-by: AKASHI Takahiro <takahiro.aka...@linaro.org> > > Reviewed-by: Simon Glass <s...@chromium.org> > > --- > > test/dm/scmi.c | 107 ++++++++++++++++++++++++++++++++++++++++++++++++- > > 1 file changed, 106 insertions(+), 1 deletion(-) > > With v6 of the required series there is no scmi command, so, how do we > test this support now?
Well, "ut dm scmi_power_domains" does test the code at function level (both for SCMI protocol APIs and DM's power_domain_*() interfaces). That said, prior to v6, we needed to adjust the output from "smci info" command and hence "ut dm scmi_cmd" test because it, more specifically base protocol's DISCOVER_LIST_PROTOCOLS, tries to enumerate available protocols including power domain protocol. With v6, we can simply remove the first hunk in this commit. I will submit a new version with this change. Thanks, -Takahiro Akashi > > -- > Tom
signature.asc
Description: PGP signature