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

dt-bindings: usb: add missed compatible string for arm64 layerscape

Add missed compatible string for arm64 layerscape platform. Allow these
fallback to fsl,ls1028a-dwc3.

Remove fallback snps,dwc3 because layerscape dwc3 is not full compatible
with common snps,dwc3 device, a special value gsburstcfg0 need be set when
dma coherence enabled.

Allow iommus property.

Change ref to snps,dwc3-common.yaml to use dwc3 flatten library.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250929-ls_dma_coherence-v5-1-2ebee578eb7e@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Frank Li and committed by
Greg Kroah-Hartman
b9f1c762 41294342

+18 -15
+18 -15
Documentation/devicetree/bindings/usb/fsl,ls1028a.yaml
··· 9 9 maintainers: 10 10 - Frank Li <Frank.Li@nxp.com> 11 11 12 - select: 13 - properties: 14 - compatible: 15 - contains: 16 - enum: 17 - - fsl,ls1028a-dwc3 18 - required: 19 - - compatible 20 - 21 12 properties: 22 13 compatible: 23 - items: 24 - - enum: 25 - - fsl,ls1028a-dwc3 26 - - const: snps,dwc3 14 + oneOf: 15 + - items: 16 + - enum: 17 + - fsl,ls1012a-dwc3 18 + - fsl,ls1043a-dwc3 19 + - fsl,ls1046a-dwc3 20 + - fsl,ls1088a-dwc3 21 + - fsl,ls208xa-dwc3 22 + - fsl,lx2160a-dwc3 23 + - const: fsl,ls1028a-dwc3 24 + - const: fsl,ls1028a-dwc3 27 25 28 26 reg: 29 27 maxItems: 1 30 28 31 29 interrupts: 32 30 maxItems: 1 31 + 32 + iommus: 33 + maxItems: 1 34 + 35 + dma-coherent: true 33 36 34 37 unevaluatedProperties: false 35 38 ··· 42 39 - interrupts 43 40 44 41 allOf: 45 - - $ref: snps,dwc3.yaml# 42 + - $ref: snps,dwc3-common.yaml# 46 43 47 44 examples: 48 45 - | 49 46 #include <dt-bindings/interrupt-controller/arm-gic.h> 50 47 51 48 usb@fe800000 { 52 - compatible = "fsl,ls1028a-dwc3", "snps,dwc3"; 49 + compatible = "fsl,ls1028a-dwc3"; 53 50 reg = <0xfe800000 0x100000>; 54 51 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; 55 52 };