[PATCH v2 0/2] hwmon: (pmbus) Add Analog Devices MAX16545/MAX16550 and Volterra VT7505 driver
"Pradhan, Sanman" <[email protected]>
| Newsgroups | org.kernel.vger.linux-hwmon,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
From: Sanman Pradhan <[email protected]> This series adds a PMBus driver for the Analog Devices MAX16545 and MAX16550, and the Volterra VT7505 controllers. The driver reports input and output voltage, input and output current, input power, and temperature over PMBus. All sensors use the direct data format. Peak input voltage, output voltage, output current, input power and temperature readings are exposed and can be reset. The MAX16545 uses the same programming model as the VT7505 and is described with a fallback compatible. The current and power scaling depend on the external current-report resistor on the ILOAD pin, which can be specified with the "adi,rload-ohms" device tree property. On the MAX16550 and VT7505, the severe overcurrent-protection deglitch time can optionally be programmed with the "adi,ocp-severe-filter-us" property; on the MAX16545 that delay is fixed, so the property is rejected for that part. The driver was tested on Juniper PTX hardware. Changes in v2: - dt-bindings: represent the severe-OCP deglitch filter in microseconds (renamed to adi,ocp-severe-filter-us, values 0/1/2/10). - driver: map the microsecond value to the MFR_CONFIG[15:14] field. Georgi Vlaev (1): hwmon: (pmbus/vt7505) Add driver for Analog Devices MAX16545/MAX16550 and Volterra VT7505 Sanman Pradhan (1): dt-bindings: hwmon: pmbus: Add Analog Devices MAX16545/MAX16550 and Volterra VT7505 .../bindings/hwmon/pmbus/adi,vt7505.yaml | 82 ++++++ Documentation/hwmon/index.rst | 1 + Documentation/hwmon/vt7505.rst | 89 ++++++ MAINTAINERS | 8 + drivers/hwmon/pmbus/Kconfig | 9 + drivers/hwmon/pmbus/Makefile | 1 + drivers/hwmon/pmbus/vt7505.c | 274 ++++++++++++++++++ 7 files changed, 464 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/adi,vt7505.yaml create mode 100644 Documentation/hwmon/vt7505.rst create mode 100644 drivers/hwmon/pmbus/vt7505.c base-commit: fa8ff8bde9207509f90adacc157b208ee732adad -- 2.34.1