dt-bindings: timer: Convert img,pistachio-gptimer to DT schema
Subsystems (2)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: timer: Convert img,pistachio-gptimer to DT schema
Convert the ImgTec Pistachio Timer binding to DT schema format. It's a straight-forward conversion.
Signed-off-by Rob Herring (Arm) <[email protected]>
--- .../bindings/timer/img,pistachio-gptimer.txt | 28 -------- .../bindings/timer/img,pistachio-gptimer.yaml | 69 +++++++++++++++++++ 2 files changed, 69 insertions(+), 28 deletions(-) delete mode 100644 Documentation/devicetree/bindings/timer/img,pistachio-gptimer.txt create mode 100644 Documentation/devicetree/bindings/timer/img,pistachio-gptimer.yaml
Documentation/devicetree/bindings/timer/img,pistachio-gptimer.txt deleted +0 -28
@@ -1,28 +0,0 @@ -* Pistachio general-purpose timer based clocksource - -Required properties: - - compatible: "img,pistachio-gptimer". - - reg: Address range of the timer registers. - - interrupts: An interrupt for each of the four timers - - clocks: Should contain a clock specifier for each entry in clock-names - - clock-names: Should contain the following entries: - "sys", interface clock - "slow", slow counter clock - "fast", fast counter clock - - img,cr-periph: Must contain a phandle to the peripheral control - syscon node. - -Example: - timer: timer@18102000 { - compatible = "img,pistachio-gptimer"; - reg = <0x18102000 0x100>; - interrupts = <GIC_SHARED 60 IRQ_TYPE_LEVEL_HIGH>, - <GIC_SHARED 61 IRQ_TYPE_LEVEL_HIGH>, - <GIC_SHARED 62 IRQ_TYPE_LEVEL_HIGH>, - <GIC_SHARED 63 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clk_periph PERIPH_CLK_COUNTER_FAST>, - <&clk_periph PERIPH_CLK_COUNTER_SLOW>, - <&cr_periph SYS_CLK_TIMER>; - clock-names = "fast", "slow", "sys"; - img,cr-periph = <&cr_periph>; - };
Documentation/devicetree/bindings/timer/img,pistachio-gptimer.yaml new file +69 -0
69 lines not on this page · raw message
Signature · 1 line
2.47.2
Daniel Lezcano
AppliedQuoted 5 lines · Rob Herring
Convert the ImgTec Pistachio 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: e7ddb13fa6203cad3546104c4f5edbbc70cc59cf Gitweb: https://git.kernel.org/tip/e7ddb13fa6203cad3546104c4f5edbbc70cc59cf Author: Rob Herring (Arm) <[email protected]> AuthorDate: Mon, 05 May 2025 21:22:48 -05:00 Committer: Daniel Lezcano <[email protected]> CommitterDate: Fri, 16 May 2025 11:10:33 +02:00
dt-bindings: timer: Convert img,pistachio-gptimer to DT schema
Convert the ImgTec Pistachio 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/img,pistachio-gptimer.txt | 28 ---------------------------- Documentation/devicetree/bindings/timer/img,pistachio-gptimer.yaml | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 28 deletions(-) delete mode 100644 Documentation/devicetree/bindings/timer/img,pistachio-gptimer.txt create mode 100644 Documentation/devicetree/bindings/timer/img,pistachio-gptimer.yaml
Documentation/devicetree/bindings/timer/img,pistachio-gptimer.txt deleted +0 -28
@@ -1,28 +0,0 @@ -* Pistachio general-purpose timer based clocksource - -Required properties: - - compatible: "img,pistachio-gptimer". - - reg: Address range of the timer registers. - - interrupts: An interrupt for each of the four timers - - clocks: Should contain a clock specifier for each entry in clock-names - - clock-names: Should contain the following entries: - "sys", interface clock - "slow", slow counter clock - "fast", fast counter clock - - img,cr-periph: Must contain a phandle to the peripheral control - syscon node. - -Example: - timer: timer@18102000 { - compatible = "img,pistachio-gptimer"; - reg = <0x18102000 0x100>; - interrupts = <GIC_SHARED 60 IRQ_TYPE_LEVEL_HIGH>, - <GIC_SHARED 61 IRQ_TYPE_LEVEL_HIGH>, - <GIC_SHARED 62 IRQ_TYPE_LEVEL_HIGH>, - <GIC_SHARED 63 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clk_periph PERIPH_CLK_COUNTER_FAST>, - <&clk_periph PERIPH_CLK_COUNTER_SLOW>, - <&cr_periph SYS_CLK_TIMER>; - clock-names = "fast", "slow", "sys"; - img,cr-periph = <&cr_periph>; - };
Documentation/devicetree/bindings/timer/img,pistachio-gptimer.yaml new file +69 -0
69 lines not on this page · raw message