ASoC: rt5677: Support DSP function for VAD application
authorOder Chiou <oder_chiou@realtek.com>
Mon, 6 Oct 2014 08:30:51 +0000 (16:30 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 20 Oct 2014 11:22:20 +0000 (12:22 +0100)
commitaf48f1d08a5474184da9aaf8b77f4a2848b1875e
tree59de8e574da74fe9ee49b8f426209a4ee5d91a6b
parent40eb90a18e93fbd4fd0e6892b31241356c3c8e43
ASoC: rt5677: Support DSP function for VAD application

The ALC5677 has a programmable DSP, and there is a SPI that is dadicated for DSP
firmware loading. Therefore, the patch includes a SPI driver for writing the DSP
firmware. The VAD(Voice Activaty Detection) has be implemented and use the DSP to
recognize the key phase.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Makefile
sound/soc/codecs/rt5677-spi.c [new file with mode: 0644]
sound/soc/codecs/rt5677-spi.h [new file with mode: 0644]
sound/soc/codecs/rt5677.c
sound/soc/codecs/rt5677.h