* [PATCH v3 0/2] Add "aspeed,ast2700-pwm-tach" compatible string
@ 2025-11-20 11:12 Billy Tsai
2025-11-20 11:12 ` [PATCH v3 1/2] dt-bindings: hwmon: Add AST2700 compatible Billy Tsai
2025-11-20 11:12 ` [PATCH v3 2/2] hwmon: (aspeed-g6-pwm-tach): Add AST2700 compatible string Billy Tsai
0 siblings, 2 replies; 6+ messages in thread
From: Billy Tsai @ 2025-11-20 11:12 UTC (permalink / raw)
To: Guenter Roeck, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Joel Stanley, Andrew Jeffery, Billy Tsai
Cc: linux-hwmon, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel, BMC-SW
Adds the "aspeed,ast2700-pwm-tach" compatible string, which provides
fallback support for the previous version of the hardware design, to
the PWM/TACH dt-binding and driver.
---
Changes in v3:
- Drop the comments
- Link to v2: https://lore.kernel.org/r/20251118-upstream_pwm_tach-v2-0-4d9bc13d34f9@aspeedtech.com
Changes in v2:
- Reworked the binding to use a two-level compatible list with
"aspeed,ast2600-pwm-tach" as the fallback.
- Link to v1: https://lore.kernel.org/r/20251104055112.2679087-1-billy_tsai@aspeedtech.com
---
Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
---
Billy Tsai (2):
dt-bindings: hwmon: Add AST2700 compatible
hwmon: (aspeed-g6-pwm-tach): Add AST2700 compatible string
Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml | 7 +++++--
drivers/hwmon/aspeed-g6-pwm-tach.c | 3 +++
2 files changed, 8 insertions(+), 2 deletions(-)
---
base-commit: e7c375b181600caf135cfd03eadbc45eb530f2cb
change-id: 20251118-upstream_pwm_tach-57fba779ce84
Best regards,
--
Billy Tsai <billy_tsai@aspeedtech.com>
^ permalink raw reply [flat|nested] 6+ messages in thread* [PATCH v3 1/2] dt-bindings: hwmon: Add AST2700 compatible
2025-11-20 11:12 [PATCH v3 0/2] Add "aspeed,ast2700-pwm-tach" compatible string Billy Tsai
@ 2025-11-20 11:12 ` Billy Tsai
2025-11-20 13:42 ` Krzysztof Kozlowski
2025-11-21 19:20 ` Guenter Roeck
2025-11-20 11:12 ` [PATCH v3 2/2] hwmon: (aspeed-g6-pwm-tach): Add AST2700 compatible string Billy Tsai
1 sibling, 2 replies; 6+ messages in thread
From: Billy Tsai @ 2025-11-20 11:12 UTC (permalink / raw)
To: Guenter Roeck, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Joel Stanley, Andrew Jeffery, Billy Tsai
Cc: linux-hwmon, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel, BMC-SW
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.
Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
---
Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml b/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml
index 9e5ed901ae54..851fb16ec7fa 100644
--- a/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml
+++ b/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml
@@ -18,8 +18,11 @@ description: |
properties:
compatible:
- enum:
- - aspeed,ast2600-pwm-tach
+ oneOf:
+ - items:
+ - const: aspeed,ast2700-pwm-tach
+ - const: aspeed,ast2600-pwm-tach
+ - const: aspeed,ast2600-pwm-tach
reg:
maxItems: 1
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH v3 1/2] dt-bindings: hwmon: Add AST2700 compatible
2025-11-20 11:12 ` [PATCH v3 1/2] dt-bindings: hwmon: Add AST2700 compatible Billy Tsai
@ 2025-11-20 13:42 ` Krzysztof Kozlowski
2025-11-21 19:20 ` Guenter Roeck
1 sibling, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2025-11-20 13:42 UTC (permalink / raw)
To: Billy Tsai, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Joel Stanley, Andrew Jeffery
Cc: linux-hwmon, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel, BMC-SW
On 20/11/2025 12:12, Billy Tsai wrote:
> 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.
>
> Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v3 1/2] dt-bindings: hwmon: Add AST2700 compatible
2025-11-20 11:12 ` [PATCH v3 1/2] dt-bindings: hwmon: Add AST2700 compatible Billy Tsai
2025-11-20 13:42 ` Krzysztof Kozlowski
@ 2025-11-21 19:20 ` Guenter Roeck
1 sibling, 0 replies; 6+ messages in thread
From: Guenter Roeck @ 2025-11-21 19:20 UTC (permalink / raw)
To: Billy Tsai
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, linux-hwmon, devicetree, linux-arm-kernel,
linux-aspeed, linux-kernel, BMC-SW
On Thu, Nov 20, 2025 at 07:12:31PM +0800, Billy Tsai wrote:
> 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.
>
> Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Applied.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v3 2/2] hwmon: (aspeed-g6-pwm-tach): Add AST2700 compatible string
2025-11-20 11:12 [PATCH v3 0/2] Add "aspeed,ast2700-pwm-tach" compatible string Billy Tsai
2025-11-20 11:12 ` [PATCH v3 1/2] dt-bindings: hwmon: Add AST2700 compatible Billy Tsai
@ 2025-11-20 11:12 ` Billy Tsai
2025-11-21 19:21 ` Guenter Roeck
1 sibling, 1 reply; 6+ messages in thread
From: Billy Tsai @ 2025-11-20 11:12 UTC (permalink / raw)
To: Guenter Roeck, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Joel Stanley, Andrew Jeffery, Billy Tsai
Cc: linux-hwmon, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel, BMC-SW
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>
---
drivers/hwmon/aspeed-g6-pwm-tach.c | 3 +++
1 file changed, 3 insertions(+)
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);
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH v3 2/2] hwmon: (aspeed-g6-pwm-tach): Add AST2700 compatible string
2025-11-20 11:12 ` [PATCH v3 2/2] hwmon: (aspeed-g6-pwm-tach): Add AST2700 compatible string Billy Tsai
@ 2025-11-21 19:21 ` Guenter Roeck
0 siblings, 0 replies; 6+ messages in thread
From: Guenter Roeck @ 2025-11-21 19:21 UTC (permalink / raw)
To: Billy Tsai
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, linux-hwmon, devicetree, linux-arm-kernel,
linux-aspeed, linux-kernel, BMC-SW
On Thu, Nov 20, 2025 at 07:12:32PM +0800, Billy Tsai wrote:
> 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>
Applied.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-11-21 19:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-20 11:12 [PATCH v3 0/2] Add "aspeed,ast2700-pwm-tach" compatible string Billy Tsai
2025-11-20 11:12 ` [PATCH v3 1/2] dt-bindings: hwmon: Add AST2700 compatible Billy Tsai
2025-11-20 13:42 ` Krzysztof Kozlowski
2025-11-21 19:20 ` Guenter Roeck
2025-11-20 11:12 ` [PATCH v3 2/2] hwmon: (aspeed-g6-pwm-tach): Add AST2700 compatible string Billy Tsai
2025-11-21 19:21 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox