mbox series

[v3,0/6] dmaengine: fsl-edma: integrate TCD64 support for 64bit physical address

Message ID 20231127225542.2744711-1-Frank.Li@nxp.com (mailing list archive)
Headers show
Series dmaengine: fsl-edma: integrate TCD64 support for 64bit physical address | expand

Message

Frank Li Nov. 27, 2023, 10:55 p.m. UTC
Change from v2 to v3:
 - fix sparse build warning

Change from v1 to v2:
- fixed mcf-edma-main.c build error.
- fixed readq build error. readq actually is not atomic read in imx95.
So split to two ioread32\iowrite32.
  It needs read at least twice to avoid lower 32 bit part wrap during read
up 32bit part.

first 2 patch is prepare, No function change.
3rd patch is dt-bind doc
4rd patch is actuall support TCD64

Frank Li (6):
  dmaengine: fsl-edma: involve help macro fsl_edma_set(get)_tcd()
  dmaengine: fsl-edma: fix spare build warning
  dmaengine: fsl-edma: add address for channel mux register in
    fsl_edma_chan
  dmaengine: mcf-edma: utilize edma_write_tcdreg() macro for TCD Access
  dt-bindings: fsl-dma: fsl-edma: add fsl,imx95-edma5 compatible string
  dmaengine: fsl-edma: integrate TCD64 support for i.MX95

 .../devicetree/bindings/dma/fsl,edma.yaml     |   2 +
 drivers/dma/fsl-edma-common.c                 | 101 ++++++-----
 drivers/dma/fsl-edma-common.h                 | 161 ++++++++++++++++--
 drivers/dma/fsl-edma-main.c                   |  19 ++-
 drivers/dma/mcf-edma-main.c                   |   2 +-
 5 files changed, 223 insertions(+), 62 deletions(-)

Comments

Frank Li Dec. 12, 2023, 4:19 p.m. UTC | #1
On Mon, Nov 27, 2023 at 05:55:36PM -0500, Frank Li wrote:
> Change from v2 to v3:
>  - fix sparse build warning
> 
> Change from v1 to v2:
> - fixed mcf-edma-main.c build error.
> - fixed readq build error. readq actually is not atomic read in imx95.
> So split to two ioread32\iowrite32.
>   It needs read at least twice to avoid lower 32 bit part wrap during read
> up 32bit part.
> 
> first 2 patch is prepare, No function change.
> 3rd patch is dt-bind doc
> 4rd patch is actuall support TCD64

@vnod:
	Do you have chance to look at these patches?

Frank

> 
> Frank Li (6):
>   dmaengine: fsl-edma: involve help macro fsl_edma_set(get)_tcd()
>   dmaengine: fsl-edma: fix spare build warning
>   dmaengine: fsl-edma: add address for channel mux register in
>     fsl_edma_chan
>   dmaengine: mcf-edma: utilize edma_write_tcdreg() macro for TCD Access
>   dt-bindings: fsl-dma: fsl-edma: add fsl,imx95-edma5 compatible string
>   dmaengine: fsl-edma: integrate TCD64 support for i.MX95
> 
>  .../devicetree/bindings/dma/fsl,edma.yaml     |   2 +
>  drivers/dma/fsl-edma-common.c                 | 101 ++++++-----
>  drivers/dma/fsl-edma-common.h                 | 161 ++++++++++++++++--
>  drivers/dma/fsl-edma-main.c                   |  19 ++-
>  drivers/dma/mcf-edma-main.c                   |   2 +-
>  5 files changed, 223 insertions(+), 62 deletions(-)
> 
> -- 
> 2.34.1
>