Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|