Skip to content

Commit

Permalink
drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver
Browse files Browse the repository at this point in the history
Add the iEi WT61P803 PUZZLE HWMON driver, that handles the fan speed
control via PWM, reading fan speed and reading on-board temperature
sensors.

The driver registers a HWMON device and a simple thermal cooling device to
enable in-kernel fan management.

This driver depends on the iEi WT61P803 PUZZLE MFD driver.

Signed-off-by: Luka Kovacic <luka.kovacic@sartura.hr>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Cc: Robert Marko <robert.marko@sartura.hr>
  • Loading branch information
lukakovacica authored and intel-lab-lkp committed Sep 26, 2020
1 parent d025100 commit a453994
Show file tree
Hide file tree
Showing 3 changed files with 520 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/hwmon/Kconfig
Expand Up @@ -722,6 +722,14 @@ config SENSORS_IBMPOWERNV
This driver can also be built as a module. If so, the module
will be called ibmpowernv.

config SENSORS_IEI_WT61P803_PUZZLE_HWMON
tristate "iEi WT61P803 PUZZLE MFD HWMON Driver"
depends on MFD_IEI_WT61P803_PUZZLE
help
The iEi WT61P803 PUZZLE MFD HWMON Driver handles reading fan speed
and writing fan PWM values. It also supports reading on-board
temperature sensors.

config SENSORS_IIO_HWMON
tristate "Hwmon driver that uses channels specified via iio maps"
depends on IIO
Expand Down
1 change: 1 addition & 0 deletions drivers/hwmon/Makefile
Expand Up @@ -83,6 +83,7 @@ obj-$(CONFIG_SENSORS_HIH6130) += hih6130.o
obj-$(CONFIG_SENSORS_ULTRA45) += ultra45_env.o
obj-$(CONFIG_SENSORS_I5500) += i5500_temp.o
obj-$(CONFIG_SENSORS_I5K_AMB) += i5k_amb.o
obj-$(CONFIG_SENSORS_IEI_WT61P803_PUZZLE_HWMON) += iei-wt61p803-puzzle-hwmon.o
obj-$(CONFIG_SENSORS_IBMAEM) += ibmaem.o
obj-$(CONFIG_SENSORS_IBMPEX) += ibmpex.o
obj-$(CONFIG_SENSORS_IBMPOWERNV)+= ibmpowernv.o
Expand Down

0 comments on commit a453994

Please sign in to comment.