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 <vjardin@free.fr> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
@@ -1545,6 +1545,7 @@ F: drivers/power/regulator/sandbox_pmbus.c
|
||||
F: drivers/thermal/pmbus_thermal.c
|
||||
F: include/pmbus.h
|
||||
F: lib/pmbus.c
|
||||
F: test/dm/pmbus.c
|
||||
|
||||
POWER
|
||||
M: Jaehoon Chung <jh80.chung@samsung.com>
|
||||
|
||||
Reference in New Issue
Block a user