pwm-fan.rst 748 B

1234567891011121314151617181920
  1. Kernel driver pwm-fan
  2. =====================
  3. This driver enables the use of a PWM module to drive a fan. It uses the
  4. generic PWM interface thus it is hardware independent. It can be used on
  5. many SoCs, as long as the SoC supplies a PWM line driver that exposes
  6. the generic PWM API.
  7. Author: Kamil Debski <k.debski@samsung.com>
  8. Description
  9. -----------
  10. The driver implements a simple interface for driving a fan connected to
  11. a PWM output. It uses the generic PWM interface, thus it can be used with
  12. a range of SoCs. The driver exposes the fan to the user space through
  13. the hwmon's sysfs interface.
  14. The fan rotation speed returned via the optional 'fan1_input' is extrapolated
  15. from the sampled interrupts from the tachometer signal within 1 second.