Skip to contentSkip to conversation

dt-bindings: timer: brcm,kona-timer: convert to YAML

PATCH Applied Stanislav Jakubek 4 participants 4 messages Jun 18, 2023 – Jun 26, 2023

Subsystems (3)

v2 of 4 Applied Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: timer: brcm,kona-timer: convert to YAML

Convert Broadcom Kona family timer bindings to DT schema.

Changes during conversion:
- drop deprecated compatible (it's been deprecated for ~10 years)

---
Changes in V2:
- dropped deprecated compatible
- change "" include in example to <> and sort it alphabetically
- rebase on next-20230616

I wasn't sure whether to keep Rob's R-b with these changes, so I didn't to keep on the safe side.

 .../bindings/timer/brcm,kona-timer.txt        | 25 ---------
 .../bindings/timer/brcm,kona-timer.yaml       | 52 +++++++++++++++++++
 2 files changed, 52 insertions(+), 25 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/timer/brcm,kona-timer.txt
 create mode 100644 Documentation/devicetree/bindings/timer/brcm,kona-timer.yaml
Documentation/devicetree/bindings/timer/brcm,kona-timer.txt deleted +0 -25
deleted file mode 100644
index 39adf54b4388..000000000000
@@ -1,25 +0,0 @@
-Broadcom Kona Family timer
------------------------------------------------------
-This timer is used in the following Broadcom SoCs:
- BCM11130, BCM11140, BCM11351, BCM28145, BCM28155
-
-Required properties:
-- compatible : "brcm,kona-timer"
-- DEPRECATED: compatible : "bcm,kona-timer"
-- reg : Register range for the timer
-- interrupts : interrupt for the timer
-- clocks: phandle + clock specifier pair of the external clock
-- clock-frequency: frequency that the clock operates
-
-Only one of clocks or clock-frequency should be specified.
-
-Refer to clocks/clock-bindings.txt for generic clock consumer properties.
-
-Example:
-	timer@35006000 {
-		compatible = "brcm,kona-timer";
-		reg = <0x35006000 0x1000>;
-		interrupts = <0x0 7 0x4>;
-		clocks = <&hub_timer_clk>;
-	};
-
Documentation/devicetree/bindings/timer/brcm,kona-timer.yaml new file +52 -0

52 lines not on this page · raw message

Signature · 1 line
2.25.1
#2 lore raw
In reply to Stanislav Jakubek
Quoted 7 lines · Stanislav Jakubek

Convert Broadcom Kona family timer bindings to DT schema.

Changes during conversion:
- drop deprecated compatible (it's been deprecated for ~10 years)

---

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
#3 lore raw
In reply to Stanislav Jakubek
The following commit has been merged into the timers/core branch of tip:

The following commit has been merged into the timers/core branch of tip:

Commit-ID:     038d454ad996a5e275d46188d65d890d2a243f36
Gitweb:        https://git.kernel.org/tip/038d454ad996a5e275d46188d65d890d2a243f36
Author:        Stanislav Jakubek <[email protected]>
AuthorDate:    Sun, 18 Jun 2023 16:46:35 +02:00
Committer:     Daniel Lezcano <[email protected]>
CommitterDate: Fri, 23 Jun 2023 09:33:43 +02:00

dt-bindings: timer: brcm,kona-timer: convert to YAML

Convert Broadcom Kona family timer bindings to DT schema.

Changes during conversion:
- drop deprecated compatible (it's been deprecated for ~10 years)

---
 Documentation/devicetree/bindings/timer/brcm,kona-timer.txt  | 25 +---
 Documentation/devicetree/bindings/timer/brcm,kona-timer.yaml | 52 +++++++-
 2 files changed, 52 insertions(+), 25 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/timer/brcm,kona-timer.txt
 create mode 100644 Documentation/devicetree/bindings/timer/brcm,kona-timer.yaml
Documentation/devicetree/bindings/timer/brcm,kona-timer.txt deleted +0 -25
deleted file mode 100644
index 39adf54..0000000
@@ -1,25 +0,0 @@
-Broadcom Kona Family timer
------------------------------------------------------
-This timer is used in the following Broadcom SoCs:
- BCM11130, BCM11140, BCM11351, BCM28145, BCM28155
-
-Required properties:
-- compatible : "brcm,kona-timer"
-- DEPRECATED: compatible : "bcm,kona-timer"
-- reg : Register range for the timer
-- interrupts : interrupt for the timer
-- clocks: phandle + clock specifier pair of the external clock
-- clock-frequency: frequency that the clock operates
-
-Only one of clocks or clock-frequency should be specified.
-
-Refer to clocks/clock-bindings.txt for generic clock consumer properties.
-
-Example:
-	timer@35006000 {
-		compatible = "brcm,kona-timer";
-		reg = <0x35006000 0x1000>;
-		interrupts = <0x0 7 0x4>;
-		clocks = <&hub_timer_clk>;
-	};
-
Documentation/devicetree/bindings/timer/brcm,kona-timer.yaml new file +52 -0

52 lines not on this page · raw message