mbox series

[0/2] mailbox: imx: support RST channel

Message ID 20220517073518.34474-1-peng.fan@oss.nxp.com
Headers show
Series mailbox: imx: support RST channel | expand

Message

Peng Fan (OSS) May 17, 2022, 7:35 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

To i.MX generic MU, when linux stop remote core, the MU-B side is not
reset because of hardware design, so MU-B contains valid configuration
when remote core stops. Then when linux start remote core again,
linux may notify remote core before remote core is ready for incoming
message. So we need make sure MU is in reset state before remote core
start. So add a RST channel which is only to reset MU when shutdown
the RST mbox channel.

Peng Fan (2):
  dt-bindings: mailbox: imx-mu: add RST channel
  mailbox: imx: support RST channel

 .../devicetree/bindings/mailbox/fsl,mu.yaml   |  6 ++--
 drivers/mailbox/imx-mailbox.c                 | 29 +++++++++++++++----
 2 files changed, 27 insertions(+), 8 deletions(-)