diff options
author | Simon Schwarz <simonschwarzcor@googlemail.com> | 2011-09-28 05:00:26 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-10-27 21:56:34 +0200 |
commit | 4c4bb19d056da6f32a5bb7cb27045524513d63e0 (patch) | |
tree | 216d0772189b1d6aff889bf5c25822360bb83e0e /doc/README.omap3 | |
parent | 7b646a6d12a67416587630381eb77f16ce6d33e2 (diff) | |
download | u-boot-imx-4c4bb19d056da6f32a5bb7cb27045524513d63e0.zip u-boot-imx-4c4bb19d056da6f32a5bb7cb27045524513d63e0.tar.gz u-boot-imx-4c4bb19d056da6f32a5bb7cb27045524513d63e0.tar.bz2 |
omap3: Add interface for omap3 DMA
Adds an interface to use the OMAP3 DMA.
Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'doc/README.omap3')
-rw-r--r-- | doc/README.omap3 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/README.omap3 b/doc/README.omap3 index 1768cdd..2a3f46b 100644 --- a/doc/README.omap3 +++ b/doc/README.omap3 @@ -95,6 +95,7 @@ Interfaces ========== gpio +---- To set a bit : @@ -122,6 +123,23 @@ To read a bit : else printf("GPIO N is clear\n"); +dma +--- +void omap3_dma_init(void) + Init the DMA module +int omap3_dma_get_conf_chan(uint32_t chan, struct dma4_chan *config); + Read config of the channel +int omap3_dma_conf_chan(uint32_t chan, struct dma4_chan *config); + Write config to the channel +int omap3_dma_conf_transfer(uint32_t chan, uint32_t *src, uint32_t *dst, + uint32_t sze) + Config source, destination and size of a transfer +int omap3_dma_wait_for_transfer(uint32_t chan) + Wait for a transfer to end - this hast to be called before a channel + or the data the channel transferd are used. +int omap3_dma_get_revision(uint32_t *minor, uint32_t *major) + Read silicon Revision of the DMA module + Acknowledgements ================ |