Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: phy: Convert Marvell MVEBU PHYs to DT schema

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>
Link: https://lore.kernel.org/r/20250607212609.743346-1-robh@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Rob Herring (Arm) and committed by
Vinod Koul
4dcf1632 a5aa0461

+87 -42
+40
Documentation/devicetree/bindings/phy/marvell,armada-375-usb-cluster.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/phy/marvell,armada-375-usb-cluster.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Armada 375 USB Cluster 8 + 9 + maintainers: 10 + - Andrew Lunn <andrew@lunn.ch> 11 + - Gregory Clement <gregory.clement@bootlin.com> 12 + 13 + description: 14 + Control register for the Armada 375 USB cluster, managing USB2 and USB3 features. 15 + 16 + properties: 17 + compatible: 18 + const: marvell,armada-375-usb-cluster 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + '#phy-cells': 24 + description: Number of PHY cells in specifier. 1 for USB2, 2 for USB3. 25 + const: 1 26 + 27 + required: 28 + - compatible 29 + - reg 30 + - '#phy-cells' 31 + 32 + additionalProperties: false 33 + 34 + examples: 35 + - | 36 + usbcluster: usb-cluster@18400 { 37 + compatible = "marvell,armada-375-usb-cluster"; 38 + reg = <0x18400 0x4>; 39 + #phy-cells = <1>; 40 + };
+47
Documentation/devicetree/bindings/phy/marvell,mvebu-sata-phy.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/phy/marvell,mvebu-sata-phy.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Marvell MVEBU SATA PHY 8 + 9 + maintainers: 10 + - Andrew Lunn <andrew@lunn.ch> 11 + - Gregory Clement <gregory.clement@bootlin.com> 12 + 13 + properties: 14 + compatible: 15 + const: marvell,mvebu-sata-phy 16 + 17 + reg: 18 + maxItems: 1 19 + 20 + clocks: 21 + maxItems: 1 22 + 23 + clock-names: 24 + items: 25 + - const: sata 26 + 27 + '#phy-cells': 28 + const: 0 29 + 30 + required: 31 + - compatible 32 + - reg 33 + - clocks 34 + - clock-names 35 + - '#phy-cells' 36 + 37 + additionalProperties: false 38 + 39 + examples: 40 + - | 41 + sata-phy@84000 { 42 + compatible = "marvell,mvebu-sata-phy"; 43 + reg = <0x84000 0x0334>; 44 + clocks = <&gate_clk 15>; 45 + clock-names = "sata"; 46 + #phy-cells = <0>; 47 + };
-42
Documentation/devicetree/bindings/phy/phy-mvebu.txt
··· 1 - * Marvell MVEBU SATA PHY 2 - 3 - Power control for the SATA phy found on Marvell MVEBU SoCs. 4 - 5 - This document extends the binding described in phy-bindings.txt 6 - 7 - Required properties : 8 - 9 - - reg : Offset and length of the register set for the SATA device 10 - - compatible : Should be "marvell,mvebu-sata-phy" 11 - - clocks : phandle of clock and specifier that supplies the device 12 - - clock-names : Should be "sata" 13 - 14 - Example: 15 - sata-phy@84000 { 16 - compatible = "marvell,mvebu-sata-phy"; 17 - reg = <0x84000 0x0334>; 18 - clocks = <&gate_clk 15>; 19 - clock-names = "sata"; 20 - #phy-cells = <0>; 21 - }; 22 - 23 - Armada 375 USB cluster 24 - ---------------------- 25 - 26 - Armada 375 comes with an USB2 host and device controller and an USB3 27 - controller. The USB cluster control register allows to manage common 28 - features of both USB controllers. 29 - 30 - Required properties: 31 - 32 - - compatible: "marvell,armada-375-usb-cluster" 33 - - reg: Should contain usb cluster register location and length. 34 - - #phy-cells : from the generic phy bindings, must be 1. Possible 35 - values are 1 (USB2), 2 (USB3). 36 - 37 - Example: 38 - usbcluster: usb-cluster@18400 { 39 - compatible = "marvell,armada-375-usb-cluster"; 40 - reg = <0x18400 0x4>; 41 - #phy-cells = <1> 42 - };