diff options
author | Tinghan Shen <tinghan.shen@mediatek.com> | 2022-04-22 08:56:56 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-04-25 16:04:43 +0300 |
commit | 1f0214a86de87011ecb96f22545dd6e5c7324cd7 (patch) | |
tree | 58c5a0172d982babbb851763629cbae30c81ee5c /sound/soc/sof/mediatek/adsp_helper.h | |
parent | 57ebd5d568f5e1e34f5a0b67460444d43e9b829b (diff) | |
download | linux-1f0214a86de87011ecb96f22545dd6e5c7324cd7.tar.xz |
ASoC: SOF: mediatek: Add mt8186 hardware support
Add support of SOF on Mediatek mt8186 SoC.
MT8186 has 2 Cortex A76 cores paired with 6 Cortex A55 cores.
It also has Cadence HiFi-5 DSP single core. The IPC communication
between AP and DSP is based on shared DRAM and mailbox interrupt.
Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Yaochun Hung <yc.hung@mediatek.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220422055659.8738-2-tinghan.shen@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/mediatek/adsp_helper.h')
-rw-r--r-- | sound/soc/sof/mediatek/adsp_helper.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/sof/mediatek/adsp_helper.h b/sound/soc/sof/mediatek/adsp_helper.h index 6734e2c0c6b1..f269a2b6c26a 100644 --- a/sound/soc/sof/mediatek/adsp_helper.h +++ b/sound/soc/sof/mediatek/adsp_helper.h @@ -29,6 +29,14 @@ struct mtk_adsp_chip_info { void __iomem *shared_dram; /* part of va_dram */ phys_addr_t adsp_bootup_addr; int dram_offset; /*dram offset between system and dsp view*/ + + phys_addr_t pa_secreg; + u32 secregsize; + void __iomem *va_secreg; + + phys_addr_t pa_busreg; + u32 busregsize; + void __iomem *va_busreg; }; struct adsp_priv { |