On 05/20/2014 11:25 AM, Vasily Khoruzhick wrote:
On Mon, May 19, 2014 at 11:34 PM, Lars-Peter Clausen lars@metafoo.de wrote:
On 05/19/2014 10:18 PM, Vasily Khoruzhick wrote:
On Mon, May 19, 2014 at 8:11 PM, Vasily Khoruzhick anarsoul@gmail.com wrote:
Use dmaengine instead of legacy s3c24xx DMA API for s3c24xx and s3c2412
Please discard this series, I'd like to use dma_request_slave_channel_compat() to request a dma channel here, to simpify migration to DT later.
When you use the generic DMAengine PCM driver, migration to DT essentially comes for free, you don't need to do anything special other than not specifying the NO_DT flag.
- Lars
Hi Lars, all,
But how do I have to pass DMA channel number for non-DT boot? I've seen that s3c64xx uses DMA resources at least for I2S and SPI, but Arnd suggested to use platform data. What's preffered way?
I don't think it matters, both isn't really that nice, but we currently do not have a nice way to specify the DMA channel on non-DT platforms. What's missing the a equivalent of the GPIO descriptor lookup tables, but for DMA channels.
- Lars