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:40:31 +0000 (16:40 +0200)
commita1fd068c8922d250b5fff58443e34852eccf3cc2
tree71e735a6132ab90c8ae0e9d5ba053f8d5bbcc4c4
parentda24a76bdc81f8fabe5932527f21acf483b53a81
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