]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: sunxi: Add MDMA support
authorManuel Dipolt <mdipolt@robart.cc>
Mon, 12 Oct 2020 15:41:22 +0000 (17:41 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 10 Dec 2020 21:37:31 +0000 (22:37 +0100)
commitcc1de0d050f09b74c062c0b22a9bf238aaa9c6d6
tree256b5ba71e3753d5095b903274068def2aeef368
parenta9f2e8af53c721da8805c4e95c700d9dcf576c47
mtd: rawnand: sunxi: Add MDMA support

This patch enables NAND MDMA (MBUS DMA) mode for
the Allwinner SoCs A23/A33/H3.

The DMA transfer method gets sets now to MBUS DMA as default for
the sun8i-a23-nand-controller (till now DMA transfer was executed
via the shared DMA engine).

The main advantage is more bandwidth for the users of the shared DMA
engine and also that the MBUS DMA setup requires less configuration
effort. For example you don't need to define a dedicated DMA channel
in the device-tree any more.

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Manuel Dipolt <manuel.dipolt@robart.cc>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/154840787.280672.1602517282173.JavaMail.zimbra@robart.cc
drivers/mtd/nand/raw/sunxi_nand.c