Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3860291imm; Tue, 11 Sep 2018 03:19:22 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZxM9uKC0hSfccyKFaQl2OB4AMJvWHl1p5sMA3zK56k+nMK1jC5aZ90CTc8L9LcUEsmB3WI X-Received: by 2002:a17:902:8b86:: with SMTP id ay6-v6mr26743945plb.25.1536661162242; Tue, 11 Sep 2018 03:19:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536661162; cv=none; d=google.com; s=arc-20160816; b=gd/6z05qahMT4ToMK4969rfWCZVWM3gV9lXadH70K03oO+Uutef1nP7KgVI8m4iAD8 zjKHiM4GeOUgm7aa8x1VxPWWUs26iR85+xKRO5gdkOZXtl0ujydvd0TqMMk0qx7rk2vv Fhd9MlIQSiGDj9S5XfwoQdBFLm61HO4URZXzOAZlIbuPXmrjTzX6gU7Wl4W20YGjzo/n 2c7cvkRFL+ADeG0ovu6uUNqQUuzbZtPrk0kZWzd4iHAr7X81HKYxqPFc3bJvCOre5JIh IZrqQeUGs1x3h0ANIjKfZyvFboU+yyQnPifQ9vSotDKnjRRLIEECyRUFCz1NM6vZLH1r wJ2w== 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=d/NgKCxID6w/YyNSycHki0ubteXfXpEQ7SGTEUUurCU=; b=Az7tXvz+yHtOdvV60ZgRgfwD43YCWxlbfoGgWvXuVcp0FWO8hHckYff9nQEd0hqgkF QKss37JcqALRPNhQQZtyYFav98o6R62DVyZXo11N1o99B5Q0K4De0Hnizou+lTbHoZqh wKsX7jkHyqntq6C8734qsSA9QouOlZrH3gQW4gLRZXxR2IC6FPQee1mbmmRtCVD1f7ny /gKsDRDSrfrURroc+0pGnOo6CJHQhPq5K/b8PPQPaSFJIS0/rDXsaZfq34U7ebT+mNYX OeerHjgfcaKR6O0dcm7vu3qoZ/rHfRKU8z39N78aolEMNBBKqZ/zb8iZ2IcZpJjt9gs6 SyaQ== 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 k17-v6si20442971pfj.321.2018.09.11.03.19.06; Tue, 11 Sep 2018 03:19:22 -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 S1727775AbeIKPQd (ORCPT + 99 others); Tue, 11 Sep 2018 11:16:33 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:41276 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726691AbeIKPQd (ORCPT ); Tue, 11 Sep 2018 11:16:33 -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 72A2A18A; Tue, 11 Sep 2018 03:17:55 -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 3E1F43F557; Tue, 11 Sep 2018 03:17:53 -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 , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Subject: [PATCH 06/11] dts: arm: imx7{d,s}: Update coresight binding for hardware ports Date: Tue, 11 Sep 2018 11:17:07 +0100 Message-Id: <1536661032-30481-7-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 the updated coresight bindings. Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm/boot/dts/imx7d.dtsi | 11 ++++--- arch/arm/boot/dts/imx7s.dtsi | 78 ++++++++++++++++++++++++++------------------ 2 files changed, 53 insertions(+), 36 deletions(-) diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index 7cbc2ff..4ced17c 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/boot/dts/imx7d.dtsi @@ -63,9 +63,11 @@ clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; clock-names = "apb_pclk"; - port { - etm1_out_port: endpoint { - remote-endpoint = <&ca_funnel_in_port1>; + out-ports { + port { + etm1_out_port: endpoint { + remote-endpoint = <&ca_funnel_in_port1>; + }; }; }; }; @@ -148,11 +150,10 @@ }; }; -&ca_funnel_ports { +&ca_funnel_in_ports { port@1 { reg = <1>; ca_funnel_in_port1: endpoint { - slave-mode; remote-endpoint = <&etm1_out_port>; }; }; diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index a052198..9176885 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -106,7 +106,7 @@ */ compatible = "arm,coresight-replicator"; - ports { + out-ports { #address-cells = <1>; #size-cells = <0>; /* replicator output ports */ @@ -123,12 +123,15 @@ remote-endpoint = <&etr_in_port>; }; }; + }; - /* replicator input port */ - port@2 { + in-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { reg = <0>; replicator_in_port0: endpoint { - slave-mode; remote-endpoint = <&etf_out_port>; }; }; @@ -168,28 +171,31 @@ clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; clock-names = "apb_pclk"; - ca_funnel_ports: ports { + ca_funnel_in_ports: in-ports { #address-cells = <1>; #size-cells = <0>; - /* funnel input ports */ port@0 { reg = <0>; ca_funnel_in_port0: endpoint { - slave-mode; remote-endpoint = <&etm0_out_port>; }; }; - /* funnel output port */ - port@2 { + /* the other input ports are not connect to anything */ + }; + + out-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { reg = <0>; ca_funnel_out_port0: endpoint { remote-endpoint = <&hugo_funnel_in_port0>; }; }; - /* the other input ports are not connect to anything */ }; }; @@ -200,9 +206,11 @@ clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; clock-names = "apb_pclk"; - port { - etm0_out_port: endpoint { - remote-endpoint = <&ca_funnel_in_port0>; + out-ports { + port { + etm0_out_port: endpoint { + remote-endpoint = <&ca_funnel_in_port0>; + }; }; }; }; @@ -213,15 +221,13 @@ clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; clock-names = "apb_pclk"; - ports { + in-ports { #address-cells = <1>; #size-cells = <0>; - /* funnel input ports */ port@0 { reg = <0>; hugo_funnel_in_port0: endpoint { - slave-mode; remote-endpoint = <&ca_funnel_out_port0>; }; }; @@ -229,18 +235,22 @@ port@1 { reg = <1>; hugo_funnel_in_port1: endpoint { - slave-mode; /* M4 input */ + /* M4 input */ }; }; + /* the other input ports are not connect to anything */ + }; - port@2 { + out-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { reg = <0>; hugo_funnel_out_port0: endpoint { remote-endpoint = <&etf_in_port>; }; }; - - /* the other input ports are not connect to anything */ }; }; @@ -250,19 +260,23 @@ clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; clock-names = "apb_pclk"; - ports { + in-ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; etf_in_port: endpoint { - slave-mode; remote-endpoint = <&hugo_funnel_out_port0>; }; }; + }; - port@1 { + out-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { reg = <0>; etf_out_port: endpoint { remote-endpoint = <&replicator_in_port0>; @@ -277,10 +291,11 @@ clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; clock-names = "apb_pclk"; - port { - etr_in_port: endpoint { - slave-mode; - remote-endpoint = <&replicator_out_port1>; + in-ports { + port { + etr_in_port: endpoint { + remote-endpoint = <&replicator_out_port1>; + }; }; }; }; @@ -291,10 +306,11 @@ clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; clock-names = "apb_pclk"; - port { - tpiu_in_port: endpoint { - slave-mode; - remote-endpoint = <&replicator_out_port0>; + in-ports { + port { + tpiu_in_port: endpoint { + remote-endpoint = <&replicator_out_port0>; + }; }; }; }; -- 2.7.4