diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2020-10-06 08:49:05 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-10-06 16:12:27 +0200 |
commit | b972153d6c53a89dc92d991c466a6b4800a9c91f (patch) | |
tree | 854a8ec3a80b2a6498e8e08f726d1eebad6bebfd /sound/soc/intel/atom/sst/sst.h | |
parent | ASoC: Intel: Remove SST-legacy specific constants (diff) | |
download | linux-b972153d6c53a89dc92d991c466a6b4800a9c91f.tar.xz linux-b972153d6c53a89dc92d991c466a6b4800a9c91f.zip |
ASoC: Intel: Make atom components independent of sst-dsp
With sound/soc/intel/haswell and /baytrail gone, registers left within
sst-dsp header are atom-specific. Relocate these to atom internal header
to make atom truely independent of sound/soc/common processing code.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@intel.com>
Link: https://lore.kernel.org/r/20201006064907.16277-12-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/atom/sst/sst.h')
-rw-r--r-- | sound/soc/intel/atom/sst/sst.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/intel/atom/sst/sst.h b/sound/soc/intel/atom/sst/sst.h index 2bee646e81b8..4d37d39fd8f4 100644 --- a/sound/soc/intel/atom/sst/sst.h +++ b/sound/soc/intel/atom/sst/sst.h @@ -34,6 +34,13 @@ #define MRFLD_FW_FEATURE_BASE_OFFSET 0x4 #define MRFLD_FW_BSS_RESET_BIT 0 +/* SST Shim register map */ +#define SST_CSR 0x00 +#define SST_ISRX 0x18 +#define SST_IMRX 0x28 +#define SST_IPCX 0x38 /* IPC IA -> SST */ +#define SST_IPCD 0x40 /* IPC SST -> IA */ + extern const struct dev_pm_ops intel_sst_pm; enum sst_states { SST_FW_LOADING = 1, |