firmware: imx-scu: Support one TX and one RX
authorPeng Fan <peng.fan@nxp.com>
Thu, 19 Mar 2020 07:49:53 +0000 (15:49 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jun 2020 14:42:01 +0000 (16:42 +0200)
commit29c4ccc6fb1533178e7ca8e80ca13b6cae7a7757
tree1a5988b502cc1cfe1fac103a1d32270359a59ec4
parent165fa6a3cd02b31dfdb42b00fedad1e71a79dfe5
firmware: imx-scu: Support one TX and one RX

[ Upstream commit f25a066d1a07affb7bea4e5d9c179c3338338e23 ]

Current imx-scu requires four TX and four RX to communicate with
SCU. This is low efficient and causes lots of mailbox interrupts.

With imx-mailbox driver could support one TX to use all four transmit
registers and one RX to use all four receive registers, imx-scu
could use one TX and one RX.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/firmware/imx/imx-scu.c