Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

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