Skip to contentSkip to conversation

dt-bindings: timer: nxp,sysctr-timer: Add i.MX94 support

PATCH RESEND Applied Frank Li 2 participants 2 messages Apr 7, 2025

Subsystems (2)
lore
Share & tools
lore

Frank Li

author
#0 lore raw

PATCH RESEND 1/1 dt-bindings: timer: nxp,sysctr-timer: Add i.MX94 support

Add compatible string "nxp,imx94-sysctr-timer" for the i.MX94 chip, which is backward compatible with i.MX95. Set it to fall back to "nxp,imx95-sysctr-timer".

---
RESET collect Conor Dooley's ack

---
 .../devicetree/bindings/timer/nxp,sysctr-timer.yaml   | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml +8 -3
index 891cca0095281..6b80b060672e5 100644
@@ -18,9 +18,14 @@ description: |
 
 properties:
   compatible:
-    enum:
-      - nxp,imx95-sysctr-timer
-      - nxp,sysctr-timer
+    oneOf:
+      - enum:
+          - nxp,imx95-sysctr-timer
+          - nxp,sysctr-timer
+      - items:
+          - enum:
+              - nxp,imx94-sysctr-timer
+          - const: nxp,imx95-sysctr-timer
 
   reg:
     maxItems: 1
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 4 lines · Frank Li

Add compatible string "nxp,imx94-sysctr-timer" for the i.MX94 chip, which is backward compatible with i.MX95. Set it to fall back to "nxp,imx95-sysctr-timer".

Quoted 8 lines

---
RESET collect Conor Dooley's ack

---
 .../devicetree/bindings/timer/nxp,sysctr-timer.yaml   | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Applied, thanks!