ASoC: DaVinci: McASP driver enhacements
authorChaithrika U S <chaithrika@ti.com>
Tue, 11 Aug 2009 20:58:52 +0000 (16:58 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 13 Aug 2009 21:19:35 +0000 (22:19 +0100)
commit6a99fb5fb85f267d075310fd30c4bf6f0ae63062
tree2a25a4b586058b48b386771ee1522d3f1a037b88
parenta2342ae325bb1f65d90a9f38baab4c9762018a5e
ASoC: DaVinci: McASP driver enhacements

On DA830/OMAP-L137 and DA850/OMAP-L138 SoCs, the McASP peripheral has FIFO
support. This FIFO provides additional data buffering. It also provides
tolerance to variation in host/DMA controller response times.
The read and write FIFO sizes are 256 bytes each. If FIFO is enabled,
the DMA events from McASP are sent to the FIFO which in turn sends DMA requests
to the host CPU according to the thresholds programmed.
More details of the FIFO operation can be found at
http://focus.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=
sprufm1&fileType=pdf

This patch adds support for FIFO configuration. The platform data has a
version field which differentiates the McASP on different SoCs.

Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/davinci/davinci-i2s.c
sound/soc/davinci/davinci-mcasp.c
sound/soc/davinci/davinci-mcasp.h
sound/soc/davinci/davinci-pcm.c
sound/soc/davinci/davinci-pcm.h