| 1 |
.. SPDX-License-Identifier: GPL-2.0 |
| 2 |
|
| 3 |
Kernel driver kfan |
| 4 |
================== |
| 5 |
|
| 6 |
Supported chips: |
| 7 |
|
| 8 |
* KEBA fan controller (IP core in FPGA) |
| 9 |
|
| 10 |
Prefix: 'kfan' |
| 11 |
|
| 12 |
Authors: |
| 13 |
|
| 14 |
Gerhard Engleder <[email protected]> |
| 15 |
Petar Bojanic <[email protected]> |
| 16 |
|
| 17 |
Description |
| 18 |
----------- |
| 19 |
|
| 20 |
The KEBA fan controller is an IP core for FPGAs, which monitors the health |
| 21 |
and controls the speed of a fan. The fan is typically used to cool the CPU |
| 22 |
and the whole device. E.g., the CP500 FPGA includes this IP core to monitor |
| 23 |
and control the fan of PLCs and the corresponding cp500 driver creates an |
| 24 |
auxiliary device for the kfan driver. |
| 25 |
|
| 26 |
This driver provides information about the fan health to user space. |
| 27 |
The user space shall be informed if the fan is removed or blocked. |
| 28 |
Additionally, the speed in RPM is reported for fans with tacho signal. |
| 29 |
|
| 30 |
For fan control PWM is supported. For PWM 255 equals 100%. None-regulable |
| 31 |
fans can be turned on with PWM 255 and turned off with PWM 0. |
| 32 |
|
| 33 |
====================== ==== =================================================== |
| 34 |
Attribute R/W Contents |
| 35 |
====================== ==== =================================================== |
| 36 |
fan1_fault R Fan fault |
| 37 |
fan1_input R Fan tachometer input (in RPM) |
| 38 |
pwm1 RW Fan target duty cycle (0..255) |
| 39 |
====================== ==== =================================================== |