Re: [PATCH v6 3/3] hwmon: add Raspberry Pi PMIC driver
From: Stefan Wahren
Date: Tue Dec 01 2026 - 08:59:01 EST
Am 01.12.26 um 14:49 schrieb Sander Speetjens:
Add a hwmon driver for the PMIC found on the Raspberry Pi 5.Reviewed-by: Stefan Wahren <wahrenst@xxxxxxx>
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
Acked-by: Guenter Roeck <linux@xxxxxxxxxxxx>
Signed-off-by: Sander Speetjens <sander.speetjens@xxxxxxxxx>