Skip to content

Commit 0204485

Browse files
nxpfranklivinodkoul
authored andcommitted
dt-bindings: fsl-qdma: allow compatible string fallback to fsl,ls1021a-qdma
The IP of QDMA ls1028/ls1043/ls1046/ is same as ls1021. So allow compatible string fallback to fsl,ls1021a-qdma. The difference is that ls1021a-qdma have 3 irqs, and other have 5 irqs. Fix below CHECK_DTB warning. arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dtb: dma-controller@8380000: compatible: ['fsl,ls1046a-qdma', 'fsl,ls1021a-qdma'] is too long Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Frank Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent da080d9 commit 0204485

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Documentation/devicetree/bindings/dma/fsl-qdma.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@ maintainers:
1111

1212
properties:
1313
compatible:
14-
enum:
15-
- fsl,ls1021a-qdma
16-
- fsl,ls1028a-qdma
17-
- fsl,ls1043a-qdma
18-
- fsl,ls1046a-qdma
14+
oneOf:
15+
- const: fsl,ls1021a-qdma
16+
- items:
17+
- enum:
18+
- fsl,ls1028a-qdma
19+
- fsl,ls1043a-qdma
20+
- fsl,ls1046a-qdma
21+
- const: fsl,ls1021a-qdma
1922

2023
reg:
2124
items:

0 commit comments

Comments
 (0)