From b35ac86e876b69efc85ebb97f7dca3a695762ef6 Mon Sep 17 00:00:00 2001 From: Daniel Baluta Date: Fri, 14 Dec 2018 19:15:07 +0200 Subject: 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 Signed-off-by: Daniel Baluta --- sound/soc/fsl/fsl_dsp_proxy.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sound/soc/fsl/fsl_dsp_proxy.h') 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) -- cgit v1.2.3