Skip to contentSkip to conversation

dt-bindings: clock: Convert marvell,berlin2-clk to DT schema

PATCH Applied Rob Herring (Arm) 2 participants 2 messages May 21, 2025 – Jun 19, 2025

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: clock: Convert marvell,berlin2-clk to DT schema

Convert the Marvell Berlin2 clock binding to DT schema format. It's a straight forward conversion.

---
 .../bindings/clock/marvell,berlin.txt         | 31 -----------
 .../bindings/clock/marvell,berlin2-clk.yaml   | 51 +++++++++++++++++++
 2 files changed, 51 insertions(+), 31 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/clock/marvell,berlin.txt
 create mode 100644 Documentation/devicetree/bindings/clock/marvell,berlin2-clk.yaml
Documentation/devicetree/bindings/clock/marvell,berlin.txt deleted +0 -31
deleted file mode 100644
index c611c495f3ff..000000000000
@@ -1,31 +0,0 @@
-Device Tree Clock bindings for Marvell Berlin
-
-This binding uses the common clock binding[1].
-
-[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
-
-Clock related registers are spread among the chip control registers. Berlin
-clock node should be a sub-node of the chip controller node. Marvell Berlin2
-(BG2, BG2CD, BG2Q) SoCs share the same IP for PLLs and clocks, with some
-minor differences in features and register layout.
-
-Required properties:
-- compatible: must be "marvell,berlin2-clk" or "marvell,berlin2q-clk"
-- #clock-cells: must be 1
-- clocks: must be the input parent clock phandle
-- clock-names: name of the input parent clock
-	Allowed clock-names for the reference clocks are
-	"refclk" for the SoCs oscillator input on all SoCs,
-	and SoC-specific input clocks for
-	BG2/BG2CD: "video_ext0" for the external video clock input
-
-
-Example:
-
-chip_clk: clock {
-	compatible = "marvell,berlin2q-clk";
-
-	#clock-cells = <1>;
-	clocks = <&refclk>;
-	clock-names = "refclk";
-};
Documentation/devicetree/bindings/clock/marvell,berlin2-clk.yaml new file +51 -0

51 lines not on this page · raw message

Signature · 1 line
2.47.2
maintainer Applied
#1 lore raw

Quoting Rob Herring (Arm) (2025-05-21 14:08:37)

Quoted 5 lines

Convert the Marvell Berlin2 clock binding to DT schema format. It's a straight forward conversion.

---

Applied to clk-next