]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: imx-mailbox: support i.MX8ULP MU
authorPeng Fan <peng.fan@nxp.com>
Fri, 28 May 2021 10:06:03 +0000 (18:06 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 26 Jun 2021 16:39:53 +0000 (11:39 -0500)
commit3c03eaeaaff2edfed1c639a3a3735213f76ca3a6
tree80d35eb2013d927d7a536f7ea3326ffec8799c93
parentbae477caccd6290a1a0fd25142ad8333e6490349
mailbox: imx-mailbox: support i.MX8ULP MU

i.MX8ULP MU has different register layout and bit layout compared
with i.MX6SX/7ULP/8.

So add enum imx_mu_type to show it is IMX_MU_V2 or IMX_MU_V1.

For IMX_MU_V2 mu hardware, check it when calculating bit offset to get
the correct offset.

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