* [PATCH] dt-bindings: phy: Convert Marvell MVEBU PHYs to DT schema
@ 2025-06-07 21:26 Rob Herring (Arm)
2025-06-08 21:14 ` Andrew Lunn
2025-06-15 16:52 ` Vinod Koul
0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-06-07 21:26 UTC (permalink / raw)
To: Vinod Koul, Kishon Vijay Abraham I, Krzysztof Kozlowski,
Conor Dooley, Andrew Lunn, Gregory Clement
Cc: linux-phy, devicetree, linux-kernel
Convert the Marvell Armada-375 USB and MVEBU SATA PHY binding to DT
schema format. It's a straight forward conversion.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
.../phy/marvell,armada-375-usb-cluster.yaml | 40 ++++++++++++++++
.../bindings/phy/marvell,mvebu-sata-phy.yaml | 47 +++++++++++++++++++
.../devicetree/bindings/phy/phy-mvebu.txt | 42 -----------------
3 files changed, 87 insertions(+), 42 deletions(-)
create mode 100644 Documentation/devicetree/bindings/phy/marvell,armada-375-usb-cluster.yaml
create mode 100644 Documentation/devicetree/bindings/phy/marvell,mvebu-sata-phy.yaml
delete mode 100644 Documentation/devicetree/bindings/phy/phy-mvebu.txt
diff --git a/Documentation/devicetree/bindings/phy/marvell,armada-375-usb-cluster.yaml b/Documentation/devicetree/bindings/phy/marvell,armada-375-usb-cluster.yaml
new file mode 100644
index 000000000000..1706c31644e1
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/marvell,armada-375-usb-cluster.yaml
@@ -0,0 +1,40 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/marvell,armada-375-usb-cluster.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Armada 375 USB Cluster
+
+maintainers:
+ - Andrew Lunn <andrew@lunn.ch>
+ - Gregory Clement <gregory.clement@bootlin.com>
+
+description:
+ Control register for the Armada 375 USB cluster, managing USB2 and USB3 features.
+
+properties:
+ compatible:
+ const: marvell,armada-375-usb-cluster
+
+ reg:
+ maxItems: 1
+
+ '#phy-cells':
+ description: Number of PHY cells in specifier. 1 for USB2, 2 for USB3.
+ const: 1
+
+required:
+ - compatible
+ - reg
+ - '#phy-cells'
+
+additionalProperties: false
+
+examples:
+ - |
+ usbcluster: usb-cluster@18400 {
+ compatible = "marvell,armada-375-usb-cluster";
+ reg = <0x18400 0x4>;
+ #phy-cells = <1>;
+ };
diff --git a/Documentation/devicetree/bindings/phy/marvell,mvebu-sata-phy.yaml b/Documentation/devicetree/bindings/phy/marvell,mvebu-sata-phy.yaml
new file mode 100644
index 000000000000..81e942428911
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/marvell,mvebu-sata-phy.yaml
@@ -0,0 +1,47 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/marvell,mvebu-sata-phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell MVEBU SATA PHY
+
+maintainers:
+ - Andrew Lunn <andrew@lunn.ch>
+ - Gregory Clement <gregory.clement@bootlin.com>
+
+properties:
+ compatible:
+ const: marvell,mvebu-sata-phy
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ clock-names:
+ items:
+ - const: sata
+
+ '#phy-cells':
+ const: 0
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+ - '#phy-cells'
+
+additionalProperties: false
+
+examples:
+ - |
+ sata-phy@84000 {
+ compatible = "marvell,mvebu-sata-phy";
+ reg = <0x84000 0x0334>;
+ clocks = <&gate_clk 15>;
+ clock-names = "sata";
+ #phy-cells = <0>;
+ };
diff --git a/Documentation/devicetree/bindings/phy/phy-mvebu.txt b/Documentation/devicetree/bindings/phy/phy-mvebu.txt
deleted file mode 100644
index 64afdd13d91d..000000000000
--- a/Documentation/devicetree/bindings/phy/phy-mvebu.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-* Marvell MVEBU SATA PHY
-
-Power control for the SATA phy found on Marvell MVEBU SoCs.
-
-This document extends the binding described in phy-bindings.txt
-
-Required properties :
-
- - reg : Offset and length of the register set for the SATA device
- - compatible : Should be "marvell,mvebu-sata-phy"
- - clocks : phandle of clock and specifier that supplies the device
- - clock-names : Should be "sata"
-
-Example:
- sata-phy@84000 {
- compatible = "marvell,mvebu-sata-phy";
- reg = <0x84000 0x0334>;
- clocks = <&gate_clk 15>;
- clock-names = "sata";
- #phy-cells = <0>;
- };
-
-Armada 375 USB cluster
-----------------------
-
-Armada 375 comes with an USB2 host and device controller and an USB3
-controller. The USB cluster control register allows to manage common
-features of both USB controllers.
-
-Required properties:
-
-- compatible: "marvell,armada-375-usb-cluster"
-- reg: Should contain usb cluster register location and length.
-- #phy-cells : from the generic phy bindings, must be 1. Possible
-values are 1 (USB2), 2 (USB3).
-
-Example:
- usbcluster: usb-cluster@18400 {
- compatible = "marvell,armada-375-usb-cluster";
- reg = <0x18400 0x4>;
- #phy-cells = <1>
- };
--
2.47.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: phy: Convert Marvell MVEBU PHYs to DT schema
2025-06-07 21:26 [PATCH] dt-bindings: phy: Convert Marvell MVEBU PHYs to DT schema Rob Herring (Arm)
@ 2025-06-08 21:14 ` Andrew Lunn
2025-06-15 16:52 ` Vinod Koul
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2025-06-08 21:14 UTC (permalink / raw)
To: Rob Herring (Arm)
Cc: Vinod Koul, Kishon Vijay Abraham I, Krzysztof Kozlowski,
Conor Dooley, Gregory Clement, linux-phy, devicetree,
linux-kernel
On Sat, Jun 07, 2025 at 04:26:07PM -0500, Rob Herring (Arm) wrote:
> Convert the Marvell Armada-375 USB and MVEBU SATA PHY binding to DT
> schema format. It's a straight forward conversion.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: phy: Convert Marvell MVEBU PHYs to DT schema
2025-06-07 21:26 [PATCH] dt-bindings: phy: Convert Marvell MVEBU PHYs to DT schema Rob Herring (Arm)
2025-06-08 21:14 ` Andrew Lunn
@ 2025-06-15 16:52 ` Vinod Koul
1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2025-06-15 16:52 UTC (permalink / raw)
To: Kishon Vijay Abraham I, Krzysztof Kozlowski, Conor Dooley,
Andrew Lunn, Gregory Clement, Rob Herring (Arm)
Cc: linux-phy, devicetree, linux-kernel
On Sat, 07 Jun 2025 16:26:07 -0500, Rob Herring (Arm) wrote:
> Convert the Marvell Armada-375 USB and MVEBU SATA PHY binding to DT
> schema format. It's a straight forward conversion.
>
>
Applied, thanks!
[1/1] dt-bindings: phy: Convert Marvell MVEBU PHYs to DT schema
commit: 4dcf1632d617262f16608f3bd0f6dc00eede8d4e
Best regards,
--
~Vinod
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-06-15 16:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-07 21:26 [PATCH] dt-bindings: phy: Convert Marvell MVEBU PHYs to DT schema Rob Herring (Arm)
2025-06-08 21:14 ` Andrew Lunn
2025-06-15 16:52 ` Vinod Koul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).