diff options
author | 2024-07-10 10:54:00 -0400 | |
---|---|---|
committer | 2024-08-05 23:02:35 +0530 | |
commit | 0204485c5a1e2de00acfd83c3931bd9dc6493c64 (patch) | |
tree | 34fc15e1b1c00722b7eb6fbb71f1913bd8c92611 | |
parent | dmaengine: dmatest: Explicitly cast divisor to u32 (diff) | |
download | wireguard-linux-0204485c5a1e2de00acfd83c3931bd9dc6493c64.tar.xz wireguard-linux-0204485c5a1e2de00acfd83c3931bd9dc6493c64.zip |
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 <krzysztof.kozlowski@linaro.org>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20240710145400.2257718-1-Frank.Li@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | Documentation/devicetree/bindings/dma/fsl-qdma.yaml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/dma/fsl-qdma.yaml b/Documentation/devicetree/bindings/dma/fsl-qdma.yaml index 1b9ebdbe528a..9401b1f6300d 100644 --- a/Documentation/devicetree/bindings/dma/fsl-qdma.yaml +++ b/Documentation/devicetree/bindings/dma/fsl-qdma.yaml @@ -11,11 +11,14 @@ maintainers: properties: compatible: - enum: - - fsl,ls1021a-qdma - - fsl,ls1028a-qdma - - fsl,ls1043a-qdma - - fsl,ls1046a-qdma + oneOf: + - const: fsl,ls1021a-qdma + - items: + - enum: + - fsl,ls1028a-qdma + - fsl,ls1043a-qdma + - fsl,ls1046a-qdma + - const: fsl,ls1021a-qdma reg: items: |