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: NSimon Guinot <sguinot@lacie.com> Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
Showing
drivers/hwmon/gpio-fan.c
0 → 100644
include/linux/gpio-fan.h
0 → 100644
想要评论请 注册 或 登录