From patchwork Thu Aug 6 16:31:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 247493 Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp1708170ilo; Thu, 6 Aug 2020 10:51:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7yMqZE3vDHm6Sh0NiF0kRZ80EsO/0TYTSeZiEYh7RlWzmKJc4ErMAGLoEVA1lO5v6yFa0 X-Received: by 2002:a17:906:289a:: with SMTP id o26mr5372738ejd.309.1596736288315; Thu, 06 Aug 2020 10:51:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596736288; cv=none; d=google.com; s=arc-20160816; b=wR+5DPgsxabJYwH2ro2zTgeqmrw5i52eY5mBMOWwzpA1+He4v57Yg41MYkZvRkLJBe mbtPIsLWXncYsY/jR3yM3jUyDnDXKKoyz9tmZ6aFokmhTKcvUD7s2pd8Iz4VCI6p6hAY eOb5fvYcga0fdJpv+wQaBskftNiFp9f3LyeUlSngta1kDDOWijUmnFoH5ADUYdt3nzeH o4KhImRiuN1elMToMOveL58bBqHnRlOBIb6X79nC4TIcRhZ+BcZDxK8Ufe9tD+kT0JKR 8hdV1gbk6jevFOk49GBDUpXGT+nkU5twlJPUxGuUP8hI1SD0C5PJHgttvI6BfrE1RiMs 4DoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=K0z+nN4Q2Lop7WGeqT2R4X33dK+rJ9oWoUAFXO5nbng=; b=nhq2jXttPRQI8SemTWGt1OoJ1lasOEOljGZwgFv7XJzdnloQu+1bdqM821qevzP3k3 N3qCWHhpQidrQsZCtBY+slP3pYFK2TRJaqc0sKJvO9fkw3O0KFClBihw5OIsLXxMDE9S 2lDhzqOySkLNi44ZXqmKVJv72qa2k0KjjYNPdQXqh/3gx2/JOb3AC8mL6JdnbLAd04dt ygk89mlVpZIUrdKVpS34H9eOcB2hqAgwy6rx3TyH5766wLdEugSNs4zOmEL+zmvA/kYR 0WFnqG1k1WB99pULn/P2esWRwHl7TTgm/+6ne16plTwfrhg9spd7svJq8uhb4I6Yr8g1 IuGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rDkRS6zy; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r26si3623454ejz.728.2020.08.06.10.51.28; Thu, 06 Aug 2020 10:51:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rDkRS6zy; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-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 S1728751AbgHFRvQ (ORCPT + 10 others); Thu, 6 Aug 2020 13:51:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728600AbgHFQcb (ORCPT ); Thu, 6 Aug 2020 12:32:31 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13639C02B8C5 for ; Thu, 6 Aug 2020 09:31:37 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id r2so39517688wrs.8 for ; Thu, 06 Aug 2020 09:31:37 -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=K0z+nN4Q2Lop7WGeqT2R4X33dK+rJ9oWoUAFXO5nbng=; b=rDkRS6zy1V+kPfp+/a8fkd3XWxVI36H7Hci5dkKNDtqe7glv3N01cuhkrd9149KBrp KqkqRLtj4VFf4J5D2yIR5qFHExE+56hq+F86aoeNqR2YTFyg7+29Ftq/JxxICKK+t/uP 4EPyBAPK3afS2C+RGssubuyDS1X2VmflQyupcqs/imRgPFfht4CL/pZM4ZF4AA1UXQGC c8Tnhq57i6SnofcJ0PgQ8/HJ/vTN3fSezs9s2+IHsj1Jk3e9KBmEQ6ODk4hf6J6NNrGc oWcMJ/dxevSCE/kW447IzlLPCiXDgDxe91/zr8mttDdVpDTbNrgVWUE09FqwZJr4IOoH sT5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=K0z+nN4Q2Lop7WGeqT2R4X33dK+rJ9oWoUAFXO5nbng=; b=NPKvDNlolW5QuSOseLuQwhbdsoG7zviu1aHdnUtUhOVQp4+I5ID1xa1+uLzGfioNnb 4EWqYbGQ9JUt2M/PwPz0PT/ZAAWFJIMLZq/wbV11xuQkMOJPUNLAvxBgtrauQQIhNB1c +AzlTEGFX092uH1oVrb5v3UbZAusliidrFk9d94vqo1jdMVfKffPL9J+nuGHmaAvYvnf Pc9qOyCdIcGFvjd9mXfKDAhZrx7UMGv+m+5T/d3fyoPMAWq23ah7t4zbasSmr1c3Kdy2 b2F6R756xRgUkToXCyeCJJE/cvnUpk0gFL/g3feXWLmylRAKFH+gT2Ae54962eqc1/Ve MHxA== X-Gm-Message-State: AOAM530eb11qRqFngCUzQNoESFsW5zf+1YHfgfAm7zbc2aKy8jwGrE8e Tgh4DxRAz2Lz/NbxBsFfMtDJzB40E8w= X-Received: by 2002:adf:dd4f:: with SMTP id u15mr8195593wrm.275.1596731495462; Thu, 06 Aug 2020 09:31:35 -0700 (PDT) Received: from localhost.localdomain ([87.120.218.65]) by smtp.googlemail.com with ESMTPSA id i66sm7468537wma.35.2020.08.06.09.31.33 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Aug 2020 09:31:34 -0700 (PDT) From: Georgi Djakov To: linux-pm@vger.kernel.org, devicetree@vger.kernel.org Cc: robh+dt@kernel.org, bjorn.andersson@linaro.org, sibis@codeaurora.org, mka@chromium.org, dianders@chromium.org, georgi.djakov@linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/7] interconnect: qcom: sdm845: Replace xlate with xlate_extended Date: Thu, 6 Aug 2020 19:31:23 +0300 Message-Id: <20200806163126.22667-5-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200806163126.22667-1-georgi.djakov@linaro.org> References: <20200806163126.22667-1-georgi.djakov@linaro.org> MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Use the qcom_icc_xlate_extended() in order to parse tags, that are specified as an additional arguments to the path endpoints in DT. Tested-by: Sibi Sankar Reviewed-by: Sibi Sankar Reviewed-by: Matthias Kaehlcke Signed-off-by: Georgi Djakov --- 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;