Re: [PATCH v7 3/5] dmaengine: dw-edma: Add support for native HDMA

From: Cai Huoqing
Date: Sun Mar 19 2023 - 22:37:15 EST


On 18 3月 23 06:49:41, Lars-Peter Clausen wrote:
> On 3/14/23 18:28, Cai Huoqing wrote:
> > Add support for HDMA NATIVE, as long the IP design has set
> >
> > diff --git a/drivers/dma/dw-edma/dw-hdma-v0-regs.h b/drivers/dma/dw-edma/dw-hdma-v0-regs.h
> > new file mode 100644
> > index 000000000000..0a6032aa1a33
> > --- /dev/null
> > +++ b/drivers/dma/dw-edma/dw-hdma-v0-regs.h
> > @@ -0,0 +1,130 @@
> >
> > +struct dw_hdma_v0_ch_regs {
> > [...]
> > + u32 msi_msgdata; /* 0x00a8 */
> > + u32 padding_2[21]; /* 0x00ac..0x00e8 */
> The comment here is wrong. This goes all the way to 0x00fc.

Will fix, if send next version.

Thanks,
Cai-

> > +} __packed;
> > +
>