Skip to content

Commit cdff2c9

Browse files
superna9999felipebalbi
authored andcommitted
dt-bindings: usb: amlogic,meson-g12a-usb-ctrl: add the Amlogic AXG Families USB Glue Bindings
The Amlogic AXG is close to the GXL Glue but with a single OTG PHY. Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Reviewed-by: Kevin Hilman <[email protected]> Acked-by: Martin Blumenstingl <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
1 parent 5d23af6 commit cdff2c9

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ description: |
2525
The Amlogic A1 embeds a DWC3 USB IP Core configured for USB2 in
2626
host-only mode.
2727
28-
The Amlogic GXL & GXM SoCs doesn't embed an USB3 PHY.
28+
The Amlogic GXL, GXM & AXG SoCs doesn't embed an USB3 PHY.
2929
3030
properties:
3131
compatible:
3232
enum:
3333
- amlogic,meson-gxl-usb-ctrl
3434
- amlogic,meson-gxm-usb-ctrl
35+
- amlogic,meson-axg-usb-ctrl
3536
- amlogic,meson-g12a-usb-ctrl
3637
- amlogic,meson-a1-usb-ctrl
3738

@@ -151,6 +152,25 @@ allOf:
151152

152153
required:
153154
- clock-names
155+
- if:
156+
properties:
157+
compatible:
158+
enum:
159+
- amlogic,meson-axg-usb-ctrl
160+
161+
then:
162+
properties:
163+
phy-names:
164+
items:
165+
- const: usb2-phy1 # USB2 PHY1 if USBOTG_B port is used
166+
clocks:
167+
minItems: 2
168+
clock-names:
169+
items:
170+
- const: usb_ctrl
171+
- const: ddr
172+
required:
173+
- clock-names
154174
- if:
155175
properties:
156176
compatible:

0 commit comments

Comments
 (0)