mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00:00
7e1449cd15
The driver support two functions: PWM and Tachometer. The PWM feature can handle up to 16 output ports, while the Tachometer can monitor to up to 16 input ports as well. This driver implements them by exposing two kernel subsystems: PWM and HWMON. The PWM subsystem can be utilized alongside existing drivers for controlling elements such as fans (pwm-fan.c), beepers (pwm-beeper.c) and so on. Through the HWMON subsystem, the driver provides sysfs interfaces for fan. Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com> Link: https://lore.kernel.org/r/20240221104025.1306227-4-billy_tsai@aspeedtech.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
27 lines
895 B
ReStructuredText
27 lines
895 B
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
Kernel driver aspeed-g6-pwm-tach
|
|
=================================
|
|
|
|
Supported chips:
|
|
ASPEED AST2600
|
|
|
|
Authors:
|
|
<billy_tsai@aspeedtech.com>
|
|
|
|
Description:
|
|
------------
|
|
This driver implements support for ASPEED AST2600 Fan Tacho controller.
|
|
The controller supports up to 16 tachometer inputs.
|
|
|
|
The driver provides the following sensor accesses in sysfs:
|
|
|
|
=============== ======= ======================================================
|
|
fanX_input ro provide current fan rotation value in RPM as reported
|
|
by the fan to the device.
|
|
fanX_div rw Fan divisor: Supported value are power of 4 (1, 4, 16
|
|
64, ... 4194304)
|
|
The larger divisor, the less rpm accuracy and the less
|
|
affected by fan signal glitch.
|
|
=============== ======= ======================================================
|