[v2,0/2] hwmon: (pmbus) Add support for MPS Multi-phase mp2856/mp2857 controller

Message ID 20231211160519.21254-1-potin.lai.pt@gmail.com
Headers
Series hwmon: (pmbus) Add support for MPS Multi-phase mp2856/mp2857 controller |

Message

Potin Lai Dec. 11, 2023, 4:05 p.m. UTC
  Add support for mp2856/mp2857 device from Monolithic Power Systems, Inc.
(MPS) vendor. This is a dual-loop, digital, multi-phase,
modulation controller.

LINK: [v1] https://lore.kernel.org/all/20231108024222.2026546-1-peter.yin@quantatw.com/

changes v1 --> v2:
- mp2856.rst
  - fix wordings
- mp2856.c
  - fix register naming in defines
  - remove unused register defines
  - add max_phases and chip_id in struct mp2856_data
  - force vout in direct mode
  - remove unnecessary functions (ex: mp2856_identify_vid)
  - add identify multiphase for both rail1 and rail2

Peter Yin (2):
  dt-bindings: Add MP2856/MP2857 voltage regulator device
  hwmon: (pmbus) Add support for MPS Multi-phase mp2856/mp2857
    controller

 .../devicetree/bindings/trivial-devices.yaml  |   4 +
 Documentation/hwmon/index.rst                 |   1 +
 Documentation/hwmon/mp2856.rst                |  98 ++++
 drivers/hwmon/pmbus/Kconfig                   |   9 +
 drivers/hwmon/pmbus/Makefile                  |   1 +
 drivers/hwmon/pmbus/mp2856.c                  | 477 ++++++++++++++++++
 6 files changed, 590 insertions(+)
 create mode 100644 Documentation/hwmon/mp2856.rst
 create mode 100644 drivers/hwmon/pmbus/mp2856.c