mbox series

[0/1] hwmon: add Corsair PSU HID controller driver

Message ID cover.1603609465.git.wilken.gottwalt@mailbox.org (mailing list archive)
Headers show
Series hwmon: add Corsair PSU HID controller driver | expand

Message

Wilken Gottwalt Oct. 25, 2020, 7:37 a.m. UTC
The Corsair digital power supplies of the series RMi, HXi and AXi
include a small micro-controller with a lot of sensors attached. It can
accessed by an USB connector from the outside.

This micro-controller provides its data by a simple proprietary USB HID
protocol. The data provided are temperatures, current and voltage levels,
power used, uptimes, fan speed and a lot 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

Wilken Gottwalt (1):
  hwmon: add Corsair PSU HID controller driver

 Documentation/hwmon/corsair-psu.rst |  78 ++++
 Documentation/hwmon/index.rst       |   1 +
 MAINTAINERS                         |   7 +
 drivers/hwmon/Kconfig               |  12 +
 drivers/hwmon/Makefile              |   1 +
 drivers/hwmon/corsair-psu.c         | 664 ++++++++++++++++++++++++++++
 6 files changed, 763 insertions(+)
 create mode 100644 Documentation/hwmon/corsair-psu.rst
 create mode 100644 drivers/hwmon/corsair-psu.c