Skip to content

Commit e4c9a7b

Browse files
ivoszbgvinodkoul
authored andcommitted
dt-bindings: phy: samsung,usb3-drd-phy: add exynos2200 support
Document support for Exynos2200. As the USBDRD 3.2 4nm controller consists of Synopsys eUSB2.0 phy and USBDP/SS combophy, which will be handled by external drivers, define only the bus clocked used by the link controller. Signed-off-by: Ivaylo Ivanov <[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 59cf754 commit e4c9a7b

File tree

1 file changed

+34
-4
lines changed

1 file changed

+34
-4
lines changed

Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ properties:
2626
compatible:
2727
enum:
2828
- google,gs101-usb31drd-phy
29+
- samsung,exynos2200-usb32drd-phy
2930
- samsung,exynos5250-usbdrd-phy
3031
- samsung,exynos5420-usbdrd-phy
3132
- samsung,exynos5433-usbdrd-phy
@@ -34,24 +35,32 @@ properties:
3435
- samsung,exynos850-usbdrd-phy
3536

3637
clocks:
37-
minItems: 2
38+
minItems: 1
3839
maxItems: 5
3940

4041
clock-names:
41-
minItems: 2
42+
minItems: 1
4243
maxItems: 5
4344
description: |
44-
At least two clocks::
45+
Typically two clocks:
4546
- Main PHY clock (same as USB DRD controller i.e. DWC3 IP clock), used
4647
for register access.
4748
- PHY reference clock (usually crystal clock), used for PHY operations,
4849
associated by phy name. It is used to determine bit values for clock
4950
settings register. For Exynos5420 this is given as 'sclk_usbphy30'
50-
in the CMU.
51+
in the CMU. It's not needed for Exynos2200.
5152
5253
"#phy-cells":
5354
const: 1
5455

56+
phys:
57+
maxItems: 1
58+
description:
59+
USBDRD-underlying high-speed PHY
60+
61+
phy-names:
62+
const: hs
63+
5564
port:
5665
$ref: /schemas/graph.yaml#/properties/port
5766
description:
@@ -151,6 +160,27 @@ allOf:
151160
- vdda-usbdp-supply
152161
- vddh-usbdp-supply
153162

163+
- if:
164+
properties:
165+
compatible:
166+
contains:
167+
enum:
168+
- samsung,exynos2200-usb32drd-phy
169+
then:
170+
properties:
171+
clocks:
172+
maxItems: 1
173+
clock-names:
174+
items:
175+
- const: phy
176+
reg:
177+
maxItems: 1
178+
reg-names:
179+
maxItems: 1
180+
required:
181+
- phys
182+
- phy-names
183+
154184
- if:
155185
properties:
156186
compatible:

0 commit comments

Comments
 (0)