Hi Robert,

You are talking about the edma not being registered for the SPI when using 
overlays, right?

I’ve been working on adding DMA to the IIO ADC driver and I came across the 
same problem. It seems like prepare_unused_channel_list is only called the 
first time edma_alloc_channel is called. In prepare_unused_channel_list, it 
scans the device tree for “dmas” & “dma-cells” and sets up the 
edma_cc[0]->edma_unused. 

So similar to the problem you have with SPI, I had to add the ADC spec into the 
base devicetree because the overlay would not work. 

Regards,
John




> On May 27, 2016, at 6:34 AM, Robert Nelson <robertcnel...@gmail.com> wrote:
> 
> 
> 
> On Fri, May 27, 2016 at 8:29 AM, Mattt C <matthieu.cl...@gmail.com 
> <mailto:matthieu.cl...@gmail.com>> wrote:
> Hi, 
> 
> I got the exact same problem. I use the DTBO BB-SPIDEV0 with linux kernel 
> 4.1.15. The pinmux of SPI pins doesn't change when I load the SPI overlay. I 
> tried loading I2C1, pin P9_18 change its pinmux. When I load SPIDEV0, it 
> doesn't.
> 
> BB-SPIDEV0 needs to be loaded at bootup, not later, as it will fail if 
> manually loaded...
> 
> add it to /boot/uEnv.txt
> 
> cape_enable=bone_capemgr.enable_partno=BB-SPIDEV0
> Regards,
> 
> -- 
> Robert Nelson
> https://rcn-ee.com/ <https://rcn-ee.com/>
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> <http://beagleboard.org/discuss>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com 
> <mailto:beagleboard+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/CAOCHtYh%3DmV%2BPb48zEjy3Zqh2HN_kq_iCAZB2KCcfmdVhAWqUzA%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/beagleboard/CAOCHtYh%3DmV%2BPb48zEjy3Zqh2HN_kq_iCAZB2KCcfmdVhAWqUzA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/AF448155-FF26-44DB-AC2E-AA7632AA82BD%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to