dt-bindings: timer: Convert snps,arc-timer to DT schema
Subsystems (2)
Rob Herring (Arm)
maintainerPATCH 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.
Signed-off-by Rob Herring (Arm) <[email protected]>
--- .../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
@@ -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
Daniel Lezcano
AppliedQuoted 5 lines · Rob Herring
Convert the Synopsys ARC Local Timer binding to DT schema format. It's a straight-forward conversion.
Signed-off-by Rob Herring (Arm) <[email protected]>---
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
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.
Signed-off-by Rob Herring (Arm) <[email protected]>
Signed-off-by Daniel Lezcano <[email protected]>
--- 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
@@ -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