All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] hwmon: (pmbus) Add Analog Devices MAX16545/MAX16550 and Volterra VT7505 driver
@ 2026-07-25 21:19 Pradhan, Sanman
  2026-07-25 21:20 ` [PATCH v4 1/2] dt-bindings: hwmon: pmbus: Add Analog Devices MAX16545/MAX16550 and Volterra VT7505 Pradhan, Sanman
  2026-07-25 21:20 ` [PATCH v4 2/2] hwmon: (pmbus/vt7505) Add driver for " Pradhan, Sanman
  0 siblings, 2 replies; 5+ messages in thread
From: Pradhan, Sanman @ 2026-07-25 21:19 UTC (permalink / raw)
  To: linux-hwmon@vger.kernel.org
  Cc: linux@roeck-us.net, robh@kernel.org, krzk+dt@kernel.org,
	krzk@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,
	Sanman Pradhan, Debjit Ghosh, Jawahar Balaji Thirumalaisamy,
	Santhanakrishnan Balraj, Brian Mak

From: Sanman Pradhan <psanman@juniper.net>

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 v4:
- dt-bindings: add an upper bound (maximum) to adi,rload-ohms.
- driver: reject an out-of-range adi,rload-ohms in probe so the current
  and power coefficients cannot overflow s32.
- Credit the co-developers with Co-developed-by and drop their
  Signed-off-by; order the co-developers before the primary author.

Changes in v3:
- dt-bindings: clarify that adi,rload-ohms is the ILOAD telemetry
  resistor, not a current-path shunt; note the OCP filter retains the
  existing hardware setting when omitted, and add it to the example;
  move additionalProperties after the allOf block.
- driver: use per-device match data instead of an enum; add an explicit
  adi,max16545 match entry; use a standard copyright line.

Changes in v2:
- Represent the severe-OCP deglitch filter in microseconds
  (adi,ocp-severe-filter-us, values 0/1/2/10).


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      |  85 ++++++
 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                  | 287 ++++++++++++++++++
 7 files changed, 480 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


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

end of thread, other threads:[~2026-07-25 21:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-25 21:19 [PATCH v4 0/2] hwmon: (pmbus) Add Analog Devices MAX16545/MAX16550 and Volterra VT7505 driver Pradhan, Sanman
2026-07-25 21:20 ` [PATCH v4 1/2] dt-bindings: hwmon: pmbus: Add Analog Devices MAX16545/MAX16550 and Volterra VT7505 Pradhan, Sanman
2026-07-25 21:26   ` sashiko-bot
2026-07-25 21:20 ` [PATCH v4 2/2] hwmon: (pmbus/vt7505) Add driver for " Pradhan, Sanman
2026-07-25 21:26   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.