diff options
author | Hsin-Yu Chao <hychao@chromium.org> | 2017-08-23 13:29:31 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-24 13:38:22 +0300 |
commit | d18420b0a0b8f8f51f55fc654b2e0eb86d8b41d7 (patch) | |
tree | 37b9eba739fb215d14c0251b0896f7df5af7a539 /sound/soc/codecs/rt5514.h | |
parent | e5e8e6182a3b9514cde41d957684b59ee8f6cf21 (diff) | |
download | linux-d18420b0a0b8f8f51f55fc654b2e0eb86d8b41d7.tar.xz |
ASoC: rt5514: expose Hotword Model control
This change exposes mixer control 'Hotword Model' for switching
hotword model in runtime. This new function requires updated
firmware to load hotword model at address 0x4ff80000.
Signed-off-by: Hsin-Yu Chao <hychao@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5514.h')
-rw-r--r-- | sound/soc/codecs/rt5514.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5514.h b/sound/soc/codecs/rt5514.h index 2dc40e6d8b3f..803311cb7e2a 100644 --- a/sound/soc/codecs/rt5514.h +++ b/sound/soc/codecs/rt5514.h @@ -255,6 +255,7 @@ #define RT5514_FIRMWARE1 "rt5514_dsp_fw1.bin" #define RT5514_FIRMWARE2 "rt5514_dsp_fw2.bin" +#define RT5514_FIRMWARE3 "rt5514_dsp_fw3.bin" /* System Clock Source */ enum { @@ -281,6 +282,8 @@ struct rt5514_priv { int pll_in; int pll_out; int dsp_enabled; + u8 *model_buf; + unsigned int model_len; }; #endif /* __RT5514_H__ */ |