[PATCH v3 0/3] raspberrypi-hwmon voltage support and teardown fix

Shubham Chakraborty posted 3 patches 1 week ago
Documentation/hwmon/raspberrypi-hwmon.rst  |  15 ++-
drivers/hwmon/raspberrypi-hwmon.c          | 139 ++++++++++++++++++++-
include/soc/bcm2835/raspberrypi-firmware.h |  25 ++++
3 files changed, 171 insertions(+), 8 deletions(-)
[PATCH v3 0/3] raspberrypi-hwmon voltage support and teardown fix
Posted by Shubham Chakraborty 1 week ago
This series adds firmware-backed voltage inputs to raspberrypi-hwmon and
includes a separate fix for the delayed polling work teardown path.

Patch 1 adds the firmware voltage IDs and the shared voltage request
structure to the Raspberry Pi firmware API header.

Patch 2 extends raspberrypi-hwmon to expose the firmware-provided core
and SDRAM voltage inputs through hwmon and documents the new sysfs
entries.

Patch 3 addresses the delayed polling work teardown concern raised
during review.

Changes in v3:
- corrected the SDRAM_P and SDRAM_I voltage ID mapping
- moved the voltage request structure into the firmware API header
- made the voltage request structure voltage-specific
- split the delayed-work teardown change into a separate patch

Tested on:
- Raspberry Pi 3B+ running Linux 6.12.75+rpt-rpi-v8

Shubham Chakraborty (3):
  soc: bcm2835: raspberrypi-firmware: Add voltage domain IDs
  hwmon: raspberrypi: Add voltage input support
  hwmon: raspberrypi: Fix delayed-work teardown race

 Documentation/hwmon/raspberrypi-hwmon.rst  |  15 ++-
 drivers/hwmon/raspberrypi-hwmon.c          | 139 ++++++++++++++++++++-
 include/soc/bcm2835/raspberrypi-firmware.h |  25 ++++
 3 files changed, 171 insertions(+), 8 deletions(-)

-- 
2.54.0