Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: SOF: Intel: hda: add the SSP Host Device memory space

The DSP SSP device memory can be conditionally accessed by
the host(depending on access policy).

Add the SSP base memory offset of APL and CNL.

Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Zhu Yingjiang and committed by
Mark Brown
df7e0de5 acd1c188

+7
+7
sound/soc/sof/intel/hda.h
··· 338 338 #define HDA_ADSP_FW_STATUS_SKL HDA_ADSP_SRAM0_BASE_SKL 339 339 #define HDA_ADSP_ERROR_CODE_SKL (HDA_ADSP_FW_STATUS_SKL + 0x4) 340 340 341 + /* Host Device Memory Space */ 342 + #define APL_SSP_BASE_OFFSET 0x2000 343 + #define CNL_SSP_BASE_OFFSET 0x10000 344 + 345 + /* Host Device Memory Size of a Single SSP */ 346 + #define SSP_DEV_MEM_SIZE 0x1000 347 + 341 348 #define HDA_IDISP_CODEC(x) ((x) & BIT(2)) 342 349 343 350 struct sof_intel_dsp_bdl {