Skip to content

Commit 03c866c

Browse files
LegoLivesMattervinodkoul
authored andcommitted
dt-bindings: phy: Convert PXA1928 USB/HSIC PHY to DT schema
Convert the binding for the Marvell PXA1928 USB and HSIC PHYs from TXT to DT schema. Signed-off-by: Duje Mihanović <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent dd69a63 commit 03c866c

File tree

2 files changed

+47
-18
lines changed

2 files changed

+47
-18
lines changed
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,pxa1928-usb-phy.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Marvell PXA1928 USB/HSIC PHY
8+
9+
maintainers:
10+
- Duje Mihanović <[email protected]>
11+
12+
properties:
13+
compatible:
14+
enum:
15+
- marvell,pxa1928-usb-phy
16+
- marvell,pxa1928-hsic-phy
17+
18+
reg:
19+
maxItems: 1
20+
21+
clocks:
22+
maxItems: 1
23+
24+
'#phy-cells':
25+
const: 0
26+
27+
resets:
28+
maxItems: 1
29+
30+
required:
31+
- compatible
32+
- reg
33+
- clocks
34+
- '#phy-cells'
35+
36+
additionalProperties: false
37+
38+
examples:
39+
- |
40+
#include <dt-bindings/clock/marvell,pxa1928.h>
41+
42+
usbphy: phy@7000 {
43+
compatible = "marvell,pxa1928-usb-phy";
44+
reg = <0x7000 0xe0>;
45+
clocks = <&apmu PXA1928_CLK_USB>;
46+
#phy-cells = <0>;
47+
};

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

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

0 commit comments

Comments
 (0)