Commit e3a9ccd2 authored by Frank Li's avatar Frank Li Committed by Vinod Koul
Browse files

dt-bindings: dma: fsl-mxs-dma: allow interrupt-names for fsl,imx23-dma-apbx



Allow interrupt-names for fsl,imx23-dma-apbx and keep the same restriction
for others.

Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250523213252.582366-1-Frank.Li@nxp.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent e5698202
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -23,6 +23,35 @@ allOf:
      properties:
        power-domains: false

  - if:
      properties:
        compatible:
          contains:
            const: fsl,imx23-dma-apbx
    then:
      properties:
        interrupt-names:
          items:
            - const: audio-adc
            - const: audio-dac
            - const: spdif-tx
            - const: i2c
            - const: saif0
            - const: empty0
            - const: auart0-rx
            - const: auart0-tx
            - const: auart1-rx
            - const: auart1-tx
            - const: saif1
            - const: empty1
            - const: empty2
            - const: empty3
            - const: empty4
            - const: empty5
    else:
      properties:
        interrupt-names: false

properties:
  compatible:
    oneOf:
@@ -54,6 +83,10 @@ properties:
    minItems: 4
    maxItems: 16

  interrupt-names:
    minItems: 4
    maxItems: 16

  "#dma-cells":
    const: 1