Re: [PATCH v7 3/3] hwmon: add Raspberry Pi PMIC driver

From: Guenter Roeck

Date: Tue Dec 01 2026 - 18:34:19 EST


On Tue, Dec 01, 2026 at 08:40:53PM +0100, Sander Speetjens wrote:
> Add a hwmon driver for the PMIC found on the Raspberry Pi 5.
> The PMIC exposes voltages, currents and temperatures exclusively
> through the VideoCore firmware mailbox interface (property
> 0x0003009f).
>
> Requires a sufficiently recent Raspberry Pi firmware that
> implements the structured PMIC ADC property.
>
> The driver:
> - is instantiated at runtime by the raspberrypi-firmware driver
> (same pattern as the Pi 5 RTC driver)
> - reads all channels in a single batch mailbox call
> - uses a short refresh-on-read cache
> - exposes the sensors via the standard hwmon sysfs interface
>
> Reviewed-by: Stefan Wahren <wahrenst@xxxxxxx>
> Signed-off-by: Sander Speetjens <sander.speetjens@xxxxxxxxx>

Acked-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Thanks,
Guenter