]> www.infradead.org Git - nvme.git/commit
dt-bindings: fsl-qdma: fix interrupts 'if' check logic
authorFrank Li <Frank.Li@nxp.com>
Mon, 1 Jul 2024 19:57:16 +0000 (15:57 -0400)
committerVinod Koul <vkoul@kernel.org>
Wed, 10 Jul 2024 10:12:40 +0000 (15:42 +0530)
commitb8ec9dba02a74797421c52b1226b23a4302362a6
tree688fac7248a5a79f9b83fb450584e3ce33577ccb
parent5bcf62748f37b81fb41b112cc87c2788c8ddd972
dt-bindings: fsl-qdma: fix interrupts 'if' check logic

All compatible string include 'fsl,ls1021a-qdma'. Previous if check are
always true.

if:
  properties:
    compatible:
      contains:
       enum:
         - fsl,ls1021a-qdma

Change to check other compatible strings to get correct logic and fix
below CHECK_DTB warnings.

arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dtb:
dma-controller@8380000: interrupts: [[0, 43, 4], [0, 251, 4], [0, 252, 4], [0, 253, 4], [0, 254, 4]] is too long

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240701195717.1843041-1-Frank.Li@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/dma/fsl-qdma.yaml