diff options
author | Lina Iyer <ilina@codeaurora.org> | 2018-06-20 15:27:01 +0200 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2018-07-21 20:32:40 +0200 |
commit | c1038456b02b86cc4445441a8d33c5aca0ac103e (patch) | |
tree | 6f46aa9f6099d620b67b72c3faec2eafeb4a35cd /drivers/soc/qcom/Makefile | |
parent | drivers: qcom: rpmh-rsc: log RPMH requests in FTRACE (diff) | |
download | linux-c1038456b02b86cc4445441a8d33c5aca0ac103e.tar.xz linux-c1038456b02b86cc4445441a8d33c5aca0ac103e.zip |
drivers: qcom: rpmh: add RPMH helper functions
Sending RPMH requests and waiting for response from the controller
through a callback is common functionality across all platform drivers.
To simplify drivers, add a library functions to create RPMH client and
send resource state requests.
rpmh_write() is a synchronous blocking call that can be used to send
active state requests.
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'drivers/soc/qcom/Makefile')
-rw-r--r-- | drivers/soc/qcom/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile index 036ecc45cbbd..f25b54cd6cf8 100644 --- a/drivers/soc/qcom/Makefile +++ b/drivers/soc/qcom/Makefile @@ -9,7 +9,9 @@ obj-$(CONFIG_QCOM_PM) += spm.o obj-$(CONFIG_QCOM_QMI_HELPERS) += qmi_helpers.o qmi_helpers-y += qmi_encdec.o qmi_interface.o obj-$(CONFIG_QCOM_RMTFS_MEM) += rmtfs_mem.o -obj-$(CONFIG_QCOM_RPMH) += rpmh-rsc.o +obj-$(CONFIG_QCOM_RPMH) += qcom_rpmh.o +qcom_rpmh-y += rpmh-rsc.o +qcom_rpmh-y += rpmh.o obj-$(CONFIG_QCOM_SMD_RPM) += smd-rpm.o obj-$(CONFIG_QCOM_SMEM) += smem.o obj-$(CONFIG_QCOM_SMEM_STATE) += smem_state.o |