hwmon: add Corsair PSU HID controller driver
authorWilken Gottwalt <wilken.gottwalt@posteo.net>
Tue, 27 Oct 2020 13:17:10 +0000 (14:17 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 3 Dec 2020 01:42:23 +0000 (17:42 -0800)
commitd115b51e0e567199c821fc39e13b6af7e78f247d
treef427c3592fd6a7f2e48b2e968e71611c0d1a2a88
parent3bce071a301f44ffd08bada9b2e8238b625f8f8c
hwmon: add Corsair PSU HID controller driver

The Corsair digital power supplies of the series RMi, HXi and AXi include
a small micro-controller with a lot of sensors attached. The sensors can
be accessed by an USB connector from the outside.

This micro-controller provides the data by a simple proprietary USB HID
protocol. The data consist of temperatures, current and voltage levels,
power usage, uptimes, fan speed and some more. It is also possible to
configure the PSU (fan mode, mono/multi-rail, over current protection).

This driver provides access to the sensors/statistics of the RMi and HXi
series power supplies. It does not support configuring these devices,
because there would be many ways to misconfigure or even damage the PSU.

This patch adds:
- hwmon driver corsair-psu
- hwmon documentation
- updates MAINTAINERS

Signed-off-by: Wilken Gottwalt <wilken.gottwalt@posteo.net>
Link: https://lore.kernel.org/r/20201027131710.GA253280@monster.powergraphx.local
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/corsair-psu.rst [new file with mode: 0644]
Documentation/hwmon/index.rst
MAINTAINERS
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/corsair-psu.c [new file with mode: 0644]