Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp47080imm; Tue, 5 Jun 2018 14:47:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIdTtsf1lUoWgKSFosRUf7hsHj1Dnwgs8Cq8ec3C/WdH48yGK0CMHK0NSO1KaGx4JjuttN3 X-Received: by 2002:a17:902:6b04:: with SMTP id o4-v6mr339318plk.101.1528235243941; Tue, 05 Jun 2018 14:47:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528235243; cv=none; d=google.com; s=arc-20160816; b=YqhnWgsMQDro9ARVB1BFiXYHWQK4/hHQ6jcu+vGH6DHmR/DXBmJHnGCXPg42aVOX4e YG94EjdLY7O68RC3gxq0uyZsNXjB23osqYqTIHpPW2pi1ciIkMm52K0yWFxwcpnoXCtx 00z79lx/REuQN5Fd+ldUBBB75Y7fR+sPLaIRj2mr+iEWngSVOmEL+huE77RHhELqM2ej MkUgf3nIhrRaw69t+AJTfbsQo83ZHPdQ/lr6R05YOTppTKM3i2Oo2MmLHWiwHHDzBfXA PjV723vhfB9+wHjsR3pzTRgkjWsFMpf2zaG36pz/EGsMdOVa68C2LRd9V1BENmWTTM6l 70Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=GK5lIefYyEOC34EQ+2pT6mnaU4eFrmUWEtW7NZyFLek=; b=L2DnfxQxNtwe7Tt2SPUNksGhgb7VkbUVKW6hcNSxmHkUCo6BW9XTlk7oyBXRp+ib2y hjSbKkJt0TIdmjxY3Mr8z/jNHpby2SPC0XGhn/hP5TPK+VMof1vGIAxbvAkWZZT18Q2M jJFF45A0/rKdlwoTIWWHJeUKYGEHk5lYUV4DclvfAF071VVQk0jwomGfsdoSMpZTn6rB D7Z72G0sJuQ/nuu9PxG/EOn8FUEMLAYGTuSvujfVy3qbuMhBQVRFuQZIMGPsvQXwTboR EPXnrwvLIvCZEVIgRTBUtPovjyox667aQg00LyRH+rs91t6v8UtlP/UxQDM0wAbbpVDr CVeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p2-v6si12649458plr.494.2018.06.05.14.47.09; Tue, 05 Jun 2018 14:47:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752997AbeFEVpg (ORCPT + 99 others); Tue, 5 Jun 2018 17:45:36 -0400 Received: from foss.arm.com ([217.140.101.70]:34676 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751698AbeFEVpe (ORCPT ); Tue, 5 Jun 2018 17:45:34 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F1A8A15AB; Tue, 5 Jun 2018 14:45:33 -0700 (PDT) Received: from en101.cambridge.arm.com (en101.cambridge.arm.com [10.1.206.73]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 30E6D3F59D; Tue, 5 Jun 2018 14:45:31 -0700 (PDT) From: Suzuki K Poulose To: linux-arm-kernel@lists.infradead.org Cc: mathieu.poirier@linaro.org, robh@kernel.org, frowand.list@gmail.com, mark.rutland@arm.com, sudeep.holla@arm.com, arm@kernel.org, linux-kernel@vger.kernel.org, matt.sealey@arm.com, john.horley@arm.com, charles.garcia-tobin@arm.com, coresight@lists.linaro.org, devicetree@vger.kernel.org, mike.leach@linaro.org, Suzuki K Poulose , Andy Gross , David Brown Subject: [PATCH 17/20] dts: arm: qcom: Update coresight bindings for hardware ports Date: Tue, 5 Jun 2018 22:43:28 +0100 Message-Id: <1528235011-30691-18-git-send-email-suzuki.poulose@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1528235011-30691-1-git-send-email-suzuki.poulose@arm.com> References: <1528235011-30691-1-git-send-email-suzuki.poulose@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Switch to the new hardware port bindings for coresight Cc: Andy Gross Cc: David Brown Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm/boot/dts/qcom-apq8064.dtsi | 37 +++++++++++++++++------ arch/arm/boot/dts/qcom-msm8974.dtsi | 60 +++++++++++++++++++++++++++---------- 2 files changed, 73 insertions(+), 24 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 5341a39..d854220 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -1609,8 +1609,9 @@ port { etb_in: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&replicator_out0>; + coresight,hwid = <0>; }; }; }; @@ -1624,8 +1625,9 @@ port { tpiu_in: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&replicator_out1>; + coresight,hwid = <0>; }; }; }; @@ -1644,19 +1646,22 @@ reg = <0>; replicator_out0: endpoint { remote-endpoint = <&etb_in>; + coresight,hwid = <0>; }; }; port@1 { reg = <1>; replicator_out1: endpoint { remote-endpoint = <&tpiu_in>; + coresight,hwid = <1>; }; }; port@2 { - reg = <0>; + reg = <2>; replicator_in: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&funnel_out>; + coresight,hwid = <0>; }; }; }; @@ -1683,35 +1688,41 @@ port@0 { reg = <0>; funnel_in0: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&etm0_out>; + coresight,hwid = <0>; }; }; port@1 { reg = <1>; funnel_in1: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&etm1_out>; + coresight,hwid = <1>; }; }; port@4 { reg = <4>; funnel_in4: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&etm2_out>; + coresight,hwid = <4>; }; }; port@5 { reg = <5>; funnel_in5: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&etm3_out>; + coresight,hwid = <5>; }; }; port@8 { - reg = <0>; + reg = <8>; funnel_out: endpoint { + direction = <1>; remote-endpoint = <&replicator_in>; + coresight,hwid = <0>; }; }; }; @@ -1728,7 +1739,9 @@ port { etm0_out: endpoint { + direction = <1>; remote-endpoint = <&funnel_in0>; + coresight,hwid = <0>; }; }; }; @@ -1744,7 +1757,9 @@ port { etm1_out: endpoint { + direction = <1>; remote-endpoint = <&funnel_in1>; + coresight,hwid = <0>; }; }; }; @@ -1760,7 +1775,9 @@ port { etm2_out: endpoint { + direction = <1>; remote-endpoint = <&funnel_in4>; + coresight,hwid = <0>; }; }; }; @@ -1776,7 +1793,9 @@ port { etm3_out: endpoint { + direction = <1>; remote-endpoint = <&funnel_in5>; + coresight,hwid = <0>; }; }; }; diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index d9019a4..89c7eb3 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -772,8 +772,9 @@ port { etr_in: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&replicator_out0>; + coresight,hwid = <0>; }; }; }; @@ -787,8 +788,9 @@ port { tpiu_in: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&replicator_out1>; + coresight,hwid = <0>; }; }; }; @@ -807,20 +809,25 @@ port@0 { reg = <0>; replicator_out0: endpoint { + direction = <1>; remote-endpoint = <&etr_in>; + coresight,hwid = <0>; }; }; port@1 { reg = <1>; replicator_out1: endpoint { + direction = <1>; remote-endpoint = <&tpiu_in>; + coresight,hwid = <1>; }; }; port@2 { - reg = <0>; + reg = <2>; replicator_in: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&etf_out>; + coresight,hwid = <0>; }; }; }; @@ -840,14 +847,17 @@ port@0 { reg = <0>; etf_out: endpoint { + direction = <1>; remote-endpoint = <&replicator_in>; + coresight,hwid = <0>; }; }; port@1 { - reg = <0>; + reg = <1>; etf_in: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&merger_out>; + coresight,hwid = <0>; }; }; }; @@ -873,14 +883,17 @@ port@1 { reg = <1>; merger_in1: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&funnel1_out>; + coresight,hwid = <1>; }; }; port@8 { - reg = <0>; + reg = <8>; merger_out: endpoint { + direction = <1>; remote-endpoint = <&etf_in>; + coresight,hwid = <0>; }; }; }; @@ -910,14 +923,17 @@ port@5 { reg = <5>; funnel1_in5: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&kpss_out>; + coresight,hwid = <5>; }; }; port@8 { - reg = <0>; + reg = <8>; funnel1_out: endpoint { + direction = <1>; remote-endpoint = <&merger_in1>; + coresight,hwid = <0>; }; }; }; @@ -937,35 +953,41 @@ port@0 { reg = <0>; kpss_in0: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&etm0_out>; + coresight,hwid = <0>; }; }; port@1 { reg = <1>; kpss_in1: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&etm1_out>; + coresight,hwid = <1>; }; }; port@2 { reg = <2>; kpss_in2: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&etm2_out>; + coresight,hwid = <2>; }; }; port@3 { reg = <3>; kpss_in3: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&etm3_out>; + coresight,hwid = <3>; }; }; port@8 { - reg = <0>; + reg = <8>; kpss_out: endpoint { + direction = <1>; remote-endpoint = <&funnel1_in5>; + coresight,hwid = <0>; }; }; }; @@ -982,7 +1004,9 @@ port { etm0_out: endpoint { + direction = <1>; remote-endpoint = <&kpss_in0>; + coresight,hwid = <0>; }; }; }; @@ -998,7 +1022,9 @@ port { etm1_out: endpoint { + direction = <1>; remote-endpoint = <&kpss_in1>; + coresight,hwid = <0>; }; }; }; @@ -1014,7 +1040,9 @@ port { etm2_out: endpoint { + direction = <1>; remote-endpoint = <&kpss_in2>; + coresight,hwid = <0>; }; }; }; @@ -1030,7 +1058,9 @@ port { etm3_out: endpoint { + direction = <1>; remote-endpoint = <&kpss_in3>; + coresight,hwid = <0>; }; }; }; -- 2.7.4