fansensor: add compatible string for ast2600 tach
Add `aspeed,ast2600-pwm-tach` as compatible string for ast2600 pwm tach
driver.
This commit relies on the kernel patch below.
[1] https://lore.kernel.org/all/20240221104025.1306227-1-billy_tsai@aspeedtech.com/
Tested on Bletchley.
Change-Id: Ia2fcf6cd8856edfb15871a3b68a8ffbc13b8025d
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
diff --git a/src/FanMain.cpp b/src/FanMain.cpp
index a7b8b72..484cfbb 100644
--- a/src/FanMain.cpp
+++ b/src/FanMain.cpp
@@ -80,6 +80,7 @@
static const std::map<std::string, FanTypes> compatibleFanTypes = {
{"aspeed,ast2400-pwm-tacho", FanTypes::aspeed},
{"aspeed,ast2500-pwm-tacho", FanTypes::aspeed},
+ {"aspeed,ast2600-pwm-tach", FanTypes::aspeed},
{"nuvoton,npcm750-pwm-fan", FanTypes::nuvoton},
{"nuvoton,npcm845-pwm-fan", FanTypes::nuvoton},
{"hpe,gxp-fan-ctrl", FanTypes::hpe}