]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: sunxi: Add A23/A33 DMA support with extra MBUS configuration
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 8 Apr 2019 07:41:46 +0000 (09:41 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 5 Jul 2019 20:30:58 +0000 (22:30 +0200)
commit6750c72e671472934554d700516d53b55113162e
treedf674985e61420d2e06abebd37588377d83f4964
parentac10c35f1ed82f9b30477b8bc4b60145902b89d7
mtd: rawnand: sunxi: Add A23/A33 DMA support with extra MBUS configuration

Allwinner NAND controllers can make use of DMA to enhance the I/O
throughput thanks to ECC pipelining. DMA handling with A23/A33 NAND IP
is a bit different than with the older SoCs, hence the introduction of
a new compatible to handle:
* the differences between register offsets,
* the burst length change from 4 to minimum 8,
* manage SRAM accesses through MBUS with extra configuration.

Fixes: 359165367daf ("mtd: rawnand: sunxi: Add A23/A33 DMA support")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/sunxi_nand.c