linux_dsm_epyc7002/sound/soc/davinci
Ben Gardiner 0a9d138528 ASoC: davinci-mcasp: add support for unsigned PCM formats
Although the McASP supports sign-extending samples in RX or TX [1]; the
davinci-mcasp driver does not touch the {R,X}PBIT or {R,X}PAD field of the
{R,X}FMT registers meaning that the McASP will serialize the bytes it is given
regardless of their signedness. So supporting unsigned formats is as simple
as adding them to the metadata of the davinci-mcasp driver.

Update the FMTBITs reported in the snd_soc_dai_driver and also update the case
statements in davinci-mcasp's hw_params() function so that the McASP can be
connected to CODECs that use unsigned values.

[1] http://www.ti.com/lit/ug/sprufm1/sprufm1.pdf

Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-08-29 10:11:17 +01:00
..
davinci-evm.c asoc: davinci: da830/omap-l137: correct cpu_dai_name 2011-02-03 20:16:09 +00:00
davinci-i2s.c ASoC: Davinci: Replace usage of IO_ADDRESS with ioremap() 2011-02-09 22:33:32 +00:00
davinci-i2s.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
davinci-mcasp.c ASoC: davinci-mcasp: add support for unsigned PCM formats 2011-08-29 10:11:17 +01:00
davinci-mcasp.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
davinci-pcm.c ASoC: core - Optimise and refactor pcm_new() to pass only rtd 2011-06-07 18:38:27 +01:00
davinci-pcm.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
davinci-sffsdr.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
davinci-vcif.c ASoC: davinci: add missing break statement 2011-07-20 20:51:35 +01:00
Kconfig DaVinci: DM365: Voice Codec support for the DM365 EVM 2010-03-12 11:12:24 +00:00
Makefile ASoC: DaVinci: Voice Codec Interface 2010-03-12 11:12:21 +00:00