summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/qcom_scm-32.c
Commit message (Collapse)AuthorAgeFilesLines
* qcom-scm: fix endianess issue in __qcom_scm_is_call_availableRob Clark2015-10-141-3/+3
| | | | | | Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Andy Gross <agross@codeaurora.org>
* firmware: qcom_scm-32: replace open-coded call to __cpuc_flush_dcache_area()Russell King2015-08-111-3/+1Star
| | | | | | | | | | | | Rathe rthan directly accessing architecture internal functions, provide an "method"-centric wrapper for qcom_scm-32 to do what's necessary to ensure that the secure monitor can see the data. This is called "secure_flush_area" and ensures that the specified memory area is coherent across the secure boundary. Acked-by: Andy Gross <agross@codeaurora.org> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* firmware: qcom: scm: Add HDCP Supportjilai wang2015-05-281-1/+24
| | | | | | | | | | HDCP driver needs to check if secure environment supports HDCP. If it's supported, then it requires to program some registers through SCM. Add qcom_scm_hdcp_available and qcom_scm_hdcp_req to support these requirements. Signed-off-by: Jilai Wang <jilaiw@codeaurora.org> Signed-off-by: Kumar Gala <galak@codeaurora.org>
* firmware: qcom: scm: Split out 32-bit specific SCM codeKumar Gala2015-04-281-0/+480
Split out the 32-bit SCM implementation into its own file to prep for supporting a 64-bit/ARM64 implementation as well. We create a simple shim to ensure both versions conform to the same interface. Signed-off-by: Kumar Gala <galak@codeaurora.org>