mailbox: imx: support channel type tx doorbell v2
authorPeng Fan <peng.fan@nxp.com>
Sun, 17 Sep 2023 12:43:51 +0000 (20:43 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Sun, 15 Oct 2023 17:39:16 +0000 (12:39 -0500)
commit5bfe4067d35030c4816de29930c42ba51e9ece6c
tree894f2b97e13852628d94e93fb734722c4d6ffc69
parent5dc1ec71a9f7e7edb9b6ea2254fcbb1c48626c51
mailbox: imx: support channel type tx doorbell v2

The Message Unit(MU) General Purpose Control registers are used for
TX doorbell, but there is no hardware ACK support.

The current TX doorbell channel is using tasklet to emulate hardware
ACK support to kick the TX tick from controller driver side.

The new added TX doorbell channel V2 not using tasklet to emulate the
hardware ACK support. The behavior for the channel is just writing the
GCR register, and no else. This will be used for SCMI mailbox.

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