summaryrefslogtreecommitdiff
path: root/drivers/hwmon/aspeed-g6-pwm-tach.c
diff options
context:
space:
mode:
authorBilly Tsai <billy_tsai@aspeedtech.com>2025-11-20 19:12:32 +0800
committerGuenter Roeck <linux@roeck-us.net>2025-11-21 11:20:59 -0800
commitedbce49ea6535a56aac3a5e211cf7af873d7221d (patch)
tree38e005357a63dc9dccbe893cc3176532bdad3a3a /drivers/hwmon/aspeed-g6-pwm-tach.c
parentcefb89592e3217884138d4450ad14bc3415e1d76 (diff)
hwmon: (aspeed-g6-pwm-tach): Add AST2700 compatible string
Extends device tree support to include the AST2700 chip variant by adding its compatible string to the device match table. The AST2700 PWM/TACH hardware is compatible with the existing driver implementation used for AST2600. Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com> Link: https://lore.kernel.org/r/20251120-upstream_pwm_tach-v3-2-eaa2f9b300a2@aspeedtech.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/aspeed-g6-pwm-tach.c')
-rw-r--r--drivers/hwmon/aspeed-g6-pwm-tach.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hwmon/aspeed-g6-pwm-tach.c b/drivers/hwmon/aspeed-g6-pwm-tach.c
index 4174b129d1fc..44e1ecba205d 100644
--- a/drivers/hwmon/aspeed-g6-pwm-tach.c
+++ b/drivers/hwmon/aspeed-g6-pwm-tach.c
@@ -528,6 +528,9 @@ static const struct of_device_id aspeed_pwm_tach_match[] = {
{
.compatible = "aspeed,ast2600-pwm-tach",
},
+ {
+ .compatible = "aspeed,ast2700-pwm-tach",
+ },
{},
};
MODULE_DEVICE_TABLE(of, aspeed_pwm_tach_match);