diff options
author | Oder Chiou <oder_chiou@realtek.com> | 2016-06-06 18:33:31 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-06-07 16:22:31 +0100 |
commit | 6eebf35b0e4a02248f7dba5d1719c6896afe41ba (patch) | |
tree | 9bc744792d910a4cb499d1d5bd1c0b1bc3206d7a /sound/soc/codecs/rt5514.h | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) | |
download | linux-6eebf35b0e4a02248f7dba5d1719c6896afe41ba.tar.bz2 |
ASoC: rt5514: add rt5514 SPI driver
The device has multiple control interfaces, I2C and SPI. The I2C interface
mainly controls the register settings of codec. The SPI interface is in
order to provide the high speed transmission of data. For example, high
bandwidth memory read/write of DSP. The patch adds the rt5514 SPI driver
for loading the firmware of DSP and retrieving the voice data from DSP
after the system is waked up by specific voice.
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5514.h')
-rw-r--r-- | sound/soc/codecs/rt5514.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5514.h b/sound/soc/codecs/rt5514.h index 6ad8a612f659..6e89e7d46a10 100644 --- a/sound/soc/codecs/rt5514.h +++ b/sound/soc/codecs/rt5514.h @@ -225,6 +225,9 @@ #define RT5514_PLL_INP_MAX 40000000 #define RT5514_PLL_INP_MIN 256000 +#define RT5514_FIRMWARE1 "rt5514_dsp_fw1.bin" +#define RT5514_FIRMWARE2 "rt5514_dsp_fw2.bin" + /* System Clock Source */ enum { RT5514_SCLK_S_MCLK, @@ -247,6 +250,7 @@ struct rt5514_priv { int pll_src; int pll_in; int pll_out; + int dsp_enabled; }; #endif /* __RT5514_H__ */ |