Skip to contentSkip to conversation

dt-bindings: timer: Convert ti,keystone-timer to DT schema

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

Subsystems (2)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: timer: Convert ti,keystone-timer to DT schema

Convert the TI Keystone Timer binding to DT schema format. It's a straight-forward conversion.

---
 .../bindings/timer/ti,keystone-timer.txt      | 29 ---------
 .../bindings/timer/ti,keystone-timer.yaml     | 63 +++++++++++++++++++
 2 files changed, 63 insertions(+), 29 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/timer/ti,keystone-timer.txt
 create mode 100644 Documentation/devicetree/bindings/timer/ti,keystone-timer.yaml
Documentation/devicetree/bindings/timer/ti,keystone-timer.txt deleted +0 -29
deleted file mode 100644
index d3905a5412b8..000000000000
@@ -1,29 +0,0 @@
-* Device tree bindings for Texas instruments Keystone timer
-
-This document provides bindings for the 64-bit timer in the KeyStone
-architecture devices. The timer can be configured as a general-purpose 64-bit
-timer, dual general-purpose 32-bit timers. When configured as dual 32-bit
-timers, each half can operate in conjunction (chain mode) or independently
-(unchained mode) of each other.
-
-It is global timer is a free running up-counter and can generate interrupt
-when the counter reaches preset counter values.
-
-Documentation:
-https://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf
-
-Required properties:
-
-- compatible : should be "ti,keystone-timer".
-- reg : specifies base physical address and count of the registers.
-- interrupts : interrupt generated by the timer.
-- clocks : the clock feeding the timer clock.
-
-Example:
-
-timer@22f0000 {
-	compatible = "ti,keystone-timer";
-	reg = <0x022f0000 0x80>;
-	interrupts = <GIC_SPI 110 IRQ_TYPE_EDGE_RISING>;
-	clocks = <&clktimer15>;
-};
Documentation/devicetree/bindings/timer/ti,keystone-timer.yaml new file +63 -0

63 lines not on this page · raw message

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

Convert the TI Keystone 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:     4d54b0b401f4ba97cbd0d65ddfe3dda2576a2500
Gitweb:        https://git.kernel.org/tip/4d54b0b401f4ba97cbd0d65ddfe3dda2576a2500
Author:        Rob Herring (Arm) <[email protected]>
AuthorDate:    Mon, 05 May 2025 21:23:29 -05:00
Committer:     Daniel Lezcano <[email protected]>
CommitterDate: Fri, 16 May 2025 11:10:34 +02:00

dt-bindings: timer: Convert ti,keystone-timer to DT schema

Convert the TI Keystone Timer binding to DT schema format. It's a straight-forward conversion.

---
 Documentation/devicetree/bindings/timer/ti,keystone-timer.txt  | 29 +---
 Documentation/devicetree/bindings/timer/ti,keystone-timer.yaml | 63 +++++++-
 2 files changed, 63 insertions(+), 29 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/timer/ti,keystone-timer.txt
 create mode 100644 Documentation/devicetree/bindings/timer/ti,keystone-timer.yaml
Documentation/devicetree/bindings/timer/ti,keystone-timer.txt deleted +0 -29
deleted file mode 100644
index d3905a5..0000000
@@ -1,29 +0,0 @@
-* Device tree bindings for Texas instruments Keystone timer
-
-This document provides bindings for the 64-bit timer in the KeyStone
-architecture devices. The timer can be configured as a general-purpose 64-bit
-timer, dual general-purpose 32-bit timers. When configured as dual 32-bit
-timers, each half can operate in conjunction (chain mode) or independently
-(unchained mode) of each other.
-
-It is global timer is a free running up-counter and can generate interrupt
-when the counter reaches preset counter values.
-
-Documentation:
-https://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf
-
-Required properties:
-
-- compatible : should be "ti,keystone-timer".
-- reg : specifies base physical address and count of the registers.
-- interrupts : interrupt generated by the timer.
-- clocks : the clock feeding the timer clock.
-
-Example:
-
-timer@22f0000 {
-	compatible = "ti,keystone-timer";
-	reg = <0x022f0000 0x80>;
-	interrupts = <GIC_SPI 110 IRQ_TYPE_EDGE_RISING>;
-	clocks = <&clktimer15>;
-};
Documentation/devicetree/bindings/timer/ti,keystone-timer.yaml new file +63 -0

63 lines not on this page · raw message