hwmon: pmbus: Add Inspur Power System power supply driver
authorJohn Wang <wangzqbj@inspur.com>
Mon, 19 Aug 2019 09:15:09 +0000 (17:15 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 3 Sep 2019 19:47:17 +0000 (12:47 -0700)
commitedd2a4d6608b06be0b198ff2540f5a969cca7b8a
treea6c1e010a9947ea413f3e334732cb4098737ef8f
parent06a1c69cf5de7b866f2871477839f1aa14e48ea5
hwmon: pmbus: Add Inspur Power System power supply driver

Add the driver to monitor Inspur Power System power supplies
with hwmon over pmbus.

This driver adds sysfs attributes for additional power supply data,
including vendor, model, part_number, serial number,
firmware revision, hardware revision, and psu mode(active/standby).

Signed-off-by: John Wang <wangzqbj@inspur.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20190819091509.29276-1-wangzqbj@inspur.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/inspur-ipsps1.rst [new file with mode: 0644]
drivers/hwmon/pmbus/Kconfig
drivers/hwmon/pmbus/Makefile
drivers/hwmon/pmbus/inspur-ipsps.c [new file with mode: 0644]