Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: d2a704e29711 ("dt-bindings: usb: dwc3-imx8mp: add imx8mp dwc3 glue bindings")
Cc: stable <stable@kernel.org>
Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Xu Yang and committed by
Greg Kroah-Hartman
268eb6fb 3a866087

+9 -1
+9 -1
Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml
··· 89 89 - reg 90 90 - "#address-cells" 91 91 - "#size-cells" 92 - - dma-ranges 93 92 - ranges 94 93 - clocks 95 94 - clock-names 96 95 - interrupts 97 96 - power-domains 97 + 98 + allOf: 99 + - if: 100 + properties: 101 + compatible: 102 + const: fsl,imx8mp-dwc3 103 + then: 104 + required: 105 + - dma-ranges 98 106 99 107 additionalProperties: false 100 108