diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2021-07-23 13:54:47 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-08-02 16:45:35 +0200 |
commit | 1cbf6443f0de6489044909b35962ba71940d48fe (patch) | |
tree | 4e3d5c593f4f299944caab9500fc1099e64b74e1 /sound/soc/sof/intel/shim.h | |
parent | soundwire: move intel sdw register definitions to sdw_intel.h (diff) | |
download | linux-1cbf6443f0de6489044909b35962ba71940d48fe.tar.xz linux-1cbf6443f0de6489044909b35962ba71940d48fe.zip |
ASoC: SOF: intel: add sdw_shim/alh_base to sof_intel_dsp_desc
sdw_shim_base and sdw_alh_base are platform-dependent. This change allow
us to define different sdw shim/alh base for each platform.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20210723115451.7245-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/shim.h')
-rw-r--r-- | sound/soc/sof/intel/shim.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/sof/intel/shim.h b/sound/soc/sof/intel/shim.h index 529f68d0ca47..ee031248d834 100644 --- a/sound/soc/sof/intel/shim.h +++ b/sound/soc/sof/intel/shim.h @@ -164,6 +164,8 @@ struct sof_intel_dsp_desc { int rom_init_timeout; int ssp_count; /* ssp count of the platform */ int ssp_base_offset; /* base address of the SSPs */ + u32 sdw_shim_base; + u32 sdw_alh_base; }; extern const struct snd_sof_dsp_ops sof_tng_ops; |