mailbox: imx: add support for imx v1 mu
authorRichard Zhu <hongxing.zhu@nxp.com>
Wed, 9 Oct 2019 08:07:21 +0000 (16:07 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Sun, 1 Dec 2019 05:09:14 +0000 (23:09 -0600)
commitc6c6bc6ea9fce31baaca053befc31215cfcb3dd9
treeab6c007954920148ca43dafb856e2a16b20009a8
parent58340e7d779ef849efaca664a50f225a53b27a2c
mailbox: imx: add support for imx v1 mu

There is a version 1.0 MU on i.MX7ULP platform.
One new version ID register is added, and it's offset is 0.
TRn registers are defined at the offset 0x20 ~ 0x2C.
RRn registers are defined at the offset 0x40 ~ 0x4C.
SR/CR registers are defined at 0x60/0x64.
Extend this driver to support it.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Suggested-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/imx-mailbox.c