Hi Vincent,

On 2026-07-06T10:50:51, Vincent Jardin <[email protected]> wrote:
> test: dm: pmbus: test pmbus command and framework
>
> Add dm unit tests that drive every pmbus subcommand handler against
> the sandbox PMBus chip emulator:
>   dev (select by bus:addr and by regulator-name), list, info,
>   telemetry, status, dump, read, write, clear, vout, scan and help.
>
> Tested using:
>
>   ./u-boot -T -c "ut dm pmbus*"
>
> Signed-off-by: Vincent Jardin <[email protected]>
>
> MAINTAINERS      |   1 +
>  test/dm/Makefile |   1 +
>  test/dm/pmbus.c  | 247 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 249 insertions(+)

I'll leave the biggest pmbus question to others, but this looks good.
BTW you should not need the console_record_reset() calls at the end of
functions, nor the 0x before what should be already-hex values in the
commands.

Reviewed-by: Simon Glass <[email protected]>

Regards,
Simon

Reply via email to