Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3859511imm; Tue, 11 Sep 2018 03:18:27 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZjyRPxiAUs9t4ryxhM1RWusSlvQ+rdC72A2JxfyzNBBqppyLnyd4qt2j3GM0rPjzh2xu3H X-Received: by 2002:a17:902:464:: with SMTP id 91-v6mr26748722ple.125.1536661107465; Tue, 11 Sep 2018 03:18:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536661107; cv=none; d=google.com; s=arc-20160816; b=vD0OJ+iH9VHXaZDG2uQ/QynTPVR7rGXJ4eH923biK/gEauzs+7AIij1UQHn7mgj/pE Kc6HQVJgtE+dPdRILNXz4BBhKYR6ZazvOHVSJztN1HolaL1suvQB1ec6VKhAeBg6i8TW eHfyo071tGTlKhuN8enWSmTGHVqaBInr+Cxrqx3qwiOEOVOpN1KH58yxGS4OApJbNlSP cipX+FccHYLolZFl9bR+v3fGL2s4TtVJ2ThbeXaBk30NpD/OeLhMOwvaO3MrQKqlxPxh Nso6oAegNKx7uFWYs+g1sY1tYwDabZg/0bdRWdDBwN3+yrgwE+jyRVWLUmqDc39tDO8A /a9w== 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; bh=IomJ9bPfLGMG2UbmWO7DiIekgWw40NrvzrN9GiiuoYo=; b=ynthL06MRpe53Eix3S2ujEPFnLum+kyEOOEKft3eZJbJJ+OQNUXDXrcO2lPYa3cu9p AOgC90nqAS8EXTehyLPxicZdC3S/V6KlbKFtU677hwJ21HDjpQtP81leutuo+i+zFfBE te5mUFKK6alwNll1xB4sXFQYpncZCDudF/VtgJGWe+fR17hfmS1impcqBSUW/z18ZRfD 9/TgN1pTsmXcr/pedbbdk5XXNkGFteGgKwJgkRd0M6geHM1OJ6pTT4tnICvJKsHtYtAR 08ZXC8uYYcg7M++fEKFewdOYAYMdJnFH8beyyqaz2RA28II9KGdtcTuCT2vwMIV9AxTv ybGg== 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 s9-v6si19481191pgk.384.2018.09.11.03.18.11; Tue, 11 Sep 2018 03:18:27 -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 S1727729AbeIKPQa (ORCPT + 99 others); Tue, 11 Sep 2018 11:16:30 -0400 Received: from foss.arm.com ([217.140.101.70]:41250 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727601AbeIKPQ3 (ORCPT ); Tue, 11 Sep 2018 11:16:29 -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 C7A1F1682; Tue, 11 Sep 2018 03:17:50 -0700 (PDT) Received: from en101.Emea.Arm.com (en101.emea.arm.com [10.4.13.23]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B6B6E3F557; Tue, 11 Sep 2018 03:17:48 -0700 (PDT) From: Suzuki K Poulose To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, robh@kernel.org, frowand.list@gmail.com, devicetree@vger.kernel.org, mathieu.poirier@linaro.org, arm@kernel.org, sudeep.holla@arm.com, Suzuki K Poulose , Andy Gross , David Brown , "Ivan T . Ivanov" Subject: [PATCH 04/11] dts: qcom: Update coresight bindings for hardware ports Date: Tue, 11 Sep 2018 11:17:05 +0100 Message-Id: <1536661032-30481-5-git-send-email-suzuki.poulose@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536661032-30481-1-git-send-email-suzuki.poulose@arm.com> References: <1536661032-30481-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 updated coresight bindings for hw ports Cc: Andy Gross Cc: David Brown Cc: Ivan T. Ivanov Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 98 ++++++++++++++++++++++------------- 1 file changed, 63 insertions(+), 35 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 7b32b89..5bed52b 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -1099,10 +1099,11 @@ clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; clock-names = "apb_pclk", "atclk"; - port { - tpiu_in: endpoint { - slave-mode; - remote-endpoint = <&replicator_out1>; + out-ports { + port { + tpiu_in: endpoint { + remote-endpoint = <&replicator_out1>; + }; }; }; }; @@ -1114,7 +1115,7 @@ clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; clock-names = "apb_pclk", "atclk"; - ports { + in-ports { #address-cells = <1>; #size-cells = <0>; @@ -1132,11 +1133,16 @@ port@4 { reg = <4>; funnel0_in4: endpoint { - slave-mode; remote-endpoint = <&funnel1_out>; }; }; - port@8 { + }; + + out-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { reg = <0>; funnel0_out: endpoint { remote-endpoint = <&etf_in>; @@ -1152,7 +1158,7 @@ clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; clock-names = "apb_pclk", "atclk"; - ports { + out-ports { #address-cells = <1>; #size-cells = <0>; @@ -1162,16 +1168,22 @@ remote-endpoint = <&etr_in>; }; }; + port@1 { reg = <1>; replicator_out1: endpoint { remote-endpoint = <&tpiu_in>; }; }; - port@2 { + }; + + in-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { reg = <0>; replicator_in: endpoint { - slave-mode; remote-endpoint = <&etf_out>; }; }; @@ -1185,18 +1197,23 @@ clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; clock-names = "apb_pclk", "atclk"; - ports { + in-ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; etf_in: endpoint { - slave-mode; remote-endpoint = <&funnel0_out>; }; }; - port@1 { + }; + + out-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { reg = <0>; etf_out: endpoint { remote-endpoint = <&replicator_in>; @@ -1212,10 +1229,11 @@ clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; clock-names = "apb_pclk", "atclk"; - port { - etr_in: endpoint { - slave-mode; - remote-endpoint = <&replicator_out0>; + in-ports { + port { + etr_in: endpoint { + remote-endpoint = <&replicator_out0>; + }; }; }; }; @@ -1227,39 +1245,41 @@ clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; clock-names = "apb_pclk", "atclk"; - ports { + in-ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; funnel1_in0: endpoint { - slave-mode; remote-endpoint = <&etm0_out>; }; }; port@1 { reg = <1>; funnel1_in1: endpoint { - slave-mode; remote-endpoint = <&etm1_out>; }; }; port@2 { reg = <2>; funnel1_in2: endpoint { - slave-mode; remote-endpoint = <&etm2_out>; }; }; port@3 { reg = <3>; funnel1_in3: endpoint { - slave-mode; remote-endpoint = <&etm3_out>; }; }; - port@4 { + }; + + out-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { reg = <0>; funnel1_out: endpoint { remote-endpoint = <&funnel0_in4>; @@ -1309,9 +1329,11 @@ cpu = <&CPU0>; - port { - etm0_out: endpoint { - remote-endpoint = <&funnel1_in0>; + out-ports { + port { + etm0_out: endpoint { + remote-endpoint = <&funnel1_in0>; + }; }; }; }; @@ -1325,9 +1347,11 @@ cpu = <&CPU1>; - port { - etm1_out: endpoint { - remote-endpoint = <&funnel1_in1>; + out-ports { + port { + etm1_out: endpoint { + remote-endpoint = <&funnel1_in1>; + }; }; }; }; @@ -1341,9 +1365,11 @@ cpu = <&CPU2>; - port { - etm2_out: endpoint { - remote-endpoint = <&funnel1_in2>; + out-ports { + port { + etm2_out: endpoint { + remote-endpoint = <&funnel1_in2>; + }; }; }; }; @@ -1357,9 +1383,11 @@ cpu = <&CPU3>; - port { - etm3_out: endpoint { - remote-endpoint = <&funnel1_in3>; + out-ports { + port { + etm3_out: endpoint { + remote-endpoint = <&funnel1_in3>; + }; }; }; }; -- 2.7.4