Hi Pablo,
On Mon, 1 Aug 2022 at 16:13, 'Pablo De Paulis' via linux-sunxi <[email protected]> wrote: > > 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. https://linux-sunxi.org/Linux_mainlining_effort#Status_Matrix Show DMA for A20 merged in 4.3 Seems also present in device-tree: https://github.com/torvalds/linux/blob/master/arch/arm/boot/dts/sun7i-a20.dtsi#L327-L333 Also your board seems supported: https://github.com/torvalds/linux/blob/master/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts Regards > > 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 > > -- > You received this message because you are subscribed to the Google Groups > "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/linux-sunxi/83038138-f6d9-4929-92f0-a1a50ce939f4n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/CAJiuCccXLjZ-W83vtx8CEyB7y2eUPZCi73Oa%2BuaSy2HfYc2wLg%40mail.gmail.com.
