OSDN Git Service

hwmon: (pmbus) Add support for Infineon Multi-phase xdpe122 family controllers
authorVadim Pasternak <vadimp@mellanox.com>
Mon, 13 Jan 2020 15:08:39 +0000 (15:08 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 23 Jan 2020 21:15:10 +0000 (13:15 -0800)
commitaaafb7c8eb1c53d50ac1857f3b997baeac383378
treec72de0eff0ef9637c30920f1f67bd9c2f6583c7d
parent583dc921275c5a0cc7f657550cbf0caae7bf49c3
hwmon: (pmbus) Add support for Infineon Multi-phase xdpe122 family controllers

Add support for devices XDPE12254, XDPE12284.

All these device support two pages.
The below lists of VOUT_MODE command readout with their related VID
protocols, Digital to Analog Converter steps, supported by these
devices:
VR12.0 mode, 5-mV DAC - 0x01;
VR12.5 mode, 10-mV DAC - 0x02;
IMVP9 mode, 5-mV DAC - 0x03;
AMD mode 6.25mV - 0x10.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Link: https://lore.kernel.org/r/20200113150841.17670-5-vadimp@mellanox.com
[groeck: Added missing break statement]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/Kconfig
drivers/hwmon/pmbus/Makefile
drivers/hwmon/pmbus/xdpe12284.c [new file with mode: 0644]