[PATCH v4 0/7] pmbus: PMBus 1.x framework, CLI, regulator and thermal support

Peng Fan peng.fan at oss.nxp.com
Sun Jul 12 10:22:25 CEST 2026


On Fri, Jul 10, 2026 at 10:16:05PM +0200, Vincent Jardin wrote:
>
>This series adds U-Boot's PMBus 1.x support as a small boot-time
>layer (not a hwmon clone):
>
>  - a decoder + transport library and the pmbus CLI command
>  - a shared UCLASS_REGULATOR adapter plus a catch-all driver for
>    compliant chips, add the MPS MPQ8785 per-chip driver
>  - a generic PMBus die-temperature UCLASS_THERMAL bridge
>  - migration of the shared NXP VID rail-trim code to this framework
>  - a sandbox PMBus chip emulator and "ut dm pmbus" unit tests that
>    exercise most subcommand of the CLI.
>
>The goal is to identify PMBus regulators at boot, print telemetry and
>decode chip alerts before the kernel takes over - no polling, no
>sysfs, no fan loops. Linux owns the runtime side.
>

+board/nxp/ls1088a/ls1088a.c: In function 'get_serdes_volt':
+board/nxp/ls1088a/ls1088a.c:676:41: error: 'PMBUS_CMD_PAGE' undeclared (first use in this function)
+  676 |                 ret = dm_i2c_write(dev, PMBUS_CMD_PAGE,
+      |                                         ^~~~~~~~~~~~~~
+board/nxp/ls1088a/ls1088a.c:676:41: note: each undeclared identifier is reported only once for each function it appears in
+board/nxp/ls1088a/ls1088a.c:690:26: error: 'PMBUS_CMD_READ_VOUT' undeclared (first use in this function)
+  690 |         dm_i2c_read(dev, PMBUS_CMD_READ_VOUT, (void *)&vcode, 2);
+      |                          ^~~~~~~~~~~~~~~~~~~
+board/nxp/ls1088a/ls1088a.c: In function 'set_serdes_volt':
+board/nxp/ls1088a/ls1088a.c:703:43: error: 'PMBUS_CMD_VOUT_COMMAND' undeclared (first use in this function)
+  703 |         u8 buff[5] = {0x04, PWM_CHANNEL0, PMBUS_CMD_VOUT_COMMAND,
+      |                                           ^~~~~~~~~~~~~~~~~~~~~~
+make[2]: *** [scripts/Makefile.build:272: board/nxp/ls1088a/ls1088a.o] Error 1
+make[1]: *** [Makefile:2210: board/nxp/ls1088a] Error 2
+make: *** [Makefile:189: __sub-make] Error 2

Please run a CI build next build.

Thanks,
Peng.


More information about the U-Boot mailing list