summaryrefslogtreecommitdiffstats
path: root/drivers/interconnect
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2022-07-12 03:59:27 +0200
committerGeorgi Djakov <djakov@kernel.org>2022-07-12 09:03:01 +0200
commitad510e4ed2a3b6f195c2aed6fe21a311440b489b (patch)
tree1c21a66f2ec2359b83a0a86998bec7da5379d3e5 /drivers/interconnect
parentinterconnect: qcom: Move qcom_icc_xlate_extended() to a common file (diff)
downloadlinux-ad510e4ed2a3b6f195c2aed6fe21a311440b489b.tar.xz
linux-ad510e4ed2a3b6f195c2aed6fe21a311440b489b.zip
interconnect: qcom: icc-rpm: Change to use qcom_icc_xlate_extended()
This commit changes to use callback qcom_icc_xlate_extended(). This is a preparation for population path tags from the interconnect DT binding, it doesn't introduce functionality change for the existed DT binding without path tags. Signed-off-by: Leo Yan <leo.yan@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20220712015929.2789881-4-leo.yan@linaro.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'drivers/interconnect')
-rw-r--r--drivers/interconnect/qcom/icc-rpm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/interconnect/qcom/icc-rpm.c b/drivers/interconnect/qcom/icc-rpm.c
index 7e8bcbb2f5db..8c9d5cc7276c 100644
--- a/drivers/interconnect/qcom/icc-rpm.c
+++ b/drivers/interconnect/qcom/icc-rpm.c
@@ -16,6 +16,7 @@
#include <linux/slab.h>
#include "smd-rpm.h"
+#include "icc-common.h"
#include "icc-rpm.h"
/* QNOC QoS */
@@ -414,7 +415,7 @@ regmap_done:
provider->dev = dev;
provider->set = qcom_icc_set;
provider->aggregate = icc_std_aggregate;
- provider->xlate = of_icc_xlate_onecell;
+ provider->xlate_extended = qcom_icc_xlate_extended;
provider->data = data;
ret = icc_provider_add(provider);