Skip to contentSkip to conversation

dt-bindings: phy: Convert marvell,berlin2-sata-phy to DT schema

PATCH New Rob Herring (Arm) 1 participant 1 message Jun 7, 2025

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: phy: Convert marvell,berlin2-sata-phy to DT schema

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

---
 .../bindings/phy/berlin-sata-phy.txt          | 36 ---------
 .../phy/marvell,berlin2-sata-phy.yaml         | 76 +++++++++++++++++++
 2 files changed, 76 insertions(+), 36 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/phy/berlin-sata-phy.txt
 create mode 100644 Documentation/devicetree/bindings/phy/marvell,berlin2-sata-phy.yaml
Documentation/devicetree/bindings/phy/berlin-sata-phy.txt deleted +0 -36
deleted file mode 100644
index c0155f842f62..000000000000
@@ -1,36 +0,0 @@
-Berlin SATA PHY
----------------
-
-Required properties:
-- compatible: should be one of
-    "marvell,berlin2-sata-phy"
-    "marvell,berlin2q-sata-phy"
-- address-cells: should be 1
-- size-cells: should be 0
-- phy-cells: from the generic PHY bindings, must be 1
-- reg: address and length of the register
-- clocks: reference to the clock entry
-
-Sub-nodes:
-Each PHY should be represented as a sub-node.
-
-Sub-nodes required properties:
-- reg: the PHY number
-
-Example:
-	sata_phy: phy@f7e900a0 {
-		compatible = "marvell,berlin2q-sata-phy";
-		reg = <0xf7e900a0 0x200>;
-		clocks = <&chip CLKID_SATA>;
-		#address-cells = <1>;
-		#size-cells = <0>;
-		#phy-cells = <1>;
-
-		sata-phy@0 {
-			reg = <0>;
-		};
-
-		sata-phy@1 {
-			reg = <1>;
-		};
-	};
Documentation/devicetree/bindings/phy/marvell,berlin2-sata-phy.yaml new file +76 -0

76 lines not on this page · raw message

Signature · 1 line
2.47.2