devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: timer: nxp,sysctr-timer: Add i.MX94 support
@ 2025-03-06 17:09 Frank Li
  2025-03-07 15:57 ` Conor Dooley
  2025-04-30 17:29 ` Daniel Lezcano
  0 siblings, 2 replies; 3+ messages in thread
From: Frank Li @ 2025-03-06 17:09 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bai Ping, open list:CLOCKSOURCE, CLOCKEVENT DRIVERS,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
  Cc: imx

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".

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 .../devicetree/bindings/timer/nxp,sysctr-timer.yaml   | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml b/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml
index 891cca0095281..6b80b060672e5 100644
--- a/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml
+++ b/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml
@@ -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
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: timer: nxp,sysctr-timer: Add i.MX94 support
  2025-03-06 17:09 [PATCH] dt-bindings: timer: nxp,sysctr-timer: Add i.MX94 support Frank Li
@ 2025-03-07 15:57 ` Conor Dooley
  2025-04-30 17:29 ` Daniel Lezcano
  1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2025-03-07 15:57 UTC (permalink / raw)
  To: Frank Li
  Cc: Daniel Lezcano, Thomas Gleixner, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bai Ping, open list:CLOCKSOURCE, CLOCKEVENT DRIVERS,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, imx

[-- Attachment #1: Type: text/plain, Size: 1247 bytes --]

On Thu, Mar 06, 2025 at 12:09:02PM -0500, Frank Li wrote:
> 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".

Acked-by: Conor Dooley <conor.dooley@microchip.com>

> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  .../devicetree/bindings/timer/nxp,sysctr-timer.yaml   | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml b/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml
> index 891cca0095281..6b80b060672e5 100644
> --- a/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml
> +++ b/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml
> @@ -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
> -- 
> 2.34.1
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: timer: nxp,sysctr-timer: Add i.MX94 support
  2025-03-06 17:09 [PATCH] dt-bindings: timer: nxp,sysctr-timer: Add i.MX94 support Frank Li
  2025-03-07 15:57 ` Conor Dooley
@ 2025-04-30 17:29 ` Daniel Lezcano
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Lezcano @ 2025-04-30 17:29 UTC (permalink / raw)
  To: Frank Li
  Cc: Thomas Gleixner, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Bai Ping, open list:CLOCKSOURCE, CLOCKEVENT DRIVERS,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, imx

On Thu, Mar 06, 2025 at 12:09:02PM -0500, Frank Li wrote:
> 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".
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---

Applied, thanks

-- 

 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-30 17:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-06 17:09 [PATCH] dt-bindings: timer: nxp,sysctr-timer: Add i.MX94 support Frank Li
2025-03-07 15:57 ` Conor Dooley
2025-04-30 17:29 ` Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).