2020-07-23 13:10:27

by Georgi Djakov

[permalink] [raw]
Subject: [PATCH 3/6] interconnect: qcom: sdm845: Replace xlate with xlate_extended

Use the qcom_icc_xlate_extended() in order to parse tags, that are
specified as an additional arguments to the path endpoints in DT.

Signed-off-by: Georgi Djakov <[email protected]>
---
drivers/interconnect/qcom/sdm845.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/interconnect/qcom/sdm845.c b/drivers/interconnect/qcom/sdm845.c
index f6c7b969520d..3b81dbb71b0b 100644
--- a/drivers/interconnect/qcom/sdm845.c
+++ b/drivers/interconnect/qcom/sdm845.c
@@ -469,7 +469,7 @@ static int qnoc_probe(struct platform_device *pdev)
provider->set = qcom_icc_set;
provider->pre_aggregate = qcom_icc_pre_aggregate;
provider->aggregate = qcom_icc_aggregate;
- provider->xlate = of_icc_xlate_onecell;
+ provider->xlate_extended = qcom_icc_xlate_extended;
INIT_LIST_HEAD(&provider->nodes);
provider->data = data;


2020-07-27 11:07:36

by Sibi Sankar

[permalink] [raw]
Subject: Re: [PATCH 3/6] interconnect: qcom: sdm845: Replace xlate with xlate_extended

On 2020-07-23 18:39, Georgi Djakov wrote:
> Use the qcom_icc_xlate_extended() in order to parse tags, that are
> specified as an additional arguments to the path endpoints in DT.
>
> Signed-off-by: Georgi Djakov <[email protected]>

Tested-by: Sibi Sankar <[email protected]>
Reviewed-by: Sibi Sankar <[email protected]>

> ---
> drivers/interconnect/qcom/sdm845.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/interconnect/qcom/sdm845.c
> b/drivers/interconnect/qcom/sdm845.c
> index f6c7b969520d..3b81dbb71b0b 100644
> --- a/drivers/interconnect/qcom/sdm845.c
> +++ b/drivers/interconnect/qcom/sdm845.c
> @@ -469,7 +469,7 @@ static int qnoc_probe(struct platform_device *pdev)
> provider->set = qcom_icc_set;
> provider->pre_aggregate = qcom_icc_pre_aggregate;
> provider->aggregate = qcom_icc_aggregate;
> - provider->xlate = of_icc_xlate_onecell;
> + provider->xlate_extended = qcom_icc_xlate_extended;
> INIT_LIST_HEAD(&provider->nodes);
> provider->data = data;

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.

2020-07-27 20:55:40

by Matthias Kaehlcke

[permalink] [raw]
Subject: Re: [PATCH 3/6] interconnect: qcom: sdm845: Replace xlate with xlate_extended

On Thu, Jul 23, 2020 at 04:09:39PM +0300, Georgi Djakov wrote:
> Use the qcom_icc_xlate_extended() in order to parse tags, that are
> specified as an additional arguments to the path endpoints in DT.
>
> Signed-off-by: Georgi Djakov <[email protected]>

Reviewed-by: Matthias Kaehlcke <[email protected]>