Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp255877iog; Wed, 29 Jun 2022 23:35:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vyVuai+oXatUklZiHCGB14qHbHzceIRYmSobDcNCjLRSlkNzvKs6RwPN4JYcrkXRJRDIMI X-Received: by 2002:a05:6402:84f:b0:437:6293:d264 with SMTP id b15-20020a056402084f00b004376293d264mr9258467edz.317.1656570905783; Wed, 29 Jun 2022 23:35:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656570905; cv=none; d=google.com; s=arc-20160816; b=ezWSNFH+PFfSCJfPmMvGgEJks1WT75dtzQVexEvCb27SU9+HCnMOcqlO/uj/bICJDV sU28zLrw2VoNx8BCAq/1otyBYR68IstderetTL/smgYqLYzgbZBMn581ctkL/KJVlXTx RezLcAKkZfyqyBEbjTLR3ZSwSYMN6ajcPEjpiihEP55zLWe/TnOnE/Qrhnt0wBmV2HnK 0Int0RhiW+8h4igbo+p1XbwMnoEiHREsYQrcdwPwt6AxbnYcYUKMNygnRtRasntr9xtt VNclSwD8oFCuJFyNf7i0lvC7fDoEWpIHmouBoYELFv1wsqjKxDv5BEqtyRRfV9gvrNvg jzYg== 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=XrO4/xHdER1s9yCYYAn/QjZ9SqE5jPpfRtLZC10qkITK0moLj2A+vBeJWx6E4xGHXM YIMjYQwdjYc37BldzRzN46g0M+gWot1k8D8bqhNgb3AwiLOeiY6D00gN1d7ivWzUd0q0 i/jiWo3ZOAedD/LCQseh/6bjLwC5jHyqoz2H3g4BFcJoX9m3zQkwOYs3Yf4y1tjSa6i7 1MewnYJL+5N3pg2cNABPHzehcKm4cD2VWOjAXvvzZ2GGXqYi7ip2NJkZWuRSJVNPCQU+ SNYoi/Wkd4W8AH2+6YfuaNCmv/xVwz+8VHvkjLCOVTyrcLizSh9Muod2n9QM+O+RhJwS UIBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VS39Fgce; 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 v4-20020a170906380400b00722e5217355si3664167ejc.607.2022.06.29.23.34.39; Wed, 29 Jun 2022 23:35:05 -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=VS39Fgce; 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 S232553AbiF3F6Z (ORCPT + 99 others); Thu, 30 Jun 2022 01:58:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231690AbiF3F6W (ORCPT ); Thu, 30 Jun 2022 01:58:22 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFF5DEA2 for ; Wed, 29 Jun 2022 22:58:18 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id w1-20020a17090a6b8100b001ef26ab992bso1763444pjj.0 for ; Wed, 29 Jun 2022 22:58:18 -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=VS39FgceRCVipIQogedEwFgAvy76jT2W0c4CCyo+PPlTZ+QmI4LuhhM5ya3OhUWgWF QPvSs0x8ZBrkGUEbnsTwwk+hTcepX62ot6CeQYGJa4CGvLU+DCyb8NimPa/IrxPKfKc2 biY1yU6Ik/GLFoi7O2JpRFUigsurzegwUbhqweNzdN84a6ZP+z1zEm7OPxlMocj3ZayL kPm3w/mh3QkHZvUL74aMKZcdARNsvXczHQbrlgZplcslom4R9KZ1S/ab7tJPyIGnxFA0 /2EPSY2vue/DvhZYkKbi76YVmTfYQfvXoPQ3BE7kumPvexU6GeJHZtmxqmZm6Wk3Fx/l l44g== 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=y01lne6zWl0SZHhEfOxXd12yAJDonVxMACNoUkAaC/DWbosXJ3GfF1ctW+fcvn/eL+ eO0iYXPIRYxA87AOrgqpP7pU1q4c4PyT1q8XWZI83wyX/KODe+YIr1P7w446Y9uRAqwp dC5p7opTUhyVrtMjX0sP5Y+8ob5x6VgJeizSW/p2OTjSj3Y3UE1kigYm4W72XM2IxSFY u4rEU2sWUhmQLKvKeEFKyUry2pyHuk4Wld+juNDR0AWft79Qc3UsX2kOCddhthYkeDy5 ySFHfMNB8TEWLJh/Ln3gbPjZs9a5Hdvj1mbJMTq9tBgMOl0nRmbbDvGMqsvmlVsW3HJa nywQ== X-Gm-Message-State: AJIora/WQujqgU8WME63evpc/28Vn8jsOySO+nVYNueYaUjz1WO6LE3U Xh8prKVUIRw38RG/++ACtHW0UQ== X-Received: by 2002:a17:90b:248b:b0:1ec:9869:59a0 with SMTP id nt11-20020a17090b248b00b001ec986959a0mr8110417pjb.37.1656568698192; Wed, 29 Jun 2022 22:58:18 -0700 (PDT) Received: from leo-build-box.lan ([154.3.32.171]) by smtp.gmail.com with ESMTPSA id b14-20020a17090a550e00b001e31f4cc977sm3309288pji.56.2022.06.29.22.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 22:58:17 -0700 (PDT) From: Leo Yan To: Andy Gross , Bjorn Andersson , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , 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 v2 3/5] interconnect: qcom: icc-rpm: Change to use qcom_icc_xlate_extended() Date: Thu, 30 Jun 2022 13:57:20 +0800 Message-Id: <20220630055723.704605-4-leo.yan@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220630055723.704605-1-leo.yan@linaro.org> References: <20220630055723.704605-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=ham 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