mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 17:41:22 +00:00
90905f7c40
The GXP SoC can support up to 16 fans through the interface provided by the CPLD. The current support is limited to 8 fans. The fans speeds are controlled via 8 different PWMs which can vary in value from 0-255. The fans are also capable of reporting if they have failed to the CPLD which in turn reports the status to the GXP SoC. Signed-off-by: Nick Hawkins <nick.hawkins@hpe.com> Link: https://lore.kernel.org/r/20230103203654.59322-2-nick.hawkins@hpe.com [groeck: Improved alignment of defined, added missing include linux/bits.h] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
29 lines
758 B
ReStructuredText
29 lines
758 B
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
Kernel driver gxp-fan-ctrl
|
|
==========================
|
|
|
|
Supported chips:
|
|
|
|
* HPE GXP SOC
|
|
|
|
Author: Nick Hawkins <nick.hawkins@hpe.com>
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
gxp-fan-ctrl is a driver which provides fan control for the hpe gxp soc.
|
|
The driver allows the gathering of fan status and the use of fan
|
|
PWM control.
|
|
|
|
|
|
Sysfs attributes
|
|
----------------
|
|
|
|
======================= ===========================================================
|
|
pwm[0-7] Fan 0 to 7 respective PWM value (0-255)
|
|
fan[0-7]_fault Fan 0 to 7 respective fault status: 1 fail, 0 ok
|
|
fan[0-7]_enable Fan 0 to 7 respective enabled status: 1 enabled, 0 disabled
|
|
======================= ===========================================================
|