mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
d82d57767c
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>
18 lines
597 B
Plaintext
18 lines
597 B
Plaintext
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.
|