hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.. SPDX-License-Identifier: GPL-2.0-only
 
Kernel driver sl28cpld
======================
 
Supported chips:
 
   * Kontron sl28cpld
 
     Prefix: 'sl28cpld'
 
     Datasheet: not available
 
Authors: Michael Walle <michael@walle.cc>
 
Description
-----------
 
The sl28cpld is a board management controller which also exposes a hardware
monitoring controller. At the moment this controller supports a single fan
supervisor. In the future there might be other flavours and additional
hardware monitoring might be supported.
 
The fan supervisor has a 7 bit counter register and a counter period of 1
second. If the 7 bit counter overflows, the supervisor will automatically
switch to x8 mode to support a wider input range at the loss of
granularity.
 
Sysfs entries
-------------
 
The following attributes are supported.
 
======================= ========================================================
fan1_input        Fan RPM. Assuming 2 pulses per revolution.
======================= ========================================================