diff options
author | Simon Guinot <sguinot@lacie.com> | 2010-10-21 18:44:19 -0400 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2010-10-25 17:11:37 -0400 |
commit | d6fe1360f42e86262153927986dea6502daff703 (patch) | |
tree | adaf8f6da75353dacc4d1d05ff4a042d6c9c0b11 /drivers/hwmon/Kconfig | |
parent | 3247800676c4a04352cde72b9935b57ffc72ce15 (diff) |
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/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index ec4295fd22f6..c357c835eb1e 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig | |||
@@ -399,6 +399,15 @@ config SENSORS_GL520SM | |||
399 | This driver can also be built as a module. If so, the module | 399 | This driver can also be built as a module. If so, the module |
400 | will be called gl520sm. | 400 | will be called gl520sm. |
401 | 401 | ||
402 | config SENSORS_GPIO_FAN | ||
403 | tristate "GPIO fan" | ||
404 | depends on GENERIC_GPIO | ||
405 | help | ||
406 | If you say yes here you get support for fans connected to GPIO lines. | ||
407 | |||
408 | This driver can also be built as a module. If so, the module | ||
409 | will be called gpio-fan. | ||
410 | |||
402 | config SENSORS_CORETEMP | 411 | config SENSORS_CORETEMP |
403 | tristate "Intel Core/Core2/Atom temperature sensor" | 412 | tristate "Intel Core/Core2/Atom temperature sensor" |
404 | depends on X86 && PCI && EXPERIMENTAL | 413 | depends on X86 && PCI && EXPERIMENTAL |