mailbox: imx: support RST channel
authorPeng Fan <peng.fan@nxp.com>
Wed, 15 Jun 2022 13:00:09 +0000 (21:00 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 2 Aug 2022 20:10:26 +0000 (15:10 -0500)
commit82ab513baed5895c8b0e991557a12fd38d5f25f0
tree61c1605b69b0798a27a7ab2ceb95a7c748b7470e
parent095730dd4ca5fe078fd07db5be68b3026d4ae48a
mailbox: imx: support RST channel

i.MX generic MU supports MU-A/B reset feature.

When stop/start remotecore, MU is not reset. So when Linux stop
remotecore, the MU-B side BCR may contain valid configuration,
because MU-B is not reset. So when linux start Mcore
again and notify Mcore, Mcore is not ready to handle MU interrupt
and cause issues. So need reset MU when stop Mcore.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/imx-mailbox.c