Skip to content

Commit

Permalink
ASoC: add driver for Rockchip RK3xxx I2S controller
Browse files Browse the repository at this point in the history
Add driver for i2s controller found on rk3066, rk3168 and rk3288
processors from rockchip.

Tested on the RK3288 SDK board.

Signed-off-by: Jianqun Xu <xjq@rock-chips.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Jianqun Xu authored and Mark Brown committed Jul 9, 2014
1 parent d4796e3 commit 4495c89
Show file tree
Hide file tree
Showing 6 changed files with 771 additions and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ source "sound/soc/kirkwood/Kconfig"
source "sound/soc/intel/Kconfig"
source "sound/soc/mxs/Kconfig"
source "sound/soc/pxa/Kconfig"
source "sound/soc/rockchip/Kconfig"
source "sound/soc/samsung/Kconfig"
source "sound/soc/s6000/Kconfig"
source "sound/soc/sh/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions sound/soc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ obj-$(CONFIG_SND_SOC) += nuc900/
obj-$(CONFIG_SND_SOC) += omap/
obj-$(CONFIG_SND_SOC) += kirkwood/
obj-$(CONFIG_SND_SOC) += pxa/
obj-$(CONFIG_SND_SOC) += rockchip/
obj-$(CONFIG_SND_SOC) += samsung/
obj-$(CONFIG_SND_SOC) += s6000/
obj-$(CONFIG_SND_SOC) += sh/
Expand Down
12 changes: 12 additions & 0 deletions sound/soc/rockchip/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
config SND_SOC_ROCKCHIP
tristate "ASoC support for Rockchip"
depends on COMPILE_TEST || ARCH_ROCKCHIP
select SND_SOC_GENERIC_DMAENGINE_PCM
select SND_ROCKCHIP_I2S
help
Say Y or M if you want to add support for codecs attached to
the Rockchip SoCs' Audio interfaces. You will also need to
select the audio interfaces to support below.

config SND_ROCKCHIP_I2S
tristate
4 changes: 4 additions & 0 deletions sound/soc/rockchip/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# ROCKCHIP Platform Support
snd-soc-i2s-objs := rockchip_i2s.o

obj-$(CONFIG_SND_ROCKCHIP_I2S) += snd-soc-i2s.o
Loading

0 comments on commit 4495c89

Please sign in to comment.