Skip to contentSkip to conversation

dt-bindings: timer: Convert snps,arc-timer to DT schema

PATCH Applied Rob Herring (Arm) 3 participants 3 messages May 6, 2025 – May 21, 2025

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: timer: Convert snps,arc-timer to DT schema

Convert the Synopsys ARC Local Timer binding to DT schema format. It's a straight-forward conversion.

---
 .../bindings/timer/snps,arc-timer.txt         | 27 -----------
 .../bindings/timer/snps,arc-timer.yaml        | 45 +++++++++++++++++++
 2 files changed, 45 insertions(+), 27 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/timer/snps,arc-timer.txt
 create mode 100644 Documentation/devicetree/bindings/timer/snps,arc-timer.yaml
Documentation/devicetree/bindings/timer/snps,arc-timer.txt deleted +0 -27
deleted file mode 100644
index b02ab0af10ce..000000000000
@@ -1,27 +0,0 @@
-Synopsys ARC Local Timer with Interrupt Capabilities
-- Found on all ARC CPUs (ARC700/ARCHS)
-- Can be optionally programmed to interrupt on Limit
-- Two identical copies TIMER0 and TIMER1 exist in ARC cores and historically
-  TIMER0 used as clockevent provider (true for all ARC cores)
-  TIMER1 used for clocksource (mandatory for ARC700, optional for ARC HS)
-
-Required properties:
-
-- compatible : should be "snps,arc-timer"
-- interrupts : single Interrupt going into parent intc
-	       (16 for ARCHS cores, 3 for ARC700 cores)
-- clocks     : phandle to the source clock
-
-Example:
-
-	timer0 {
-		compatible = "snps,arc-timer";
-		interrupts = <3>;
-		interrupt-parent = <&core_intc>;
-		clocks = <&core_clk>;
-	};
-
-	timer1 {
-		compatible = "snps,arc-timer";
-		clocks = <&core_clk>;
-	};
Documentation/devicetree/bindings/timer/snps,arc-timer.yaml new file +45 -0

45 lines not on this page · raw message

Signature · 1 line
2.47.2
#1 lore raw
Quoted 5 lines · Rob Herring

Convert the Synopsys ARC Local Timer binding to DT schema format. It's a straight-forward conversion.

---

Applied, thanks

Signature · 5 lines
 <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
#2 lore raw
In reply to Rob Herring (Arm)
The following commit has been merged into the timers/clocksource branch of tip:

The following commit has been merged into the timers/clocksource branch of tip:

Commit-ID:     960a2f4c7f5fc4231b9295d44a28721830d3e316
Gitweb:        https://git.kernel.org/tip/960a2f4c7f5fc4231b9295d44a28721830d3e316
Author:        Rob Herring (Arm) <[email protected]>
AuthorDate:    Mon, 05 May 2025 21:23:16 -05:00
Committer:     Daniel Lezcano <[email protected]>
CommitterDate: Fri, 16 May 2025 11:10:34 +02:00

dt-bindings: timer: Convert snps,arc-timer to DT schema

Convert the Synopsys ARC Local Timer binding to DT schema format. It's a straight-forward conversion.

---
 Documentation/devicetree/bindings/timer/snps,arc-timer.txt  | 27 +----
 Documentation/devicetree/bindings/timer/snps,arc-timer.yaml | 45 +++++++-
 2 files changed, 45 insertions(+), 27 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/timer/snps,arc-timer.txt
 create mode 100644 Documentation/devicetree/bindings/timer/snps,arc-timer.yaml
Documentation/devicetree/bindings/timer/snps,arc-timer.txt deleted +0 -27
deleted file mode 100644
index b02ab0a..0000000
@@ -1,27 +0,0 @@
-Synopsys ARC Local Timer with Interrupt Capabilities
-- Found on all ARC CPUs (ARC700/ARCHS)
-- Can be optionally programmed to interrupt on Limit
-- Two identical copies TIMER0 and TIMER1 exist in ARC cores and historically
-  TIMER0 used as clockevent provider (true for all ARC cores)
-  TIMER1 used for clocksource (mandatory for ARC700, optional for ARC HS)
-
-Required properties:
-
-- compatible : should be "snps,arc-timer"
-- interrupts : single Interrupt going into parent intc
-	       (16 for ARCHS cores, 3 for ARC700 cores)
-- clocks     : phandle to the source clock
-
-Example:
-
-	timer0 {
-		compatible = "snps,arc-timer";
-		interrupts = <3>;
-		interrupt-parent = <&core_intc>;
-		clocks = <&core_clk>;
-	};
-
-	timer1 {
-		compatible = "snps,arc-timer";
-		clocks = <&core_clk>;
-	};
Documentation/devicetree/bindings/timer/snps,arc-timer.yaml new file +45 -0

45 lines not on this page · raw message