|
|
Log in / Subscribe / Register

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

From:  "Pradhan, Sanman" <sanman.pradhan-AT-hpe.com>
To:  "linux-hwmon-AT-vger.kernel.org" <linux-hwmon-AT-vger.kernel.org>
Subject:  [PATCH v2 0/2] hwmon: (pmbus/max20860a) Add driver for Analog Devices MAX20860A
Date:  Thu, 28 May 2026 17:34:31 +0000
Message-ID:  <20260528173424.87503-1-sanman.pradhan@hpe.com>
Cc:  "linux-AT-roeck-us.net" <linux-AT-roeck-us.net>, "robh-AT-kernel.org" <robh-AT-kernel.org>, "krzk+dt-AT-kernel.org" <krzk+dt-AT-kernel.org>, "conor+dt-AT-kernel.org" <conor+dt-AT-kernel.org>, "corbet-AT-lwn.net" <corbet-AT-lwn.net>, "skhan-AT-linuxfoundation.org" <skhan-AT-linuxfoundation.org>, "devicetree-AT-vger.kernel.org" <devicetree-AT-vger.kernel.org>, "linux-doc-AT-vger.kernel.org" <linux-doc-AT-vger.kernel.org>, "linux-kernel-AT-vger.kernel.org" <linux-kernel-AT-vger.kernel.org>, "Syed, Arif" <arif.syed-AT-hpe.com>, Sanman Pradhan <psanman-AT-juniper.net>
Archive-link:  Article

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



Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds