Skip to contentSkip to conversation

dt-bindings: usb: dwc2: fix bindings for amlogic,meson-gxbb-usb

PATCH Superseded Neil Armstrong 3 participants 3 messages Mar 26, 2020

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: usb: dwc2: fix bindings for amlogic,meson-gxbb-usb

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")
---
 Documentation/devicetree/bindings/usb/dwc2.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/usb/dwc2.yaml +3 -1
index 71cf7ba32237..b7b9ddcbc637 100644
@@ -49,7 +49,9 @@ properties:
       - items:
           - const: amlogic,meson8b-usb
           - const: snps,dwc2
-      - const: amlogic,meson-gxbb-usb
+      - items:
+          - const: amlogic,meson-gxbb-usb
+          - const: snps,dwc2
       - items:
           - const: amlogic,meson-g12a-usb
           - const: snps,dwc2
Signature · 1 line
2.22.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Neil Armstrong

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")
Quoted 9 lines
---
  Documentation/devicetree/bindings/usb/dwc2.yaml | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/usb/dwc2.yaml +0 -0
index 71cf7ba32237..b7b9ddcbc637 100644

Documentation/devicetree/bindings/usb/dwc2.yaml properties: · line 57

Quoted 10 lines
Documentation/devicetree/bindings/usb/dwc2.yaml +3 -1
@@ -49,7 +49,9 @@ properties:
        - items:
            - const: amlogic,meson8b-usb
            - const: snps,dwc2
-      - const: amlogic,meson-gxbb-usb
+      - items:
+          - const: amlogic,meson-gxbb-usb
+          - const: snps,dwc2
        - items:
            - const: amlogic,meson-g12a-usb
            - const: snps,dwc2

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

maintainer
#2 lore raw
In reply to Neil Armstrong
Quoted 15 lines · Neil Armstrong

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")
---
 Documentation/devicetree/bindings/usb/dwc2.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/usb/dwc2.yaml +0 -0
index 71cf7ba32237..b7b9ddcbc637 100644

Documentation/devicetree/bindings/usb/dwc2.yaml properties: · line 56

Quoted 9 lines
Documentation/devicetree/bindings/usb/dwc2.yaml +3 -1
@@ -49,7 +49,9 @@ properties:
       - items:
           - const: amlogic,meson8b-usb
           - const: snps,dwc2
-      - const: amlogic,meson-gxbb-usb
+      - items:
+          - const: amlogic,meson-gxbb-usb
+          - const: snps,dwc2
       - items:
           - const: amlogic,meson-g12a-usb

Perhaps combine at least all the amlogic ones to a single entry.

Quoted 4 lines
Documentation/devicetree/bindings/usb/dwc2.yaml +0 -1
           - const: snps,dwc2
--

2.22.0