Skip to content

Commit 08a9bc3

Browse files
robherringvinodkoul
authored andcommitted
dt-bindings: phy: Convert marvell,berlin2-usb-phy to DT schema
Convert the Marvell Berlin2 USB PHY binding to DT schema format. It's a straight forward conversion. Signed-off-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent f4b522c commit 08a9bc3

File tree

2 files changed

+42
-16
lines changed

2 files changed

+42
-16
lines changed

Documentation/devicetree/bindings/phy/berlin-usb-phy.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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,berlin2-usb-phy.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Marvell Berlin USB PHY
8+
9+
maintainers:
10+
- Antoine Tenart <[email protected]>
11+
12+
properties:
13+
compatible:
14+
enum:
15+
- marvell,berlin2-usb-phy
16+
- marvell,berlin2cd-usb-phy
17+
18+
reg:
19+
maxItems: 1
20+
21+
"#phy-cells":
22+
const: 0
23+
24+
resets:
25+
maxItems: 1
26+
27+
required:
28+
- compatible
29+
- reg
30+
- "#phy-cells"
31+
- resets
32+
33+
additionalProperties: false
34+
35+
examples:
36+
- |
37+
usb-phy@f774000 {
38+
compatible = "marvell,berlin2-usb-phy";
39+
reg = <0xf774000 0x128>;
40+
#phy-cells = <0>;
41+
resets = <&chip 0x104 14>;
42+
};

0 commit comments

Comments
 (0)