hwmon: add MP5920 driver
authorAlex Vdovydchenko <xzeol@yahoo.com>
Tue, 2 Jul 2024 11:52:51 +0000 (14:52 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 2 Jul 2024 19:36:31 +0000 (12:36 -0700)
commitcd228e7b65d43c441964a17f02c92f33d2c4af7b
treee38b465390223f2522157037bf12f9e40f7f4086
parenta50fbf8a52de59fbc1c06d643a3cb86495c1b3b2
hwmon: add MP5920 driver

Add support for MPS Hot-Swap controller mp5920. This driver exposes
telemetry and limit value readings and writings.

Signed-off-by: Alex Vdovydchenko <xzeol@yahoo.com>
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20240702115252.981416-3-xzeol@yahoo.com
[groeck: Use min_t() to limit length of displayed model string]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/index.rst
Documentation/hwmon/mp5920.rst [new file with mode: 0644]
drivers/hwmon/pmbus/Kconfig
drivers/hwmon/pmbus/Makefile
drivers/hwmon/pmbus/mp5920.c [new file with mode: 0644]