]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: add generic GPIO fan driver
authorSimon Guinot <sguinot@lacie.com>
Thu, 21 Oct 2010 22:44:19 +0000 (00:44 +0200)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 25 Oct 2010 21:11:37 +0000 (14:11 -0700)
commitf72e5be2ff203f55e496d0f7a8700f7d592c97a6
treeadaf8f6da75353dacc4d1d05ff4a042d6c9c0b11
parent5daa8d39a5d40d7da5d13b5406a9417691c421de
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>
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/gpio-fan.c [new file with mode: 0644]
include/linux/gpio-fan.h [new file with mode: 0644]