Skip to contentSkip to conversation

dt-bindings: hwmon: Add AST2700 compatible

PATCH Superseded Billy Tsai 2 participants 3 messages Nov 4, 2025

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Billy Tsai

author reviewer
#0 lore raw

PATCH 1/2 dt-bindings: hwmon: Add AST2700 compatible

Adds support for the AST2700 PWM/Tach controller by extending the compatible string enumeration in the device tree binding.

The AST2700 PWM/Tach hardware is compatible with the existing binding schema and requires no additional properties or modifications beyond the new compatible string.

---
 Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml +1 -0
index 9e5ed901ae54..d6ff4182085e 100644
@@ -20,6 +20,7 @@ properties:
   compatible:
     enum:
       - aspeed,ast2600-pwm-tach
+      - aspeed,ast2700-pwm-tach
 
   reg:
     maxItems: 1
Signature · 1 line
2.25.1
author reviewer
#1 lore raw

PATCH 2/2 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.

---
 drivers/hwmon/aspeed-g6-pwm-tach.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/hwmon/aspeed-g6-pwm-tach.c +3 -0
index 4174b129d1fc..44e1ecba205d 100644
@@ -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);
Signature · 1 line
2.25.1
#2 lore raw
In reply to Billy Tsai
Quoted 6 lines · Billy Tsai

Adds support for the AST2700 PWM/Tach controller by extending the compatible string enumeration in the device tree binding.

The AST2700 PWM/Tach hardware is compatible with the existing binding schema and requires no additional properties or modifications beyond the new compatible string.

With this commit message, I expected there to be a fallback compatible. Why isn't one used?

Quoted 21 lines
---
 Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml +1 -0
index 9e5ed901ae54..d6ff4182085e 100644
@@ -20,6 +20,7 @@ properties:
   compatible:
     enum:
       - aspeed,ast2600-pwm-tach
+      - aspeed,ast2700-pwm-tach
 
   reg:
     maxItems: 1
Signature · 1 line
2.25.1