ASoC: rt5514: add rt5514 codec driver
authorOder Chiou <oder_chiou@realtek.com>
Wed, 3 Feb 2016 11:53:24 +0000 (19:53 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 3 Feb 2016 17:07:32 +0000 (17:07 +0000)
commit4a6180ea7399b945cd380dc63e2e8118f9b432d3
treebd8c3c30185a67dd596d059fafe1c52beccbb703
parent92e963f50fc74041b5e9e744c330dca48e04f08d
ASoC: rt5514: add rt5514 codec driver

This is the initial codec driver for rt5514. The codec includes a low power
DSP for voice wake up. The register address is incremental by 4 in the DSP
memory map. In order to recover the codec settings in the codec mode and
manipulate the DSP mode for voice wake up, we use the multi-level register
map. One is for ALSA API in codec mode that can be recovered by cache
before recording. Another is for DSP related settings that can be accessed
with 32bit address of the DSP in the application of voice wake up.

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