Re: [PATCH v3] hwmon: (pmbus/core) Add a vout_command debugfs entry
From: Guenter Roeck
Date: Mon Nov 09 2026 - 18:56:37 EST
On Tue, Nov 10, 2026 at 12:48:05AM +0100, Vincent Jardin wrote:
> From: Vincent Jardin <vjardin@xxxxxxx>
>
> The vout hwmon attributes and the regulator get_voltage() callback
> both report READ_VOUT.
>
> On a regulator whose configuration applies a load line (droop),
> READ_VOUT sits below the setpoint under load by design, so user space
> cannot see what the regulator was actually set to.
>
> max20730 already exposes a driver-specific vout_command entry. Add
> vout<page>_command to the PMBus core debugfs, for every page with VOUT
> and a readable VOUT_COMMAND, in millivolts like the in*_input attributes.
>
> Signed-off-by: Vincent Jardin <vjardin@xxxxxxx>
Applied.
Thanks,
Guenter