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

dt-bindings: dma: fsl-edma: remove 'clocks' from required



fsl,imx8qm-adma and fsl,imx8qm-edma don't require 'clocks'. Remove it from
required and add 'if' block for other compatible string to keep the same
restrictions.

Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20240417152457.361340-1-Frank.Li@nxp.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 39def87b
Loading
Loading
Loading
Loading
+16 −1
Original line number Diff line number Diff line
@@ -81,7 +81,6 @@ required:
  - compatible
  - reg
  - interrupts
  - clocks
  - dma-channels

allOf:
@@ -185,6 +184,22 @@ allOf:
        "#dma-cells":
          const: 3

  - if:
      properties:
        compatible:
          contains:
            enum:
              - fsl,vf610-edma
              - fsl,imx7ulp-edma
              - fsl,imx93-edma3
              - fsl,imx93-edma4
              - fsl,imx95-edma5
              - fsl,imx8ulp-edma
              - fsl,ls1028a-edma
    then:
      required:
        - clocks

unevaluatedProperties: false

examples: