]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP: McBSP: APIs to pass DMA params from McBSP driver to client drivers
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 24 Feb 2011 09:46:55 +0000 (15:16 +0530)
committerTony Lindgren <tony@atomide.com>
Thu, 24 Feb 2011 21:03:52 +0000 (13:03 -0800)
commitbd85c39ca4de7b1f648321556b4fa3bb4f50136a
treeacc4df7736ad2bdd435394c7d783caf49eb15bef
parent5a076af1852dcb00e1b3633f5b00871711746ba1
OMAP: McBSP: APIs to pass DMA params from McBSP driver to client drivers

After McBSP driver is hwmod adapted, the information about the hw would be
obtained from the hwmod database by the mcbsp driver. Since DMA programming is
handled by the client driver, APIs are provided to pass the DMA channel number
and base address of data register required by the client driver for DMA
programming.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Charulatha V <charu@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mcbsp.c
arch/arm/plat-omap/include/plat/mcbsp.h
arch/arm/plat-omap/mcbsp.c