Skip to content

Commit 1166a2c

Browse files
Wesley Chengvinodkoul
authored andcommitted
dt-bindings: phy: Add the M31 based eUSB2 PHY bindings
On SM8750, the M31 eUSB2 PHY is being used to support USB2. Add the binding definition for the PHY driver. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Wesley Cheng <[email protected]> Signed-off-by: Melody Olvera <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 439cdb3 commit 1166a2c

File tree

1 file changed

+79
-0
lines changed

1 file changed

+79
-0
lines changed
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/phy/qcom,m31-eusb2-phy.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm M31 eUSB2 phy
8+
9+
maintainers:
10+
- Wesley Cheng <[email protected]>
11+
12+
description:
13+
M31 based eUSB2 controller, which supports LS/FS/HS usb connectivity
14+
on Qualcomm chipsets. It is paired with a eUSB2 repeater.
15+
16+
properties:
17+
compatible:
18+
items:
19+
- enum:
20+
- qcom,sm8750-m31-eusb2-phy
21+
22+
reg:
23+
maxItems: 1
24+
25+
"#phy-cells":
26+
const: 0
27+
28+
clocks:
29+
items:
30+
- description: reference clock
31+
32+
clock-names:
33+
items:
34+
- const: ref
35+
36+
resets:
37+
maxItems: 1
38+
39+
phys:
40+
maxItems: 1
41+
description:
42+
Phandle to eUSB2 repeater
43+
44+
vdd-supply:
45+
description:
46+
Phandle to 0.88V regulator supply to PHY digital circuit.
47+
48+
vdda12-supply:
49+
description:
50+
Phandle to 1.2V regulator supply to PHY refclk pll block.
51+
52+
required:
53+
- compatible
54+
- reg
55+
- "#phy-cells"
56+
- clocks
57+
- clock-names
58+
- resets
59+
- vdd-supply
60+
- vdda12-supply
61+
62+
additionalProperties: false
63+
64+
examples:
65+
- |
66+
usb_1_hsphy: phy@88e3000 {
67+
compatible = "qcom,sm8750-m31-eusb2-phy";
68+
reg = <0x88e3000 0x29c>;
69+
70+
clocks = <&tcsrcc_usb2_clkref_en>;
71+
clock-names = "ref";
72+
73+
resets = <&gcc_qusb2phy_prim_bcr>;
74+
75+
#phy-cells = <0>;
76+
77+
vdd-supply = <&vreg_l2d_0p88>;
78+
vdda12-supply = <&vreg_l3g_1p2>;
79+
};

0 commit comments

Comments
 (0)