Re: [PATCH net-next 4/8] MIPS: lantiq: dma: make the burst length configurable by the drivers

From: Hauke Mehrtens
Date: Tue Sep 14 2021 - 18:40:27 EST


On 9/14/21 11:21 PM, Aleksander Jan Bajkowski wrote:
Make the burst length configurable by the drivers.

Signed-off-by: Aleksander Jan Bajkowski <olek2@xxxxx>

Acked-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
For all 4 "MIPS: lantiq: dma:" changes.

---
.../include/asm/mach-lantiq/xway/xway_dma.h | 2 +-
arch/mips/lantiq/xway/dma.c | 38 ++++++++++++++++---
2 files changed, 34 insertions(+), 6 deletions(-)


The DMA changes are looking good.

There is also a DMA API driver for this IP core now:
https://elixir.bootlin.com/linux/v5.15-rc1/source/drivers/dma/lgm/lgm-dma.c
I do not know if it works fully with these older MIPS SoCs.
Changing the drivers to use the standard DMA API is a bigger change, which could be done later.

Hauke