Skip to contentSkip to conversation

rtc: aspeed: Add AST2700 RTC support

PATCH Applied Tommy Huang 3 participants 5 messages Jun 1 – Jun 24

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover rtc: aspeed: Add AST2700 RTC support

This patch series adds support for the ASPEED AST2700 RTC define, includeing dt-binding in the Document and rtc-aspeed.c

---
Tommy Huang (2):
dt-bindings: rtc: add ASPEED AST2700 compatible
rtc: aspeed: add AST2700 compatible

 Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 ++
 drivers/rtc/rtc-aspeed.c                               | 1 +
 2 files changed, 3 insertions(+)

---
base-commit: e43ffb69e0438cddd72aaa30898b4dc446f664f8
change-id: 20260601-ast2700-rtc-d4adb51d2148

Best regards,

Signature · 1 line
Tommy Huang <[email protected]>
#1 lore raw

PATCH 1/2 dt-bindings: rtc: add ASPEED AST2700 compatible

Document the compatible string for the RTC controller found on ASPEED AST2700 SoCs.

---
 Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/rtc/trivial-rtc.yaml +2 -0
index 722176c831aa..f4d0eed98a08 100644
@@ -30,6 +30,8 @@ properties:
       - aspeed,ast2500-rtc
       # ASPEED BMC ast2600 Real-time Clock
       - aspeed,ast2600-rtc
+      # ASPEED BMC ast2700 Real-time Clock
+      - aspeed,ast2700-rtc
       # Conexant Digicolor Real Time Clock Controller
       - cnxt,cx92755-rtc
       # I2C, 32-Bit Binary Counter Watchdog RTC with Trickle Charger and Reset Input/Output
Signature · 1 line
2.34.1
#3 lore raw

PATCH 2/2 rtc: aspeed: add AST2700 compatible

In reply to Tommy Huang

Add support for matching the RTC controller on ASPEED AST2700 SoCs.

The AST2700 RTC controller is compatible with the existing ASPEED RTC driver implementation.

---
 drivers/rtc/rtc-aspeed.c | 1 +
 1 file changed, 1 insertion(+)
drivers/rtc/rtc-aspeed.c +1 -0
index 0d0053b52f9b..8f5b440f8c0a 100644
@@ -111,6 +111,7 @@ static const struct of_device_id aspeed_rtc_match[] = {
 	{ .compatible = "aspeed,ast2400-rtc", },
 	{ .compatible = "aspeed,ast2500-rtc", },
 	{ .compatible = "aspeed,ast2600-rtc", },
+	{ .compatible = "aspeed,ast2700-rtc", },
 	{}
 };
 MODULE_DEVICE_TABLE(of, aspeed_rtc_match);
Signature · 1 line
2.34.1
maintainer Applied
#4 lore raw
In reply to Tommy Huang
Quoted 2 lines · Tommy Huang

This patch series adds support for the ASPEED AST2700 RTC define, includeing dt-binding in the Document and rtc-aspeed.c

Applied, thanks!

[1/2] dt-bindings: rtc: add ASPEED AST2700 compatible

      https://git.kernel.org/abelloni/c/5e7f746bc106
[2/2] rtc: aspeed: add AST2700 compatible
      https://git.kernel.org/abelloni/c/3319cfeeb8c4

Best regards,

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com