firmware: qcom: scm: Convert SCM to platform driver
authorAndy Gross <andy.gross@linaro.org>
Fri, 3 Jun 2016 23:25:22 +0000 (18:25 -0500)
committerAndy Gross <andy.gross@linaro.org>
Fri, 24 Jun 2016 18:33:59 +0000 (13:33 -0500)
commitd0f6fa7ba2d6244e0e7ec32f91903ca398e66bb9
treefb77ed53fca2a4215f312b0086f20740d36e12ad
parent0ff50d60dd80e821374ec948c34a386ed5a99bc2
firmware: qcom: scm: Convert SCM to platform driver

This patch converts the Qualcomm SCM firmware driver into a platform
driver.  It also adds clock management for firmware calls which require
clocks to be enabled during the duration of their execution.  Rate
setting of the core clock is also in place for higher performance.

Signed-off-by: Andy Gross <andy.gross@linaro.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/firmware/qcom_scm.c