Skip to contentSkip to conversation

dt-bindings: timer: Convert jcore,pit 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 jcore,pit to DT schema

Convert the J-Core PIT Timer binding to DT schema format. It's a straight-forward conversion.

Since the 'reg' entries are based on number of cores, we can't put constraints on it.

---
 .../devicetree/bindings/timer/jcore,pit.txt   | 24 -----------
 .../devicetree/bindings/timer/jcore,pit.yaml  | 43 +++++++++++++++++++
 2 files changed, 43 insertions(+), 24 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/timer/jcore,pit.txt
 create mode 100644 Documentation/devicetree/bindings/timer/jcore,pit.yaml
Documentation/devicetree/bindings/timer/jcore,pit.txt deleted +0 -24
deleted file mode 100644
index af5dd35469d7..000000000000
@@ -1,24 +0,0 @@
-J-Core Programmable Interval Timer and Clocksource
-
-Required properties:
-
-- compatible: Must be "jcore,pit".
-
-- reg: Memory region(s) for timer/clocksource registers. For SMP,
-  there should be one region per cpu, indexed by the sequential,
-  zero-based hardware cpu number.
-
-- interrupts: An interrupt to assign for the timer. The actual pit
-  core is integrated with the aic and allows the timer interrupt
-  assignment to be programmed by software, but this property is
-  required in order to reserve an interrupt number that doesn't
-  conflict with other devices.
-
-
-Example:
-
-timer@200 {
-	compatible = "jcore,pit";
-	reg = < 0x200 0x30 0x500 0x30 >;
-	interrupts = < 0x48 >;
-};
Documentation/devicetree/bindings/timer/jcore,pit.yaml new file +43 -0

43 lines not on this page · raw message

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

Convert the J-Core PIT Timer binding to DT schema format. It's a straight-forward conversion.

Since the 'reg' entries are based on number of cores, we can't put constraints on it.

---

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:     f8470be859a8660c1993fa44053c473c82eb454b
Gitweb:        https://git.kernel.org/tip/f8470be859a8660c1993fa44053c473c82eb454b
Author:        Rob Herring (Arm) <[email protected]>
AuthorDate:    Mon, 05 May 2025 21:22:52 -05:00
Committer:     Daniel Lezcano <[email protected]>
CommitterDate: Fri, 16 May 2025 11:10:33 +02:00

dt-bindings: timer: Convert jcore,pit to DT schema

Convert the J-Core PIT Timer binding to DT schema format. It's a straight-forward conversion.

Since the 'reg' entries are based on number of cores, we can't put constraints on it.

---
 Documentation/devicetree/bindings/timer/jcore,pit.txt  | 24 +-----
 Documentation/devicetree/bindings/timer/jcore,pit.yaml | 43 +++++++++-
 2 files changed, 43 insertions(+), 24 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/timer/jcore,pit.txt
 create mode 100644 Documentation/devicetree/bindings/timer/jcore,pit.yaml
Documentation/devicetree/bindings/timer/jcore,pit.txt deleted +0 -24
deleted file mode 100644
index af5dd35..0000000
@@ -1,24 +0,0 @@
-J-Core Programmable Interval Timer and Clocksource
-
-Required properties:
-
-- compatible: Must be "jcore,pit".
-
-- reg: Memory region(s) for timer/clocksource registers. For SMP,
-  there should be one region per cpu, indexed by the sequential,
-  zero-based hardware cpu number.
-
-- interrupts: An interrupt to assign for the timer. The actual pit
-  core is integrated with the aic and allows the timer interrupt
-  assignment to be programmed by software, but this property is
-  required in order to reserve an interrupt number that doesn't
-  conflict with other devices.
-
-
-Example:
-
-timer@200 {
-	compatible = "jcore,pit";
-	reg = < 0x200 0x30 0x500 0x30 >;
-	interrupts = < 0x48 >;
-};
Documentation/devicetree/bindings/timer/jcore,pit.yaml new file +43 -0

43 lines not on this page · raw message