hwmon: (pmbus) Add support for MPS Multi-phase mp2888 controller
authorVadim Pasternak <vadimp@nvidia.com>
Tue, 11 May 2021 05:56:18 +0000 (08:56 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 17 Jun 2021 11:21:45 +0000 (04:21 -0700)
commite4db7719d037b820024a213f74703ae1abf5b00c
treea90e441c45ce07feaa174eb7c64e684d0b5c5b2e
parent0c1acde1d3d0032814be89c838483471582bc32e
hwmon: (pmbus) Add support for MPS Multi-phase mp2888 controller

Add support for mp2888 device from Monolithic Power Systems, Inc. (MPS)
vendor. This is a digital, multi-phase, pulse-width modulation
controller.

This device supports:
- One power rail.
- Programmable Multi-Phase up to 10 Phases.
- PWM-VID Interface
- One pages 0 for telemetry.
- Programmable pins for PMBus Address.
- Built-In EEPROM to Store Custom Configurations.
- Can configured VOUT readout in direct or VID format and allows
  setting of different formats on rails 1 and 2. For VID the following
  protocols are available: VR13 mode with 5-mV DAC; VR13 mode with
  10-mV DAC, IMVP9 mode with 5-mV DAC.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20210511055619.118104-3-vadimp@nvidia.com
[groeck: Add MODULE_IMPORT_NS]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/mp2888.rst [new file with mode: 0644]
drivers/hwmon/pmbus/Kconfig
drivers/hwmon/pmbus/Makefile
drivers/hwmon/pmbus/mp2888.c [new file with mode: 0644]