summaryrefslogtreecommitdiff
path: root/drivers/firmware/qcom_scm.h
diff options
context:
space:
mode:
authorAndy Gross <andy.gross@linaro.org>2017-01-17 08:24:15 +0300
committerAndy Gross <andy.gross@linaro.org>2017-01-17 08:45:04 +0300
commita811b420b6c13759540070c0e9541b7cd8569168 (patch)
tree29a25adf699ded7909e3075dd3a1e30deacaccdd /drivers/firmware/qcom_scm.h
parent472cef345ca0879ef56ec593db5fb21afc87ed6c (diff)
downloadlinux-a811b420b6c13759540070c0e9541b7cd8569168.tar.xz
firmware: qcom_scm: Add set remote state API
This patch adds a set remote state SCM API. This will be used by the Venus and GPU subsystems to set state on the remote processors. This work was based on two patch sets by Jordan Crouse and Stanimir Varbanov. Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'drivers/firmware/qcom_scm.h')
-rw-r--r--drivers/firmware/qcom_scm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firmware/qcom_scm.h b/drivers/firmware/qcom_scm.h
index 3584b00fe7e6..6a0f15469344 100644
--- a/drivers/firmware/qcom_scm.h
+++ b/drivers/firmware/qcom_scm.h
@@ -15,6 +15,8 @@
#define QCOM_SCM_SVC_BOOT 0x1
#define QCOM_SCM_BOOT_ADDR 0x1
#define QCOM_SCM_BOOT_ADDR_MC 0x11
+#define QCOM_SCM_SET_REMOTE_STATE 0xa
+extern int __qcom_scm_set_remote_state(struct device *dev, u32 state, u32 id);
#define QCOM_SCM_FLAG_HLOS 0x01
#define QCOM_SCM_FLAG_COLDBOOT_MC 0x02