diff options
author | Billy Tsai <billy_tsai@aspeedtech.com> | 2024-02-21 18:40:25 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-03-07 10:50:16 -0800 |
commit | 7e1449cd15d1096157d1a9923b82e37602fb7eb0 (patch) | |
tree | 9434aef0a2ba327c35fd73a2135f66fae43567ed /drivers/hwmon/Kconfig | |
parent | df9d235c300d143d319ff8373988ef213ec19024 (diff) | |
download | linux-stable-7e1449cd15d1096157d1a9923b82e37602fb7eb0.tar.gz linux-stable-7e1449cd15d1096157d1a9923b82e37602fb7eb0.tar.bz2 linux-stable-7e1449cd15d1096157d1a9923b82e37602fb7eb0.zip |
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>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r-- | drivers/hwmon/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 56260821d658..83945397b6eb 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -422,6 +422,17 @@ config SENSORS_ASPEED This driver can also be built as a module. If so, the module will be called aspeed_pwm_tacho. +config SENSORS_ASPEED_G6 + tristate "ASPEED g6 PWM and Fan tach driver" + depends on ARCH_ASPEED || COMPILE_TEST + depends on PWM + help + This driver provides support for ASPEED G6 PWM and Fan Tach + controllers. + + This driver can also be built as a module. If so, the module + will be called aspeed_pwm_tacho. + config SENSORS_ATXP1 tristate "Attansic ATXP1 VID controller" depends on I2C |