lkml.org 
[lkml]   [2012]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API
Hi Matt,

On 8/23/2012 6:39 AM, Matt Porter wrote:
> Removes use of the DaVinci EDMA private DMA API and replaces
> it with use of the DMA engine API.
>
> Signed-off-by: Matt Porter <mporter@ti.com>

I tried testing this patch on my OMAP-L138 EVM, but SPI fails to
initialize after applying the patch.

root@arago:~# dmesg | grep -i spi
spi_davinci spi_davinci.1: request RX DMA channel failed

without these 3 patches, SPI flash is detected fine (same kernel
configuration):

root@arago:~# dmesg | grep spi
spi_davinci spi_davinci.1: DMA: supported
spi_davinci spi_davinci.1: DMA: RX channel: 18, TX channel: 19, event queue: 0
spi_davinci spi_davinci.1: master is unqueued, this is deprecated
m25p80 spi1.0: m25p64 (8192 Kbytes)
spi_davinci spi_davinci.1: Controller at 0xfef0e000

Any idea what could be wrong? This is v3.6-rc3 kernel. I can provide
full bootlogs or any other debug information if that helps.

Thanks,
Sekhar


\
 
 \ /
  Last update: 2012-08-30 17:01    [W:0.119 / U:24.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site