Re: [PATCH net-next 4/8] MIPS: lantiq: dma: make the burst length configurable by the drivers
From: Hauke Mehrtens <hauke@hauke-m.de>
Date: 2021-09-14 22:40:27
Also in:
linux-mips, lkml, netdev
From: Hauke Mehrtens <hauke@hauke-m.de>
Date: 2021-09-14 22:40:27
Also in:
linux-mips, lkml, netdev
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 <redacted>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de> 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