Skip to content

Commit 268eb6f

Browse files
Xu Yanggregkh
authored andcommitted
dt-bindings: usb: dwc3-imx8mp: dma-range is required only for imx8mp
Only i.MX8MP need dma-range property to let USB controller work properly. Remove dma-range from required list and add limitation for imx8mp. Fixes: d2a704e ("dt-bindings: usb: dwc3-imx8mp: add imx8mp dwc3 glue bindings") Cc: stable <[email protected]> Reviewed-by: Jun Li <[email protected]> Signed-off-by: Xu Yang <[email protected]> Reviewed-by: Frank Li <[email protected]> Acked-by: Conor Dooley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 3a86608 commit 268eb6f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,21 @@ required:
8989
- reg
9090
- "#address-cells"
9191
- "#size-cells"
92-
- dma-ranges
9392
- ranges
9493
- clocks
9594
- clock-names
9695
- interrupts
9796
- power-domains
9897

98+
allOf:
99+
- if:
100+
properties:
101+
compatible:
102+
const: fsl,imx8mp-dwc3
103+
then:
104+
required:
105+
- dma-ranges
106+
99107
additionalProperties: false
100108

101109
examples:

0 commit comments

Comments
 (0)