dt-bindings: dma: fsl-edma: remove 'clocks' from required
Frank Li
maintainerPATCH 1/2 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.
--- .../devicetree/bindings/dma/fsl,edma.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/dma/fsl,edma.yaml +15 -1
@@ -70,7 +70,6 @@ required: - compatible - reg - interrupts - - clocks - dma-channels allOf:
@@ -151,6 +150,21 @@ allOf: dma-channels: const: 32 + - if: + properties: + compatible: + contains: + enum: + - fsl,vf610-edma + - fsl,imx7ulp-edma + - fsl,imx93-edma3 + - fsl,imx93-edma4 + - fsl,imx95-edma5 + - fsl,ls1028a-edma + then: + required: + - clocks + unevaluatedProperties: false examples:
Signature · 1 line
2.34.1
Frank Li
maintainerPATCH 2/2 dt-bindings: dma: fsl-edma: allow 'power-domains' property
Allow 'power-domains' property because i.MX8DXL i.MX8QM and i.MX8QXP need it.
--- Documentation/devicetree/bindings/dma/fsl,edma.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/dma/fsl,edma.yaml +2 -0
@@ -59,6 +59,8 @@ properties: minItems: 1 maxItems: 2 + power-domains: true + big-endian: description: | If present registers and hardware scatter/gather descriptors of the
Signature · 1 line
2.34.1
Re: [PATCH 2/2] dt-bindings: dma: fsl-edma: allow 'power-domains' property
Quoted 13 lines · Frank Li
Allow 'power-domains' property because i.MX8DXL i.MX8QM and i.MX8QXP need it.
Signed-off-by Frank Li <[email protected]>--- Documentation/devicetree/bindings/dma/fsl,edma.yaml | 2 ++ 1 file changed, 2 insertions(+)Documentation/devicetree/bindings/dma/fsl,edma.yaml +0
-0
Documentation/devicetree/bindings/dma/fsl,edma.yaml properties: · line 62
Quoted 4 lines
Documentation/devicetree/bindings/dma/fsl,edma.yaml +1
-0@@ -59,6 +59,8 @@ properties: minItems: 1 maxItems: 2 + power-domains: true
maxItems
Best regards,
Krzysztof
Quoted 5 lines · Frank Li
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.
Signed-off-by Frank Li <[email protected]>
Best regards,
Krzysztof