[PATCH 1/1] dt-bindings: dma: fsl-mxs-dma: allow interrupt-names for fsl,imx23-dma-apbx

Frank Li Frank.li at nxp.com
Wed May 28 08:50:42 PDT 2025


On Mon, May 26, 2025 at 04:28:07PM +0100, Conor Dooley wrote:
> On Fri, May 23, 2025 at 05:32:52PM -0400, Frank Li wrote:
> > 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
>
> >
> > Signed-off-by: Frank Li <Frank.Li at nxp.com>
> > ---
> >  .../devicetree/bindings/dma/fsl,mxs-dma.yaml  | 33 +++++++++++++++++++
> >  1 file changed, 33 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml b/Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml
> > index 75a7d9556699c..9102b615dbd61 100644
> > --- a/Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml
> > +++ b/Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml
> > @@ -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
> >





More information about the linux-arm-kernel mailing list