diff options
author | Andy Gross <andy.gross@linaro.org> | 2017-01-17 06:24:15 +0100 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2017-01-17 06:45:04 +0100 |
commit | a811b420b6c13759540070c0e9541b7cd8569168 (patch) | |
tree | 29a25adf699ded7909e3075dd3a1e30deacaccdd /drivers/firmware/qcom_scm.c | |
parent | MAINTAINERS: Update the files to include the Qualcomm DMA folder (diff) | |
download | linux-a811b420b6c13759540070c0e9541b7cd8569168.tar.xz linux-a811b420b6c13759540070c0e9541b7cd8569168.zip |
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.c')
-rw-r--r-- | drivers/firmware/qcom_scm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index 65d0d9d64ebb..d987bcc7489d 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c @@ -324,6 +324,12 @@ bool qcom_scm_is_available(void) } EXPORT_SYMBOL(qcom_scm_is_available); +int qcom_scm_set_remote_state(u32 state, u32 id) +{ + return __qcom_scm_set_remote_state(__scm->dev, state, id); +} +EXPORT_SYMBOL(qcom_scm_set_remote_state); + static int qcom_scm_probe(struct platform_device *pdev) { struct qcom_scm *scm; |