dt-bindings: dma: fsl-mxs-dma: allow interrupt-names for fsl,imx23-dma-apbx
Subsystems (3)
Frank Li
maintainerPATCH 1/1 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.
--- .../devicetree/bindings/dma/fsl,mxs-dma.yaml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+)
Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml +33 -0
@@ -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
Signature · 1 line
2.34.1
Quoted 2 lines · Frank Li
Allow interrupt-names for fsl,imx23-dma-apbx and keep the same restriction for others.
The content of the patch seems okay, but why are you doing this? What is the value on this particular platform but not the others?
Quoted 60 lines
Signed-off-by Frank Li <[email protected]>--- .../devicetree/bindings/dma/fsl,mxs-dma.yaml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+)Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml +33
-0@@ -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: 1Signature · 1 line
2.34.1
Frank Li
maintainerQuoted 6 lines · Conor Dooley
Quoted 2 lines · Frank Li
Allow interrupt-names for fsl,imx23-dma-apbx and keep the same restriction for others.
The content of the patch seems okay, but why are you doing this? What is the value on this particular platform but not the others?
Actually it is not used in dma driver, i.MX23 is quite old chips (over 10year). Just to match existed dts to reduce warnings.
Frank
Quoted 61 lines
Quoted 61 lines
Signed-off-by Frank Li <[email protected]>--- .../devicetree/bindings/dma/fsl,mxs-dma.yaml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+)Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml +33
-1@@ -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 --2.34.1
Quoted 9 lines · Frank Li
Quoted 6 lines · Conor Dooley
Quoted 2 lines · Frank Li
Allow interrupt-names for fsl,imx23-dma-apbx and keep the same restriction for others.
The content of the patch seems okay, but why are you doing this? What is the value on this particular platform but not the others?
Actually it is not used in dma driver, i.MX23 is quite old chips (over 10year).
If they provide no value, why not just delete them?
Quoted 1 line
Just to match existed dts to reduce warnings.
You should mention this in your commit message.
Frank Li
maintainerQuoted 6 lines · Conor Dooley
Quoted 5 lines · Frank Li
Quoted 4 lines · Conor Dooley
Quoted 2 lines · Frank Li
Allow interrupt-names for fsl,imx23-dma-apbx and keep the same restriction for others.
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
The content of the patch seems okay, but why are you doing this? What is the value on this particular platform but not the others?
Actually it is not used in dma driver, i.MX23 is quite old chips (over 10year).
If they provide no value, why not just delete them?
The platform is too old. I have not hardware to test if it really unused.
Frank
Quoted 4 lines
Quoted 2 lines
Just to match existed dts to reduce warnings.
You should mention this in your commit message.
Conor Dooley
Acked-byQuoted 7 lines · Frank Li
Quoted 6 lines · Conor Dooley
Quoted 5 lines · Frank Li
Quoted 4 lines · Conor Dooley
Quoted 2 lines · Frank Li
Allow interrupt-names for fsl,imx23-dma-apbx and keep the same restriction for others.
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
The content of the patch seems okay, but why are you doing this? What is the value on this particular platform but not the others?
Actually it is not used in dma driver, i.MX23 is quite old chips (over 10year).
If they provide no value, why not just delete them?
The platform is too old. I have not hardware to test if it really unused.
oh well,
Quoted 4 lines · Frank Li
Allow interrupt-names for fsl,imx23-dma-apbx and keep the same restriction for others.
Applied, thanks!
[1/1] dt-bindings: dma: fsl-mxs-dma: allow interrupt-names for fsl,imx23-dma-apbx
commit: e3a9ccd21897a59d02cf2b7a95297086249306d6
Best regards,
Signature · 1 line
~Vinod