Linux Documentation
 help / color / mirror / Atom feed
* [PATCH v2 0/2] hwmon: (pmbus/max20860a) Add driver for Analog Devices MAX20860A
@ 2026-05-28 17:34 Pradhan, Sanman
  2026-05-28 17:34 ` [PATCH v2 1/2] dt-bindings: hwmon: pmbus: Add " Pradhan, Sanman
  2026-05-28 17:34 ` [PATCH v2 2/2] hwmon: (pmbus/max20860a) Add driver for " Pradhan, Sanman
  0 siblings, 2 replies; 5+ messages in thread
From: Pradhan, Sanman @ 2026-05-28 17:34 UTC (permalink / raw)
  To: linux-hwmon@vger.kernel.org
  Cc: linux@roeck-us.net, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, corbet@lwn.net, skhan@linuxfoundation.org,
	devicetree@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, Syed, Arif, Sanman Pradhan

From: Sanman Pradhan <psanman@juniper.net>

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-05-29  9:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-28 17:34 [PATCH v2 0/2] hwmon: (pmbus/max20860a) Add driver for Analog Devices MAX20860A Pradhan, Sanman
2026-05-28 17:34 ` [PATCH v2 1/2] dt-bindings: hwmon: pmbus: Add " Pradhan, Sanman
2026-05-28 17:41   ` Conor Dooley
2026-05-29  9:23     ` Nuno Sá
2026-05-28 17:34 ` [PATCH v2 2/2] hwmon: (pmbus/max20860a) Add driver for " Pradhan, Sanman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox