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