linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: timer: Convert cnxt,cx92755-timer to DT schema
@ 2025-05-06  2:22 Rob Herring (Arm)
  2025-05-06  3:16 ` Baruch Siach
  2025-05-13 14:31 ` Daniel Lezcano
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-05-06  2:22 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, Krzysztof Kozlowski,
	Conor Dooley, Baruch Siach
  Cc: linux-kernel, devicetree, linux-arm-kernel

Convert the Conexant Digicolor SoCs Timer binding to DT schema format.
It's a straight-forward conversion.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 .../bindings/timer/cnxt,cx92755-timer.yaml    | 49 +++++++++++++++++++
 .../bindings/timer/digicolor-timer.txt        | 18 -------
 2 files changed, 49 insertions(+), 18 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/timer/cnxt,cx92755-timer.yaml
 delete mode 100644 Documentation/devicetree/bindings/timer/digicolor-timer.txt

diff --git a/Documentation/devicetree/bindings/timer/cnxt,cx92755-timer.yaml b/Documentation/devicetree/bindings/timer/cnxt,cx92755-timer.yaml
new file mode 100644
index 000000000000..8f1a5af32a36
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/cnxt,cx92755-timer.yaml
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/cnxt,cx92755-timer.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Conexant Digicolor SoCs Timer Controller
+
+maintainers:
+  - Baruch Siach <baruch@tkos.co.il>
+
+properties:
+  compatible:
+    const: cnxt,cx92755-timer
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    description: Contains 8 interrupts, one for each timer
+    items:
+      - description: interrupt for timer 0
+      - description: interrupt for timer 1
+      - description: interrupt for timer 2
+      - description: interrupt for timer 3
+      - description: interrupt for timer 4
+      - description: interrupt for timer 5
+      - description: interrupt for timer 6
+      - description: interrupt for timer 7
+
+  clocks:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - clocks
+
+additionalProperties: false
+
+examples:
+  - |
+    timer@f0000fc0 {
+      compatible = "cnxt,cx92755-timer";
+      reg = <0xf0000fc0 0x40>;
+      interrupts = <19>, <31>, <34>, <35>, <52>, <53>, <54>, <55>;
+      clocks = <&main_clk>;
+    };
diff --git a/Documentation/devicetree/bindings/timer/digicolor-timer.txt b/Documentation/devicetree/bindings/timer/digicolor-timer.txt
deleted file mode 100644
index d1b659bbc29f..000000000000
--- a/Documentation/devicetree/bindings/timer/digicolor-timer.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-Conexant Digicolor SoCs Timer Controller
-
-Required properties:
-
-- compatible : should be "cnxt,cx92755-timer"
-- reg : Specifies base physical address and size of the "Agent Communication"
-  timer registers
-- interrupts : Contains 8 interrupts, one for each timer
-- clocks: phandle to the main clock
-
-Example:
-
-	timer@f0000fc0 {
-		compatible = "cnxt,cx92755-timer";
-		reg = <0xf0000fc0 0x40>;
-		interrupts = <19>, <31>, <34>, <35>, <52>, <53>, <54>, <55>;
-		clocks = <&main_clk>;
-	};
-- 
2.47.2



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

* Re: [PATCH] dt-bindings: timer: Convert cnxt,cx92755-timer to DT schema
  2025-05-06  2:22 [PATCH] dt-bindings: timer: Convert cnxt,cx92755-timer to DT schema Rob Herring (Arm)
@ 2025-05-06  3:16 ` Baruch Siach
  2025-05-13 14:31 ` Daniel Lezcano
  1 sibling, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2025-05-06  3:16 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: Daniel Lezcano, Thomas Gleixner, Krzysztof Kozlowski,
	Conor Dooley, linux-kernel, devicetree, linux-arm-kernel

Hi Rob,

On Mon, May 05 2025, Rob Herring (Arm) wrote:

> Convert the Conexant Digicolor SoCs Timer binding to DT schema format.
> It's a straight-forward conversion.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

Acked-by: Baruch Siach <baruch@tkos.co.il>

Thanks,
baruch

> ---
>  .../bindings/timer/cnxt,cx92755-timer.yaml    | 49 +++++++++++++++++++
>  .../bindings/timer/digicolor-timer.txt        | 18 -------
>  2 files changed, 49 insertions(+), 18 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/timer/cnxt,cx92755-timer.yaml
>  delete mode 100644 Documentation/devicetree/bindings/timer/digicolor-timer.txt
>
> diff --git a/Documentation/devicetree/bindings/timer/cnxt,cx92755-timer.yaml
> b/Documentation/devicetree/bindings/timer/cnxt,cx92755-timer.yaml
> new file mode 100644
> index 000000000000..8f1a5af32a36
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/timer/cnxt,cx92755-timer.yaml
> @@ -0,0 +1,49 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/cnxt,cx92755-timer.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Conexant Digicolor SoCs Timer Controller
> +
> +maintainers:
> +  - Baruch Siach <baruch@tkos.co.il>
> +
> +properties:
> +  compatible:
> +    const: cnxt,cx92755-timer
> +
> +  reg:
> +    maxItems: 1
> +
> +  interrupts:
> +    description: Contains 8 interrupts, one for each timer
> +    items:
> +      - description: interrupt for timer 0
> +      - description: interrupt for timer 1
> +      - description: interrupt for timer 2
> +      - description: interrupt for timer 3
> +      - description: interrupt for timer 4
> +      - description: interrupt for timer 5
> +      - description: interrupt for timer 6
> +      - description: interrupt for timer 7
> +
> +  clocks:
> +    maxItems: 1
> +
> +required:
> +  - compatible
> +  - reg
> +  - interrupts
> +  - clocks
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    timer@f0000fc0 {
> +      compatible = "cnxt,cx92755-timer";
> +      reg = <0xf0000fc0 0x40>;
> +      interrupts = <19>, <31>, <34>, <35>, <52>, <53>, <54>, <55>;
> +      clocks = <&main_clk>;
> +    };
> diff --git a/Documentation/devicetree/bindings/timer/digicolor-timer.txt
> b/Documentation/devicetree/bindings/timer/digicolor-timer.txt
> deleted file mode 100644
> index d1b659bbc29f..000000000000
> --- a/Documentation/devicetree/bindings/timer/digicolor-timer.txt
> +++ /dev/null
> @@ -1,18 +0,0 @@
> -Conexant Digicolor SoCs Timer Controller
> -
> -Required properties:
> -
> -- compatible : should be "cnxt,cx92755-timer"
> -- reg : Specifies base physical address and size of the "Agent Communication"
> -  timer registers
> -- interrupts : Contains 8 interrupts, one for each timer
> -- clocks: phandle to the main clock
> -
> -Example:
> -
> -	timer@f0000fc0 {
> -		compatible = "cnxt,cx92755-timer";
> -		reg = <0xf0000fc0 0x40>;
> -		interrupts = <19>, <31>, <34>, <35>, <52>, <53>, <54>, <55>;
> -		clocks = <&main_clk>;
> -	};

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -


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

* Re: [PATCH] dt-bindings: timer: Convert cnxt,cx92755-timer to DT schema
  2025-05-06  2:22 [PATCH] dt-bindings: timer: Convert cnxt,cx92755-timer to DT schema Rob Herring (Arm)
  2025-05-06  3:16 ` Baruch Siach
@ 2025-05-13 14:31 ` Daniel Lezcano
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Lezcano @ 2025-05-13 14:31 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: Thomas Gleixner, Krzysztof Kozlowski, Conor Dooley, Baruch Siach,
	linux-kernel, devicetree, linux-arm-kernel

On Mon, May 05, 2025 at 09:22:31PM -0500, Rob Herring wrote:
> Convert the Conexant Digicolor SoCs Timer binding to DT schema format.
> It's a straight-forward conversion.
> 
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---

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-05-13 14:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-06  2:22 [PATCH] dt-bindings: timer: Convert cnxt,cx92755-timer to DT schema Rob Herring (Arm)
2025-05-06  3:16 ` Baruch Siach
2025-05-13 14:31 ` 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).