summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorSimon Guinot <sguinot@lacie.com>2010-10-22 00:44:19 +0200
committerGuenter Roeck <guenter.roeck@ericsson.com>2010-10-25 14:11:37 -0700
commitd6fe1360f42e86262153927986dea6502daff703 (patch)
treeadaf8f6da75353dacc4d1d05ff4a042d6c9c0b11 /drivers/hwmon/Kconfig
parent3247800676c4a04352cde72b9935b57ffc72ce15 (diff)
downloadop-kernel-dev-d6fe1360f42e86262153927986dea6502daff703.zip
op-kernel-dev-d6fe1360f42e86262153927986dea6502daff703.tar.gz
hwmon: add generic GPIO fan driver
This patch adds hwmon support for fans connected to GPIO lines. Platform specific information such as GPIO pinout and speed conversion array (rpm from/to GPIO value) are passed to the driver via platform_data. Signed-off-by: Simon Guinot <sguinot@lacie.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index ec4295f..c357c83 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -399,6 +399,15 @@ config SENSORS_GL520SM
This driver can also be built as a module. If so, the module
will be called gl520sm.
+config SENSORS_GPIO_FAN
+ tristate "GPIO fan"
+ depends on GENERIC_GPIO
+ help
+ If you say yes here you get support for fans connected to GPIO lines.
+
+ This driver can also be built as a module. If so, the module
+ will be called gpio-fan.
+
config SENSORS_CORETEMP
tristate "Intel Core/Core2/Atom temperature sensor"
depends on X86 && PCI && EXPERIMENTAL
OpenPOWER on IntegriCloud