summaryrefslogtreecommitdiffstats
path: root/drivers/interconnect/qcom/icc-rpmh.h
diff options
context:
space:
mode:
authorGeorgi Djakov <georgi.djakov@linaro.org>2020-09-03 15:31:30 +0200
committerGeorgi Djakov <georgi.djakov@linaro.org>2020-09-08 15:29:00 +0200
commit6caa3070fd5955d0e647e8cf3b7a33c73a27e32f (patch)
tree90daa762c9807e6aa4d8c0df2e697ec863ce14b1 /drivers/interconnect/qcom/icc-rpmh.h
parentdt-bindings: interconnect: Document the support of optional path tag (diff)
downloadlinux-6caa3070fd5955d0e647e8cf3b7a33c73a27e32f.tar.xz
linux-6caa3070fd5955d0e647e8cf3b7a33c73a27e32f.zip
interconnect: qcom: Implement xlate_extended() to parse tags
Implement a function to parse the arguments of the "interconnects" DT property and populate the interconnect path tags if this information is available. Tested-by: Sibi Sankar <sibis@codeaurora.org> Reviewed-by: Sibi Sankar <sibis@codeaurora.org> Link: https://lore.kernel.org/r/20200903133134.17201-4-georgi.djakov@linaro.org Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Diffstat (limited to 'drivers/interconnect/qcom/icc-rpmh.h')
-rw-r--r--drivers/interconnect/qcom/icc-rpmh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/interconnect/qcom/icc-rpmh.h b/drivers/interconnect/qcom/icc-rpmh.h
index 10b1890345b1..e5f61ab989e7 100644
--- a/drivers/interconnect/qcom/icc-rpmh.h
+++ b/drivers/interconnect/qcom/icc-rpmh.h
@@ -131,6 +131,7 @@ struct qcom_icc_desc {
int qcom_icc_aggregate(struct icc_node *node, u32 tag, u32 avg_bw,
u32 peak_bw, u32 *agg_avg, u32 *agg_peak);
int qcom_icc_set(struct icc_node *src, struct icc_node *dst);
+struct icc_node_data *qcom_icc_xlate_extended(struct of_phandle_args *spec, void *data);
int qcom_icc_bcm_init(struct qcom_icc_bcm *bcm, struct device *dev);
void qcom_icc_pre_aggregate(struct icc_node *node);