summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_dsp_proxy.h
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2018-12-14 19:15:07 +0200
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:52:15 +0800
commitb35ac86e876b69efc85ebb97f7dca3a695762ef6 (patch)
treec314f22bb37242835193c2dd376c88ee6bae65bc /sound/soc/fsl/fsl_dsp_proxy.h
parentb9668d7af2016b052dd5ac7c8ccb64303935bb86 (diff)
MLK-20095-3: ASoC: fsl: Differentiate between QXP and QM
On QM the DSP is inside the VPU subsystem while in QXP it is inside the Audio DMA subsystem. For this reason there are "subtle" differences. Introduce new compatible string for QM to help us correctly configure the DSP depending on the board they run. dsp_mem_msg structure is shared with the DSP, so by introducing new member dsp_board_type we can let DSP know on which target it runs. Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_dsp_proxy.h')
-rw-r--r--sound/soc/fsl/fsl_dsp_proxy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_dsp_proxy.h b/sound/soc/fsl/fsl_dsp_proxy.h
index c80412a632ff..9b5c78f8b993 100644
--- a/sound/soc/fsl/fsl_dsp_proxy.h
+++ b/sound/soc/fsl/fsl_dsp_proxy.h
@@ -350,6 +350,7 @@ struct dsp_mem_msg {
u32 scratch_size;
u32 dsp_config_phys;
u32 dsp_config_size;
+ u32 dsp_board_type;
};
static inline void xf_lock_init(spinlock_t *lock)