Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Billy Tsai and committed by
Guenter Roeck
edbce49e cefb8959

+3
+3
drivers/hwmon/aspeed-g6-pwm-tach.c
··· 528 528 { 529 529 .compatible = "aspeed,ast2600-pwm-tach", 530 530 }, 531 + { 532 + .compatible = "aspeed,ast2700-pwm-tach", 533 + }, 531 534 {}, 532 535 }; 533 536 MODULE_DEVICE_TABLE(of, aspeed_pwm_tach_match);