Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3237975imw; Mon, 11 Jul 2022 04:58:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vdzPatxZDchnjIm17Vn0wB7NbXTQfUUH4KpZi3asUwOI5/38GqhTQi0Rd85rojBx0mPDXM X-Received: by 2002:a17:907:97d4:b0:722:e550:7490 with SMTP id js20-20020a17090797d400b00722e5507490mr18333608ejc.625.1657540724485; Mon, 11 Jul 2022 04:58:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657540724; cv=none; d=google.com; s=arc-20160816; b=m0Gh4ZqmgUTaW4zFvLAcDKmwAFS79SVqQejpgiQFA9BbLodcsrTcpCXZlZovhBULO7 2460W4dNtMli+dsLpH2awn7bE2SN+Z7p9ogOG4HKMgZ2Qnc6+HvgnJp+sLPrMAsglmVy tD+ojnBs79KakojSMuN4VtV0VX5chpLae5rUWEZ2AEw35iwWF5MZS1eJMSQ+eOunZAsw wfH0YYc8r3qWGBZnF1e0V4ETfCuQRtPycvdfzj1tXivjslIm9Z+zPPLYwoqskZJrBfOw ZgYBGnSYXHkFTmo0xYTSPn+EPgtxpe1NT6mxfmjP6dYwCNWjH/fmtWcN98T+RFwDxW8G jCxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5+gYIpHsZ47Eh2pxDFNpWAcmAPIFH2rD2QueXVUKLjQ=; b=E6V9jVqTfx55JHclK2kyPLH2hUiNbfiBKobMa4q8FVsN4D1IHYHS9w8lT8Zd3B0Rte 3z/FLd/jUEAG9vJ6u9aqqFQyPkcvPhJDEQM1rLE+QHFsfl+zadDn6CQs5DmCbVrOSV8i pOKRrD9Us1QV49vLwWOAInRn+wA66BHkeMS8Vm32E38gPyssiF22avx5vDZKzb1wyfy8 r2QwUINe7aGYSqBZAN4fshuXn8qPquZ9v3EXGxAafBlLOaLMeFEfbALujh8N1gUKk9b3 Qn9959vy1m8KOLLqrO0wx/KRTfYYykev1x4w0KmLickQCzoYVVRYmC2VLL0/pQlsFcY+ 4tJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s5dcqRWS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id zj24-20020a170907339800b00712018edf25si8986689ejb.687.2022.07.11.04.58.19; Mon, 11 Jul 2022 04:58:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s5dcqRWS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231133AbiGKLxY (ORCPT + 99 others); Mon, 11 Jul 2022 07:53:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231243AbiGKLxI (ORCPT ); Mon, 11 Jul 2022 07:53:08 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19B9E27FF2 for ; Mon, 11 Jul 2022 04:53:03 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id p9so4619032pjd.3 for ; Mon, 11 Jul 2022 04:53:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5+gYIpHsZ47Eh2pxDFNpWAcmAPIFH2rD2QueXVUKLjQ=; b=s5dcqRWSlosu1e8M9/fVT5nKfHLvHBK+rQ6J/HdOtb6Y2X2HeVv+hqGtdaGoh6HSIG LqGKJMUJ1zeZflUMxjH8mHPVeYueKgstFqFI6OfPQDQvNK4cjMbaIjLzSz7JCggnLVZE TSQKgR2l514Q+dvxzAwh8wg+f/xLPdkFQGLNFIVM1+bwyky+QHbphksjwG46KOZFpcfy txvT5jx7bz4kzFbq/tvU+ohYT/XcjXAAUzxzawlULQybZZltjxOLgV4oyaxVX3n7bDnI bHCmSrhiCB4XAPVlRZygISycj/ELdXsI6GwlKkWLmuu2mWYy4x/UBXWdyujcWU5Pw40A 8T4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5+gYIpHsZ47Eh2pxDFNpWAcmAPIFH2rD2QueXVUKLjQ=; b=SBMYGVOz7zkhRQqvat/4b3uUwAaqSVS+Ay9wWQfxPEEsWuhJYKWq5APuGS7VuA5BZt +vM/0l8Wv6vrMYqIgWW1Y66srCgRtrS0ruWr+v2HpjanqAD50cZP7ToYqyAM+XFX4l6V iqI4FM36ujSR0FrGFTCqqCAvvW/aeJIxhcEfT7+C0Bhh+8xG0NyPwzJ7byLc0WnjM0Uz hvGwg+eOXag4TkuK+aGgkW+pODutrfbt4Insgwdw2ZUNzoNLczf/AnG6jtUaf3rZZH/4 wUrSG4QV8ciV42L+frbzU91yNyfs3TVrcgWlvtPcsKJI/OWWV/3FgRsrtpbh1UT1doL+ Lq/w== X-Gm-Message-State: AJIora/N8nAZ1UjSHDX+4MTCqyfDnLLTjeABRIFp6PaDyanSwZ+FA9JO AMhn87BlyEN3K5sDXy7d6qU38Q== X-Received: by 2002:a17:902:e5c6:b0:16c:413c:fbff with SMTP id u6-20020a170902e5c600b0016c413cfbffmr6790571plf.62.1657540382458; Mon, 11 Jul 2022 04:53:02 -0700 (PDT) Received: from leo-build-box.lan (n058152077182.netvigator.com. [58.152.77.182]) by smtp.gmail.com with ESMTPSA id h14-20020a17090a648e00b001eaec8cea55sm4586502pjj.57.2022.07.11.04.52.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 04:53:02 -0700 (PDT) From: Leo Yan To: Georgi Djakov , Andy Gross , Bjorn Andersson , Krzysztof Kozlowski , Konrad Dybcio , Rob Herring , Bryan O'Donoghue , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Leo Yan , Dmitry Baryshkov Subject: [PATCH v5 3/5] interconnect: qcom: icc-rpm: Change to use qcom_icc_xlate_extended() Date: Mon, 11 Jul 2022 19:52:38 +0800 Message-Id: <20220711115240.806236-4-leo.yan@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220711115240.806236-1-leo.yan@linaro.org> References: <20220711115240.806236-1-leo.yan@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Reviewed-by: Dmitry Baryshkov --- drivers/interconnect/qcom/icc-rpm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #include "smd-rpm.h" +#include "icc-common.h" #include "icc-rpm.h" /* QNOC QoS */ @@ -414,7 +415,7 @@ int qnoc_probe(struct platform_device *pdev) 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); -- 2.25.1