Skip to content

Commit a6e804c

Browse files
keveryanggregkh
authored andcommitted
dt-bindings: usb: dwc3: Add support for rk3562
The USB dwc3 core on Rockchip's RK3562 is the same as the one already included in generic snps,dwc3. Extend the binding accordingly to allow compatible = "rockchip,rk3562-dwc3", "snps,dwc3"; There are 4 clocks with different name sequency, add schema for it. Signed-off-by: Kever Yang <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 1534692 commit a6e804c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ select:
2626
contains:
2727
enum:
2828
- rockchip,rk3328-dwc3
29+
- rockchip,rk3562-dwc3
2930
- rockchip,rk3568-dwc3
3031
- rockchip,rk3576-dwc3
3132
- rockchip,rk3588-dwc3
@@ -37,6 +38,7 @@ properties:
3738
items:
3839
- enum:
3940
- rockchip,rk3328-dwc3
41+
- rockchip,rk3562-dwc3
4042
- rockchip,rk3568-dwc3
4143
- rockchip,rk3576-dwc3
4244
- rockchip,rk3588-dwc3
@@ -72,6 +74,7 @@ properties:
7274
- enum:
7375
- grf_clk
7476
- utmi
77+
- pipe
7578
- const: pipe
7679

7780
power-domains:
@@ -111,6 +114,22 @@ allOf:
111114
- const: suspend_clk
112115
- const: bus_clk
113116
- const: grf_clk
117+
- if:
118+
properties:
119+
compatible:
120+
contains:
121+
const: rockchip,rk3562-dwc3
122+
then:
123+
properties:
124+
clocks:
125+
minItems: 4
126+
maxItems: 4
127+
clock-names:
128+
items:
129+
- const: ref_clk
130+
- const: suspend_clk
131+
- const: bus_clk
132+
- const: pipe
114133
- if:
115134
properties:
116135
compatible:

0 commit comments

Comments
 (0)