remoteproc: imx_rproc: Support kicking Mcore from Linux for i.MX8QXP
authorPeng Fan <peng.fan@nxp.com>
Fri, 21 Oct 2022 04:15:23 +0000 (12:15 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 24 Oct 2022 16:29:22 +0000 (10:29 -0600)
commitc94ea666dc81e8164de1ee4b3b564af0e7cd942b
tree7772a649c4de145b5a72babf053fbffc724162c1
parent5e50aef2632e74db58d61c8e86bd767dc28a7970
remoteproc: imx_rproc: Support kicking Mcore from Linux for i.MX8QXP

When M4 is in the same hardware partition with Cortex-A, it
could be start/stop by Linux.

Added power domain to make sure M4 could run, it requires several power
domains to work. Make clock always optional for i.MX8QXP, because
SCFW handles it when power up M4 core.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20221021041526.3696483-5-peng.fan@oss.nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/imx_rproc.c