MLK-20095-3: ASoC: fsl: Differentiate between QXP and QM
authorDaniel Baluta <daniel.baluta@nxp.com>
Fri, 14 Dec 2018 17:15:07 +0000 (19:15 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Thu, 18 Apr 2019 00:00:38 +0000 (03:00 +0300)
commit8dda98f385977724952fb94f9a1ba0292a6e7e73
treeb8d3c7beffb9287d53d29b39890ab5acca12dd04
parent7683dd1237f40f89b35df49e8d907bf442e3fed8
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>
(cherry picked from commit 1e63c7b0935f09c7f3cccb3bea04071be4bc5b67)
sound/soc/fsl/fsl_dsp.c
sound/soc/fsl/fsl_dsp.h
sound/soc/fsl/fsl_dsp_proxy.c
sound/soc/fsl/fsl_dsp_proxy.h