Kamil Debski | d82d577 | 2014-07-16 17:46:42 +0200 | [diff] [blame] | 1 | Kernel driver pwm-fan |
| 2 | ===================== |
| 3 | |
| 4 | This driver enables the use of a PWM module to drive a fan. It uses the |
| 5 | generic PWM interface thus it is hardware independent. It can be used on |
| 6 | many SoCs, as long as the SoC supplies a PWM line driver that exposes |
| 7 | the generic PWM API. |
| 8 | |
| 9 | Author: Kamil Debski <k.debski@samsung.com> |
| 10 | |
| 11 | Description |
| 12 | ----------- |
| 13 | |
| 14 | The driver implements a simple interface for driving a fan connected to |
| 15 | a PWM output. It uses the generic PWM interface, thus it can be used with |
| 16 | a range of SoCs. The driver exposes the fan to the user space through |
| 17 | the hwmon's sysfs interface. |
Stefan Wahren | 285d748 | 2019-04-11 15:30:10 +0200 | [diff] [blame] | 18 | |
| 19 | The fan rotation speed returned via the optional 'fan1_input' is extrapolated |
| 20 | from the sampled interrupts from the tachometer signal within 1 second. |