Skip to content

Commit 9c21bbf

Browse files
nxpfranklivinodkoul
authored andcommitted
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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Frank Li <Frank.Li@nxp.com> Link: https://lore.kernel.org/r/20240417152457.361340-1-Frank.Li@nxp.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 39def87 commit 9c21bbf

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

Documentation/devicetree/bindings/dma/fsl,edma.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ required:
8181
- compatible
8282
- reg
8383
- interrupts
84-
- clocks
8584
- dma-channels
8685

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

187+
- if:
188+
properties:
189+
compatible:
190+
contains:
191+
enum:
192+
- fsl,vf610-edma
193+
- fsl,imx7ulp-edma
194+
- fsl,imx93-edma3
195+
- fsl,imx93-edma4
196+
- fsl,imx95-edma5
197+
- fsl,imx8ulp-edma
198+
- fsl,ls1028a-edma
199+
then:
200+
required:
201+
- clocks
202+
188203
unevaluatedProperties: false
189204

190205
examples:

0 commit comments

Comments
 (0)