Message ID | 20240417152457.361340-1-Frank.Li@nxp.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 9c21bbfa30ec14f8dcf24e7f26fe72368960975c |
Headers | show |
Series | [v5,1/2] dt-bindings: dma: fsl-edma: remove 'clocks' from required | expand |
On Wed, 17 Apr 2024 11:24:56 -0400, Frank Li wrote: > 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. > > Applied, thanks! [1/2] dt-bindings: dma: fsl-edma: remove 'clocks' from required commit: 9c21bbfa30ec14f8dcf24e7f26fe72368960975c [2/2] dt-bindings: dma: fsl-edma: allow 'power-domains' property commit: 167ec660c247ea4c71a059290b50c100659d6e86 Best regards,
diff --git a/Documentation/devicetree/bindings/dma/fsl,edma.yaml b/Documentation/devicetree/bindings/dma/fsl,edma.yaml index 825f4715499e5..fb5fbe4b9f9d4 100644 --- a/Documentation/devicetree/bindings/dma/fsl,edma.yaml +++ b/Documentation/devicetree/bindings/dma/fsl,edma.yaml @@ -82,7 +82,6 @@ required: - compatible - reg - interrupts - - clocks - dma-channels allOf: @@ -187,6 +186,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: