]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd046e2a4d265aa07095d4a1576416d63c55c4c30
treebd8c3c30185a67dd596d059fafe1c52beccbb703
parentd7e15052ecc9ac4f938d1d7432c1d120a2711a7e
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]