summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2019-01-30 13:30:22 +0000
committerShawn Guo <shawnguo@kernel.org>2019-02-11 10:00:47 +0800
commitd90bf296ae18f26a18e572965fc0047fa1bd37a8 (patch)
tree8beda78e72fcca8056bf20d9c0f08e484bd01da0 /include
parent9b0bb07328f2375b2b6d3f8343edb1ee1ed39307 (diff)
downloadlinux-stable-d90bf296ae18f26a18e572965fc0047fa1bd37a8.tar.gz
linux-stable-d90bf296ae18f26a18e572965fc0047fa1bd37a8.tar.bz2
linux-stable-d90bf296ae18f26a18e572965fc0047fa1bd37a8.zip
firmware: imx: Add support to start/stop a CPU
This is done via RPC call to SCU. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/firmware/imx/svc/misc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/firmware/imx/svc/misc.h b/include/linux/firmware/imx/svc/misc.h
index e21c49aba92f..031dd4d3c766 100644
--- a/include/linux/firmware/imx/svc/misc.h
+++ b/include/linux/firmware/imx/svc/misc.h
@@ -52,4 +52,7 @@ int imx_sc_misc_set_control(struct imx_sc_ipc *ipc, u32 resource,
int imx_sc_misc_get_control(struct imx_sc_ipc *ipc, u32 resource,
u8 ctrl, u32 *val);
+int imx_sc_pm_cpu_start(struct imx_sc_ipc *ipc, u32 resource,
+ bool enable, u64 phys_addr);
+
#endif /* _SC_MISC_API_H */