Re: [PATCH v4 1/2] hwmon: add Raspberry Pi PMIC driver
From: Guenter Roeck
Date: Sun Nov 22 2026 - 15:51:39 EST
On 11/19/26 11:55, 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
Signed-off-by: Sander Speetjens <sander.speetjens@xxxxxxxxx>
---
Documentation/hwmon/index.rst | 1 +
Documentation/hwmon/raspberrypi-pmic-hwmon.rst | 49 ++++
drivers/hwmon/Kconfig | 11 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/raspberrypi-pmic-hwmon.c | 296 +++++++++++++++++++++++++
include/soc/bcm2835/raspberrypi-firmware.h | 1 +
This patch is making changes in a non-hwmon include file, so I can
not apply it, or at least not without an Acked-by: from a maintainer.
Assuming it will be applied through some other tree,
Acked-by: Guenter Roeck <linux@xxxxxxxxxxxx>
Guenter