dt-bindings: usb: dwc2: fix bindings for amlogic, meson-gxbb-usb
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 31 Mar 2020 08:37:29 +0000 (10:37 +0200)
committerRob Herring <robh@kernel.org>
Tue, 31 Mar 2020 22:08:38 +0000 (16:08 -0600)
The amlogic,meson-gxbb-usb compatible needs snps,dwc2 aswell like other
Amlogic SoC.

Fixes: f3ca745d8a0e ("dt-bindings: usb: Convert DWC2 bindings to json-schema")
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/usb/dwc2.yaml

index e95ba9373023acbc4edc6b8a9a985dc108b36eb6..e638dcd7990997e6879428e822edfe0e42c93320 100644 (file)
@@ -44,14 +44,11 @@ properties:
       - const: lantiq,arx100-usb
       - const: lantiq,xrx200-usb
       - items:
-          - const: amlogic,meson8-usb
-          - const: snps,dwc2
-      - items:
-          - const: amlogic,meson8b-usb
-          - const: snps,dwc2
-      - const: amlogic,meson-gxbb-usb
-      - items:
-          - const: amlogic,meson-g12a-usb
+          - enum:
+            - amlogic,meson8-usb
+            - amlogic,meson8b-usb
+            - amlogic,meson-gxbb-usb
+            - amlogic,meson-g12a-usb
           - const: snps,dwc2
       - const: amcc,dwc-otg
       - const: snps,dwc2