Skip to content

Commit 43092fc

Browse files
Kaustabh Chakrabortygregkh
authored andcommitted
dt-bindings: usb: samsung,exynos-dwc3: add exynos7870 support
Document compatible string for Exynos7870 DWC3-compatible USB 2.0 driver. The devicetree node requires three clocks, named "bus_early", "ref", and "ctrl". Unlike other variants, Exynos7870's USB controller requires a single 3.0V regulator. Assert that the other 1.0V regulator requirement is enforced on variants individually other than Exynos7870's. Signed-off-by: Kaustabh Chakraborty <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent a6e804c commit 43092fc

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ properties:
1717
- samsung,exynos5250-dwusb3
1818
- samsung,exynos5433-dwusb3
1919
- samsung,exynos7-dwusb3
20+
- samsung,exynos7870-dwusb3
2021
- samsung,exynos850-dwusb3
2122
- items:
2223
- const: samsung,exynos990-dwusb3
@@ -56,7 +57,6 @@ required:
5657
- clock-names
5758
- ranges
5859
- '#size-cells'
59-
- vdd10-supply
6060
- vdd33-supply
6161

6262
allOf:
@@ -76,6 +76,8 @@ allOf:
7676
- const: susp_clk
7777
- const: link_aclk
7878
- const: link_pclk
79+
required:
80+
- vdd10-supply
7981

8082
- if:
8183
properties:
@@ -90,6 +92,8 @@ allOf:
9092
clock-names:
9193
items:
9294
- const: usbdrd30
95+
required:
96+
- vdd10-supply
9397

9498
- if:
9599
properties:
@@ -107,6 +111,8 @@ allOf:
107111
- const: susp_clk
108112
- const: phyclk
109113
- const: pipe_pclk
114+
required:
115+
- vdd10-supply
110116

111117
- if:
112118
properties:
@@ -123,6 +129,24 @@ allOf:
123129
- const: usbdrd30
124130
- const: usbdrd30_susp_clk
125131
- const: usbdrd30_axius_clk
132+
required:
133+
- vdd10-supply
134+
135+
- if:
136+
properties:
137+
compatible:
138+
contains:
139+
const: samsung,exynos7870-dwusb3
140+
then:
141+
properties:
142+
clocks:
143+
minItems: 3
144+
maxItems: 3
145+
clock-names:
146+
items:
147+
- const: bus_early
148+
- const: ref
149+
- const: ctrl
126150

127151
- if:
128152
properties:
@@ -138,6 +162,8 @@ allOf:
138162
items:
139163
- const: bus_early
140164
- const: ref
165+
required:
166+
- vdd10-supply
141167

142168
additionalProperties: false
143169

0 commit comments

Comments
 (0)