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

Pradhan, Sanman posted 2 patches 6 days, 9 hours ago
.../bindings/hwmon/pmbus/adi,max20860a.yaml   | 45 ++++++++++++
Documentation/hwmon/index.rst                 |  1 +
Documentation/hwmon/max20860a.rst             | 57 ++++++++++++++++
MAINTAINERS                                   |  8 +++
drivers/hwmon/pmbus/Kconfig                   | 19 ++++++
drivers/hwmon/pmbus/Makefile                  |  1 +
drivers/hwmon/pmbus/max20860a.c               | 68 +++++++++++++++++++
7 files changed, 199 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
[PATCH v4 0/2] hwmon: (pmbus/max20860a) Add driver for Analog Devices MAX20860A
Posted by Pradhan, Sanman 6 days, 9 hours ago
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. Optional regulator support is available via Kconfig.

The driver does not modify device write-protection state during probe and
relies on the PMBus core to handle write-protect detection and sysfs
attribute permissions.

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 v3:
  - Driver: Added optional regulator support via
    CONFIG_SENSORS_MAX20860A_REGULATOR

Changes since v2:
  - DT binding: Drop "maxim,max20860a" and keep only "adi,max20860a"
  - Driver: Drop matching "maxim,max20860a" OF match entry

Changes since v1:
  - DT binding: Added allOf regulator.yaml reference and unevaluatedProperties
  - Driver: Removed WRITE_PROTECT write from probe

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

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

 .../bindings/hwmon/pmbus/adi,max20860a.yaml   | 45 ++++++++++++
 Documentation/hwmon/index.rst                 |  1 +
 Documentation/hwmon/max20860a.rst             | 57 ++++++++++++++++
 MAINTAINERS                                   |  8 +++
 drivers/hwmon/pmbus/Kconfig                   | 19 ++++++
 drivers/hwmon/pmbus/Makefile                  |  1 +
 drivers/hwmon/pmbus/max20860a.c               | 68 +++++++++++++++++++
 7 files changed, 199 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