This series extends the hwmon PMBus driver for the MPS MPQ8785 to support
two additional Monolithic Power Systems devices: the MPM82504 and
MPM3695-10.
The driver is restructured to support multiple devices using device tree
matching. It also introduces an optional "voltage-scale-loop"
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 both 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
hwmon: pmbus: mpq8785: Implement voltage scale loop configuration
dt-bindings: hwmon: Add bindings for mpq8785 driver
.../bindings/hwmon/pmbus/mps,mpq8785.yaml | 54 ++++++++++++++++
Documentation/hwmon/mpq8785.rst | 29 +++++++--
drivers/hwmon/pmbus/mpq8785.c | 61 ++++++++++++++++---
3 files changed, 131 insertions(+), 13 deletions(-)
create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml
--
2.43.0