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)
commit9504ba64f014cfd50a64106e49c8ba729522db5b
treeacc4df7736ad2bdd435394c7d783caf49eb15bef
parente95496d4acadd0b72c4947be61e8d44700fdaae7
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