hwmon: Add pwm-fan driver
The pwm-fan driver enables control of fans connected to PWM lines. This driver uses the PWM framework, so it is compatible with all PWM devices that provide drivers through the PWM framework. Signed-off-by: Kamil Debski <k.debski@samsung.com> Reviewed-by: Varka Bhadram <varkabhadram@gmail.com> Reviewed-by: Tobias Klauser <tklauser@distanz.ch> [Guenter Roeck: Last argument to devm_of_pwm_get is pointer, use NULL] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:

committed by
Guenter Roeck

parent
7a7176aa4b
commit
d82d57767c
17
Documentation/hwmon/pwm-fan
Normal file
17
Documentation/hwmon/pwm-fan
Normal file
@@ -0,0 +1,17 @@
|
||||
Kernel driver pwm-fan
|
||||
=====================
|
||||
|
||||
This driver enables the use of a PWM module to drive a fan. It uses the
|
||||
generic PWM interface thus it is hardware independent. It can be used on
|
||||
many SoCs, as long as the SoC supplies a PWM line driver that exposes
|
||||
the generic PWM API.
|
||||
|
||||
Author: Kamil Debski <k.debski@samsung.com>
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
The driver implements a simple interface for driving a fan connected to
|
||||
a PWM output. It uses the generic PWM interface, thus it can be used with
|
||||
a range of SoCs. The driver exposes the fan to the user space through
|
||||
the hwmon's sysfs interface.
|
Reference in New Issue
Block a user