hwmon: add fan/pwm driver for corsair h100i platinum
Subsystems (2)
PATCH 1/1 hwmon: add fan/pwm driver for corsair h100i platinum
Adds fan/pwm support for H100i platinum.
Custom temp/fan curves are not supported.
v3:
- tineout is now a #define
- made all funcions static
- removed all retval != 0
- removed horrible mess during hwmon_init using a device table
- removed C++ style comments
- added USB dependency
Signed-off-by Jaap Aarts <[email protected]>
--- drivers/hwmon/Kconfig | 7 + drivers/hwmon/Makefile | 1 + drivers/hwmon/corsair_hydro_i_pro.c | 718 ++++++++++++++++++++++++++++ 3 files changed, 726 insertions(+) create mode 100644 drivers/hwmon/corsair_hydro_i_pro.c
drivers/hwmon/Kconfig +7 -0
@@ -378,6 +378,13 @@ config SENSORS_ARM_SCPI and power sensors available on ARM Ltd's SCP based platforms. The actual number and type of sensors exported depend on the platform. +config SENSORS_CORSAIR_HYDRO_I_PRO + tristate "Corsair hydro HXXXi pro driver" + depends on USB + help + If you say yes here you get support for the corsair hydro HXXXi pro + range of devices. + config SENSORS_ASB100 tristate "Asus ASB100 Bach" depends on X86 && I2C
drivers/hwmon/Makefile +1 -0
@@ -20,6 +20,7 @@ obj-$(CONFIG_SENSORS_W83793) += w83793.o obj-$(CONFIG_SENSORS_W83795) += w83795.o obj-$(CONFIG_SENSORS_W83781D) += w83781d.o obj-$(CONFIG_SENSORS_W83791D) += w83791d.o +obj-$(CONFIG_SENSORS_CORSAIR_HYDRO_I_PRO) += corsair_hydro_i_pro.o obj-$(CONFIG_SENSORS_AB8500) += abx500.o ab8500.o obj-$(CONFIG_SENSORS_ABITUGURU) += abituguru.o
drivers/hwmon/corsair_hydro_i_pro.c new file +718 -0
718 lines not on this page · raw message
Signature · 1 line
2.27.0