mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
3f697027bc
Add support for the hardware monitoring controller of the sl28cpld board management controller. This driver is part of a multi-function device. Signed-off-by: Michael Walle <michael@walle.cc> Acked-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
37 lines
1.0 KiB
ReStructuredText
37 lines
1.0 KiB
ReStructuredText
.. 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.
|
|
======================= ========================================================
|