Thread (18 messages) 18 messages, 7 authors, 2012-11-09

[PATCH] dma: add new DMA control commands

From: dedekind1@gmail.com (Artem Bityutskiy)
Date: 2012-11-09 15:28:47
Also in: alsa-devel, linux-i2c, linux-mmc, lkml

On Thu, 2012-10-18 at 16:29 +0800, Huang Shijie wrote:
? 2012?10?18? 16:16, Marek Vasut ??:
quoted
So we can't stream data from the chip? About time to adjust the MTD framework to
allow that. Maybe implement a command queue?
to Artem & David:
    is this possible to stream the data out with a command queue?
Well, I think there was no HW which supported reading multiple pages
with DMA before, are your sure yours support this? Usually reading a
NAND page consists of 2 phases - loading the NAND array contents to a
controller buffer, and then copying that to RAM. And the second part is
something people sometimes do with DMA, AFAIU.

If your HW supports this, sure the MTD framework can be re-worked. Or
you may write your own 'mtd->_read()' / 'mtd->_write()' implementation.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121109/12358221/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help