Skip to content

Commit

Permalink
ASoC: sirf: Add audio usp interface driver
Browse files Browse the repository at this point in the history
This patch adds ASoC support for SiRF SoCs USP interface.
Features include:
1. Only support slave mode.
2. Support I2S and DSP_A mode.
3. Support S16_LE, S24_LE and S24_3LE formats.
4. Support stereo and mono mode.
5. The biggest Support is 192Khz sample rate.

Signed-off-by: Rongjun Ying <rongjun.ying@csr.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Rongjun Ying authored and broonie committed Jul 3, 2014
1 parent 7171511 commit 2bd8d1d
Show file tree
Hide file tree
Showing 4 changed files with 716 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sound/soc/sirf/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ config SND_SOC_SIRF_AUDIO
config SND_SOC_SIRF_AUDIO_PORT
select REGMAP_MMIO
tristate

config SND_SOC_SIRF_USP
tristate "SoC Audio (I2S protocol) for SiRF SoC USP interface"
depends on SND_SOC_SIRF
select REGMAP_MMIO
tristate
2 changes: 2 additions & 0 deletions sound/soc/sirf/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
snd-soc-sirf-audio-objs := sirf-audio.o
snd-soc-sirf-audio-port-objs := sirf-audio-port.o
snd-soc-sirf-usp-objs := sirf-usp.o

obj-$(CONFIG_SND_SOC_SIRF_AUDIO) += snd-soc-sirf-audio.o
obj-$(CONFIG_SND_SOC_SIRF_AUDIO_PORT) += snd-soc-sirf-audio-port.o
obj-$(CONFIG_SND_SOC_SIRF_USP) += snd-soc-sirf-usp.o
Loading

0 comments on commit 2bd8d1d

Please sign in to comment.