Re: [PATCH v2] dt-bindings: dma: fsl,imx-dma: Convert to dtschema
From: Rob Herring
Date: Tue Jun 04 2024 - 15:57:50 EST
On Fri, May 31, 2024 at 04:43:52PM +0530, Animesh Agarwal wrote:
> On Fri, May 31, 2024 at 3:49 PM Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:
> >
> > On 31/05/2024 11:04, Animesh Agarwal wrote:
> > > + "#dma-cells":
> > > + const: 1
> > > +
> > > + dma-channels:
> > > + maximum: 16
> >
> > maximum or const?
>
> The txt binding says it should always be 16. Datasheet says this
> device has 16 channels of DMA services. I thought specifying just the
> maximum implies maximum=minimum=16. Sorry for missing the changelog in
> this version it was cost in the v1 of this patch.
>
> >
> > deprecated: true
> >
>
> Shall it not be
> "#dma-channels ":
> deprecated: true
> ?
Yes. dma-channels is not deprecated.
For the old ones, maybe it has been long enough that their use has been
dropped that you can just drop them in the conversion. Looks like there
is no driver support already.
Rob