[PATCH v2 0/2] hwmon: (pmbus/max20860a) Add driver for Analog Devices MAX20860A

From: Pradhan, Sanman

Date: Thu May 28 2026 - 13:43:07 EST


From: Sanman Pradhan <psanman@xxxxxxxxxxx>

Add PMBus hwmon driver and DT binding for the Analog Devices MAX20860A
step-down DC-DC switching regulator. The driver provides monitoring of
input/output voltage, output current, and temperature using linear data
format.

This is a monitoring-only driver. The device's hardware write-protection
(WRITE_PROTECT register = 0x20) is detected and respected automatically
by pmbus_core via pmbus_init_wp().

Tested on PTX platform with MAX20860A at i2c-195/0x23:
- All sensors (vin, vout, iout, temp1, temp2) read correctly
- Limit attributes correctly read-only (HW write-protect honored)
- Clean dmesg (no probe errors)

Changes since v1:
- DT binding: Added allOf regulator.yaml reference and unevaluatedProperties
- DT binding: Added "maxim,max20860a" as alternative compatible
- Driver: Added "maxim,max20860a" to of_device_id table
- Driver: Removed redundant WRITE_PROTECT write from probe (pmbus_core
handles it via pmbus_init_wp())

Syed Arif (1):
hwmon: (pmbus/max20860a) Add driver for Analog Devices MAX20860A

Sanman Pradhan (1):
dt-bindings: hwmon: pmbus: Add Analog Devices MAX20860A

.../bindings/hwmon/pmbus/adi,max20860a.yaml | 47 +++++++++++++++
Documentation/hwmon/index.rst | 1 +
Documentation/hwmon/max20860a.rst | 57 ++++++++++++++++++
MAINTAINERS | 8 +++
drivers/hwmon/pmbus/Kconfig | 9 +++
drivers/hwmon/pmbus/Makefile | 1 +
drivers/hwmon/pmbus/max20860a.c | 58 +++++++++++++++++++
7 files changed, 181 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/adi,max20860a.yaml
create mode 100644 Documentation/hwmon/max20860a.rst
create mode 100644 drivers/hwmon/pmbus/max20860a.c

--
2.34.1