Skip to content

Commit 4dcf163

Browse files
robherringvinodkoul
authored andcommitted
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) <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent a5aa046 commit 4dcf163

File tree

3 files changed

+87
-42
lines changed

3 files changed

+87
-42
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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 <[email protected]>
11+
- Gregory Clement <[email protected]>
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+
};
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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 <[email protected]>
11+
- Gregory Clement <[email protected]>
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+
};

Documentation/devicetree/bindings/phy/phy-mvebu.txt

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)