aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorKamil Debski <k.debski@samsung.com>2014-07-16 11:46:42 -0400
committerGuenter Roeck <linux@roeck-us.net>2014-08-04 10:01:38 -0400
commitd82d57767c85984132cde4efaf89ad6db290cda3 (patch)
treeeb22ad9c566ea5c4818125134fa3775e4b831e8a /drivers/hwmon/Kconfig
parent7a7176aa4bf49685ddbef9adbdaf7383dc62ceed (diff)
hwmon: Add pwm-fan driver
The pwm-fan driver enables control of fans connected to PWM lines. This driver uses the PWM framework, so it is compatible with all PWM devices that provide drivers through the PWM framework. Signed-off-by: Kamil Debski <k.debski@samsung.com> Reviewed-by: Varka Bhadram <varkabhadram@gmail.com> Reviewed-by: Tobias Klauser <tklauser@distanz.ch> [Guenter Roeck: Last argument to devm_of_pwm_get is pointer, use NULL] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index c0aec8db462f..b93ab97732c0 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -1128,6 +1128,17 @@ config SENSORS_PCF8591
1128 1128
1129source drivers/hwmon/pmbus/Kconfig 1129source drivers/hwmon/pmbus/Kconfig
1130 1130
1131config SENSORS_PWM_FAN
1132 tristate "PWM fan"
1133 depends on PWM
1134 help
1135 If you say yes here you get support for fans connected to PWM lines.
1136 The driver uses the generic PWM interface, thus it will work on a
1137 variety of SoCs.
1138
1139 This driver can also be built as a module. If so, the module
1140 will be called pwm-fan.
1141
1131config SENSORS_SHT15 1142config SENSORS_SHT15
1132 tristate "Sensiron humidity and temperature sensors. SHT15 and compat." 1143 tristate "Sensiron humidity and temperature sensors. SHT15 and compat."
1133 depends on GPIOLIB 1144 depends on GPIOLIB