firmware: imx: add SCU firmware driver support
authorDong Aisheng <aisheng.dong@nxp.com>
Sun, 7 Oct 2018 13:04:42 +0000 (21:04 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 8 Oct 2018 14:09:09 +0000 (22:09 +0800)
commitedbee095fafb4b727b51032bdc41e345f95bbc20
tree91daf27ade219f0e8f1b93fe249ba852191c387f
parentc6c2ee00fe2fb003cd95ac89526511a537103e2d
firmware: imx: add SCU firmware driver support

The System Controller Firmware (SCFW) is a low-level system function
which runs on a dedicated Cortex-M core to provide power, clock, and
resource management. It exists on some i.MX8 processors. e.g. i.MX8QM
(QM, QP), and i.MX8QX (QXP, DX).

This patch implements the SCU firmware IPC function and the common
message sending API sc_call_rpc.

Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Jassi Brar <jassisinghbrar@gmail.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/firmware/Kconfig
drivers/firmware/Makefile
drivers/firmware/imx/Kconfig [new file with mode: 0644]
drivers/firmware/imx/Makefile [new file with mode: 0644]
drivers/firmware/imx/imx-scu.c [new file with mode: 0644]
include/linux/firmware/imx/ipc.h [new file with mode: 0644]
include/linux/firmware/imx/sci.h [new file with mode: 0644]
include/linux/firmware/imx/types.h [new file with mode: 0644]