hwmon: (aquacomputer_d5next) Add support for Aquacomputer Poweradjust 3
authorAleksa Savic <savicaleksa83@gmail.com>
Tue, 31 Jan 2023 10:12:09 +0000 (11:12 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 3 Feb 2023 15:30:11 +0000 (07:30 -0800)
commite0f6c370f0ad2b02637ba4ead082d39cc9a1b094
treeba24539618c7e5cdf3e50cd3ec2247a0c150ddd5
parent1c999af509b3f834d3d65a90fb72860a6d6a8370
hwmon: (aquacomputer_d5next) Add support for Aquacomputer Poweradjust 3

Extend aquacomputer_d5next driver to expose the temp sensor of the
Aquacomputer Poweradjust 3 fan controller, which communicates
through a proprietary USB HID protocol.

The Poweradjust 3 is not currently known to expose firmware version
and serial number, so don't create debugfs entries if their values
can't be retrieved.

Tested by a user on Github [1].

[1] https://github.com/aleksamagicka/aquacomputer_d5next-hwmon/issues/57

Signed-off-by: Aleksa Savic <savicaleksa83@gmail.com>
Link: https://lore.kernel.org/r/20230131101210.8095-1-savicaleksa83@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/aquacomputer_d5next.rst
drivers/hwmon/aquacomputer_d5next.c