summaryrefslogtreecommitdiff
path: root/include/linux/gpio-fan.h
AgeCommit message (Collapse)AuthorFilesLines
2010-10-26hwmon: add generic GPIO fan driverSimon Guinot1-0/+36
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>