Skip to content

Commit 95b18f2

Browse files
Johan Jonkerfelipebalbi
authored andcommitted
dt-bindings: usb: dwc2: add compatible property for rk3328 usb
A test with the command below gives for example this error: arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml: usb@ff580000: compatible: ['rockchip,rk3328-usb', 'rockchip,rk3066-usb', 'snps,dwc2'] is not valid under any of the given schemas The compatible property for rk3328 dwc2 usb was somehow never added to the documention. Fix this error by adding 'rockchip,rk3328-usb', 'rockchip,rk3066-usb', 'snps,dwc2' to dwc2.yaml. make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/usb/dwc2.yaml Signed-off-by: Johan Jonker <jbx6244@gmail.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
1 parent f2c2e71 commit 95b18f2

File tree

1 file changed

+8
-21
lines changed
  • Documentation/devicetree/bindings/usb

1 file changed

+8
-21
lines changed

Documentation/devicetree/bindings/usb/dwc2.yaml

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,14 @@ properties:
1818
- const: rockchip,rk3066-usb
1919
- const: snps,dwc2
2020
- items:
21-
- const: rockchip,px30-usb
22-
- const: rockchip,rk3066-usb
23-
- const: snps,dwc2
24-
- items:
25-
- const: rockchip,rk3036-usb
26-
- const: rockchip,rk3066-usb
27-
- const: snps,dwc2
28-
- items:
29-
- const: rockchip,rv1108-usb
30-
- const: rockchip,rk3066-usb
31-
- const: snps,dwc2
32-
- items:
33-
- const: rockchip,rk3188-usb
34-
- const: rockchip,rk3066-usb
35-
- const: snps,dwc2
36-
- items:
37-
- const: rockchip,rk3228-usb
38-
- const: rockchip,rk3066-usb
39-
- const: snps,dwc2
40-
- items:
41-
- const: rockchip,rk3288-usb
21+
- enum:
22+
- rockchip,px30-usb
23+
- rockchip,rk3036-usb
24+
- rockchip,rk3188-usb
25+
- rockchip,rk3228-usb
26+
- rockchip,rk3288-usb
27+
- rockchip,rk3328-usb
28+
- rockchip,rv1108-usb
4229
- const: rockchip,rk3066-usb
4330
- const: snps,dwc2
4431
- const: lantiq,arx100-usb

0 commit comments

Comments
 (0)