devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] hwmon: pmbus: Add support for MPM82504 and MPM3695 family
@ 2025-05-09  6:51 Pawel Dembicki
  2025-05-09  6:51 ` [PATCH v2 1/5] hwmon: pmbus: mpq8785: Prepare driver for multiple device support Pawel Dembicki
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Pawel Dembicki @ 2025-05-09  6:51 UTC (permalink / raw)
  To: linux-hwmon
  Cc: Pawel Dembicki, Jean Delvare, Guenter Roeck, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Jonathan Corbet, Noah Wang,
	Naresh Solanki, Fabio Estevam, Michal Simek, Grant Peltier,
	Laurent Pinchart, Greg KH, Shen Lichuan, Peter Zijlstra,
	Charles Hsu, devicetree, linux-kernel, linux-doc

This series extends the hwmon PMBus driver for the MPS MPQ8785 to support
two additional Monolithic Power Systems devices: the MPM82504 and
MPM3695 family.

The driver is restructured to support multiple devices using device tree
matching. It also introduces an optional "mps,vout-fb-divider-ratio-permille"
property to configure the VOUT_SCALE_LOOP PMBus register, which adjusts
reported output voltages depending on the external feedback divider.

Device tree bindings are updated accordingly.

Changes have been tested on hardware with device-tree based matching
using the MPM82504 and MPM3695-10.

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>

Pawel Dembicki (5):
  hwmon: pmbus: mpq8785: Prepare driver for multiple device support
  hwmon: pmbus: mpq8785: Add support for MPM82504
  hwmon: pmbus: mpq8785: Add support for MPM3695 family
  hwmon: pmbus: mpq8785: Implement VOUT feedback resistor divider ratio
    configuration
  dt-bindings: hwmon: Add bindings for mpq8785 driver

 .../bindings/hwmon/pmbus/mps,mpq8785.yaml     | 88 ++++++++++++++++++
 .../devicetree/bindings/trivial-devices.yaml  |  2 -
 Documentation/hwmon/mpq8785.rst               | 27 ++++--
 drivers/hwmon/pmbus/mpq8785.c                 | 93 +++++++++++++++++--
 4 files changed, 194 insertions(+), 16 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml

-- 
2.43.0


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

end of thread, other threads:[~2025-05-09 14:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09  6:51 [PATCH v2 0/5] hwmon: pmbus: Add support for MPM82504 and MPM3695 family Pawel Dembicki
2025-05-09  6:51 ` [PATCH v2 1/5] hwmon: pmbus: mpq8785: Prepare driver for multiple device support Pawel Dembicki
2025-05-09  7:03   ` Krzysztof Kozlowski
2025-05-09  7:41     ` Paweł Dembicki
2025-05-09  9:22       ` Krzysztof Kozlowski
2025-05-09 14:15         ` Guenter Roeck
2025-05-09  6:51 ` [PATCH v2 2/5] hwmon: pmbus: mpq8785: Add support for MPM82504 Pawel Dembicki
2025-05-09 13:54   ` Guenter Roeck
2025-05-09  6:51 ` [PATCH v2 3/5] hwmon: pmbus: mpq8785: Add support for MPM3695 family Pawel Dembicki
2025-05-09  7:06   ` Krzysztof Kozlowski
2025-05-09  6:51 ` [PATCH v2 4/5] hwmon: pmbus: mpq8785: Implement VOUT feedback resistor divider ratio configuration Pawel Dembicki
2025-05-09  7:07   ` Krzysztof Kozlowski
2025-05-09 13:26   ` Guenter Roeck
2025-05-09  6:51 ` [PATCH v2 5/5] dt-bindings: hwmon: Add bindings for mpq8785 driver Pawel Dembicki
2025-05-09  7:00   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).