hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach
authorBilly Tsai <billy_tsai@aspeedtech.com>
Wed, 21 Feb 2024 10:40:25 +0000 (18:40 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 7 Mar 2024 18:50:16 +0000 (10:50 -0800)
commit7e1449cd15d1096157d1a9923b82e37602fb7eb0
tree9434aef0a2ba327c35fd73a2135f66fae43567ed
parentdf9d235c300d143d319ff8373988ef213ec19024
hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach

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>
Documentation/hwmon/aspeed-g6-pwm-tach.rst [new file with mode: 0644]
Documentation/hwmon/index.rst
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/aspeed-g6-pwm-tach.c [new file with mode: 0644]