Greetings,
I recently joined this group, so apologies in advance if I'm off here, but my understanding is that the group consists of several notorious contributors in the effort to bring sun7i linux (stuck in 3.x kernel) to mainline Linux kernel.
We've been trying to find out if a DMA support for the A20 SoC has been merged.
We are using Olimex-linux 5.10.105 (for a A20-OLinuXino-micro offshoot), and when trying to build a kernel module we can't find some files, in particular what used to be:
linux-sunxi/arch/arm/mach-sun7i/include/mach/dma.h
Found a message from Mr. Masson circa 2013 with a patch for spi_sunixi unified sun7i support which included the aforementioned dma.h, among others. That patch never really made it.
The last message I found Benoit mentioned something along the lines of "using Ryan’s sun7i Normal DMA version".
There's also extensive work from Mr. Ripard and Mr. Lopez on patches to support the DMA engine present on Allwinner A10, A13, A10S and A20 SoCs circa 2015, but somehow the interface provided by the sunxi 3.4 Linux is not there.
Looking into the Bootlin I can also not find the aforementioned file. Also looked in the olimex-linux menuconfig in DMA support, but there's nothing that resembles A20 DMA support.
So, it looks like that particular DMA interface never made it into mainline.
Again, apologies in advance if this is not the right place for these types of questions, but if anyone has any leads or information it'd be appreciated.
Best,
Pablo