diff options
author | Georgi Djakov <georgi.djakov@linaro.org> | 2019-07-23 16:23:37 +0200 |
---|---|---|
committer | Georgi Djakov <georgi.djakov@linaro.org> | 2019-08-13 22:06:40 +0200 |
commit | be06f8e7425dcf554ebc1c0f78fb286bbbfbe23a (patch) | |
tree | a2282e2aea912998450990589a1436b69109b37e /drivers/interconnect/qcom/smd-rpm.h | |
parent | dt-bindings: interconnect: Add Qualcomm QCS404 DT bindings (diff) | |
download | linux-be06f8e7425dcf554ebc1c0f78fb286bbbfbe23a.tar.xz linux-be06f8e7425dcf554ebc1c0f78fb286bbbfbe23a.zip |
interconnect: qcom: Add interconnect RPM over SMD driver
On some Qualcomm SoCs, there is a remote processor, which controls some of
the Network-On-Chip interconnect resources. Other CPUs express their needs
by communicating with this processor. Add a driver to handle communication
with this remote processor.
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Diffstat (limited to 'drivers/interconnect/qcom/smd-rpm.h')
-rw-r--r-- | drivers/interconnect/qcom/smd-rpm.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/interconnect/qcom/smd-rpm.h b/drivers/interconnect/qcom/smd-rpm.h new file mode 100644 index 000000000000..ca9d0327b8ac --- /dev/null +++ b/drivers/interconnect/qcom/smd-rpm.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2019, Linaro Ltd. + * Author: Georgi Djakov <georgi.djakov@linaro.org> + */ + +#ifndef __DRIVERS_INTERCONNECT_QCOM_SMD_RPM_H +#define __DRIVERS_INTERCONNECT_QCOM_SMD_RPM_H + +#include <linux/soc/qcom/smd-rpm.h> + +bool qcom_icc_rpm_smd_available(void); +int qcom_icc_rpm_smd_send(int ctx, int rsc_type, int id, u32 val); + +#endif |