Re: [PATCH v2 1/3] mtd: rawnand: cadence: support deferred prob when DMA is not ready

From: Miquel Raynal
Date: Tue Feb 04 2025 - 04:20:37 EST


Hello,

> My apologies for the confusion.
> Slave DMA terminology used in cadence nand controller bindings and
> driver is indeed confusing.
>
> To answer your question it is,
> 1 - External DMA (Generic DMA controller).
>
> Nand controller IP do not have embedded DMA controller (2 - peripheral DMA).
>
> FYR, how external DMA is used.
> https://elixir.bootlin.com/linux/v6.13.1/source/drivers/mtd/nand/raw/cadence-nand-controller.c#L1962

In this case we should have a dmas property (and perhaps dma-names), no?

Miquèl