summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_dsp_audiomix.c
AgeCommit message (Collapse)Author
2020-10-20MA-17597-4 ASoC: fsl_dsp_audiomix: add license for module buildJindong
Add license to support module build. Signed-off-by: Jindong <jindong.yue@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
2020-07-10MLK-24365-11 dsp: wait DSP idle before close it.Bing Song
Wait DSP to idle before gate OCRAM_A clock as FW code locate on OCRAM_A when LPA. Or DSP will hang. Signed-off-by: Bing Song <bing.song@nxp.com>
2020-06-19MLK-24263-7 ASoC: fsl_dsp_audiomix: Introduce imx_audiomix_dsp_stallDaniel Baluta
This function is used to stall the DSP and it will be used together with PWRCTL register in order to properly reset the DSP to handle the Power Management use case. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-06-19MLK-24263-6 ASoC: fsl_dsp_audiomix: Remove hardcoded valueDaniel Baluta
Use a meaningful named macro to represent RunStall bit from AudioDSP_REG2 register. This register is used to Run/Stall the DSP. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-05-11MLK-23970: ASoC: fsl_dsp: workaround for no reset controllerShengjiu Wang
On imx8mp, there is no dedicated reset controller for DSP and there is no dedicated power domain for DSP. The power of DSP is bound with audiomix, so we need to check the DSP status for judging the audiomix is reset or not. We use the PID register for status check, after reset, it will be set to zero, when DSP is used we set it to 1. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Peng Zhang <peng.zhang_8@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
2020-02-21MLK-23350-2 ASoC: fsl: Export imx_audiomix_dsp_start symbolDaniel Baluta
So that it can be used by SOF module. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2020-02-13MLK-23255-1: ASoC: fsl_dsp: Add Audio MIX DSP helperDaniel Baluta
This is a subdevice of audiomix MFD device, exposing access to DSP control register from AudioMIX subsystem. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>