dt-bindings: timer: Convert fsl,gtm to YAML
Subsystems (2)
PATCH v2 1/1 dt-bindings: timer: Convert fsl,gtm to YAML
Convert fsl,gtm.txt to YAML so that device trees using a Freescale General-purpose Timers Module can be properly validated.
---
Changes in v2:
- Add Rob Herring's review tag
- Rebase on v6.15-rc1
- Link to v1: https://lore.kernel.org/r/[email protected]
--- .../devicetree/bindings/timer/fsl,gtm.txt | 30 -------- .../devicetree/bindings/timer/fsl,gtm.yaml | 83 ++++++++++++++++++++++ 2 files changed, 83 insertions(+), 30 deletions(-)
Documentation/devicetree/bindings/timer/fsl,gtm.txt deleted +0 -30
@@ -1,30 +0,0 @@ -* Freescale General-purpose Timers Module - -Required properties: - - compatible : should be - "fsl,<chip>-gtm", "fsl,gtm" for SOC GTMs - "fsl,<chip>-qe-gtm", "fsl,qe-gtm", "fsl,gtm" for QE GTMs - "fsl,<chip>-cpm2-gtm", "fsl,cpm2-gtm", "fsl,gtm" for CPM2 GTMs - - reg : should contain gtm registers location and length (0x40). - - interrupts : should contain four interrupts. - - clock-frequency : specifies the frequency driving the timer. - -Example: - -timer@500 { - compatible = "fsl,mpc8360-gtm", "fsl,gtm"; - reg = <0x500 0x40>; - interrupts = <90 8 78 8 84 8 72 8>; - interrupt-parent = <&ipic>; - /* filled by u-boot */ - clock-frequency = <0>; -}; - -timer@440 { - compatible = "fsl,mpc8360-qe-gtm", "fsl,qe-gtm", "fsl,gtm"; - reg = <0x440 0x40>; - interrupts = <12 13 14 15>; - interrupt-parent = <&qeic>; - /* filled by u-boot */ - clock-frequency = <0>; -};
Documentation/devicetree/bindings/timer/fsl,gtm.yaml new file +83 -0
83 lines not on this page · raw message
---
base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8
change-id: 20250210-gtm-yaml-b41a9475d0b3
Best regards,
Signature · 1 line
J. Neuschäfer <[email protected]>
Daniel Lezcano
AppliedQuoted 7 lines · On Sat, Apr 12, 2025 at 02:56:20PM +0200, J. Neuschäfer via B4 Relay wrote:
From: "J. Neuschäfer" <[email protected]>
Convert fsl,gtm.txt to YAML so that device trees using a Freescale General-purpose Timers Module can be properly validated.
Reviewed-by Rob Herring (Arm) <[email protected]>Signed-off-by J. Neuschäfer <[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: eb7bc6920153a7d025c0b0001d5a6462fe08034f Gitweb: https://git.kernel.org/tip/eb7bc6920153a7d025c0b0001d5a6462fe08034f Author: J. Neuschäfer <[email protected]> AuthorDate: Sat, 12 Apr 2025 14:56:20 +02:00 Committer: Daniel Lezcano <[email protected]> CommitterDate: Fri, 16 May 2025 11:10:32 +02:00
dt-bindings: timer: Convert fsl,gtm to YAML
Convert fsl,gtm.txt to YAML so that device trees using a Freescale General-purpose Timers Module can be properly validated.
--- Documentation/devicetree/bindings/timer/fsl,gtm.txt | 30 +---- Documentation/devicetree/bindings/timer/fsl,gtm.yaml | 83 +++++++++++- 2 files changed, 83 insertions(+), 30 deletions(-) delete mode 100644 Documentation/devicetree/bindings/timer/fsl,gtm.txt create mode 100644 Documentation/devicetree/bindings/timer/fsl,gtm.yaml
Documentation/devicetree/bindings/timer/fsl,gtm.txt deleted +0 -30
@@ -1,30 +0,0 @@ -* Freescale General-purpose Timers Module - -Required properties: - - compatible : should be - "fsl,<chip>-gtm", "fsl,gtm" for SOC GTMs - "fsl,<chip>-qe-gtm", "fsl,qe-gtm", "fsl,gtm" for QE GTMs - "fsl,<chip>-cpm2-gtm", "fsl,cpm2-gtm", "fsl,gtm" for CPM2 GTMs - - reg : should contain gtm registers location and length (0x40). - - interrupts : should contain four interrupts. - - clock-frequency : specifies the frequency driving the timer. - -Example: - -timer@500 { - compatible = "fsl,mpc8360-gtm", "fsl,gtm"; - reg = <0x500 0x40>; - interrupts = <90 8 78 8 84 8 72 8>; - interrupt-parent = <&ipic>; - /* filled by u-boot */ - clock-frequency = <0>; -}; - -timer@440 { - compatible = "fsl,mpc8360-qe-gtm", "fsl,qe-gtm", "fsl,gtm"; - reg = <0x440 0x40>; - interrupts = <12 13 14 15>; - interrupt-parent = <&qeic>; - /* filled by u-boot */ - clock-frequency = <0>; -};
Documentation/devicetree/bindings/timer/fsl,gtm.yaml new file +83 -0
83 lines not on this page · raw message