Skip to content

Commit edbce49

Browse files
billy-tsaigroeck
authored andcommitted
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>
1 parent cefb895 commit edbce49

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/hwmon/aspeed-g6-pwm-tach.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,9 @@ static const struct of_device_id aspeed_pwm_tach_match[] = {
528528
{
529529
.compatible = "aspeed,ast2600-pwm-tach",
530530
},
531+
{
532+
.compatible = "aspeed,ast2700-pwm-tach",
533+
},
531534
{},
532535
};
533536
MODULE_DEVICE_TABLE(of, aspeed_pwm_tach_match);

0 commit comments

Comments
 (0)