ASoC: wm_adsp: add support for DSP region lock
authorMayuresh Kulkarni <mkulkarni@opensource.wolfsonmicro.com>
Wed, 5 Apr 2017 10:08:00 +0000 (11:08 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 5 Apr 2017 15:14:15 +0000 (16:14 +0100)
commit51a2c944ead91171495ef338689da057bbcaab0c
treeca1fdade4dc4b7cd48999fd370776a18b9477f37
parente1ea1879f2889a26370bd0bc29c1e95caf9d36f2
ASoC: wm_adsp: add support for DSP region lock

Newer ADSP2V2 codecs include a memory protection unit that can
be set to trap illegal accesses. When enabling an ADSPV2 core we
must configure the memory region traps so that the firmware can
access its own memory.

Signed-off-by: Mayuresh Kulkarni <mkulkarni@opensource.wolfsonmicro.com>
Signed-off-by: Nikesh Oswal <Nikesh.Oswal@wolfsonmicro.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wm_adsp.h