Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4835827imm; Tue, 11 Sep 2018 19:24:42 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaiAGTlnQDbaC3nCuB1fLj+8DiZHiD3CcXg5B8xNoSyo9gfhfHJ2aq6ljzRFkq8FWaXLN/N X-Received: by 2002:a63:6ce:: with SMTP id 197-v6mr30854955pgg.338.1536719081953; Tue, 11 Sep 2018 19:24:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536719081; cv=none; d=google.com; s=arc-20160816; b=yaMkOEapJd2c8zEf4sBaWUi8TmgHA45H6Y6/FdV6xjrVhAKqAhmrVB7mfww+0RLG95 WeFtg9O45VVmmGqiVWTcTTQEo/GWQsR2sslWDonyf1D1uX356ohlY+NO3lh7R42/mKIc Nm0AefkI6zGYRQrUA1Ji8HEbBThek723PuUTsAR8CEvoOWHwH3Y5N44HxcLLNqB+SZtf q0pSR0kA5nFikzkrolsyo376Ek7BT6AGMXI9kZZQr0Vd4G3RsnqvsUuSffFkb49c7XT+ YkDrKWpvPZjVgL70a61Ldv9AmKD9JRZZl+Ab3KNcWB/cv636ktUubd/CnSlgWibdAJ/3 kLJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yam+lXj71Nbrwg/T6dPPP/SXK/7NruEooP37gCQH0uY=; b=LgWbYyzimFsjyi97tNhhoQviMR81D7Bfbg+zgFINZ7BuxdDWfi6/6oHHeHAqbE2g7V 0qa43egr6LiX2B9e+Ip5wBhvRftB+ewWPKTvndBnkyG8bzMo5ikFsf/3lz0k+bTycaRa bpPgcIJ+a9sWjdrXbGtYXRITw6MqGOtM6lUnPRSj/MTjhX6cpUEJDB+h4+rNVaWobRNx d7h6aY8o4sjalQx6J1u75jw+Kbu9QSCis1wHNMt2F0wkYZCF9TLrhtGnQfHPJQH3JBM0 w+4fgRBEshxSphQcvzdAJj+1DV0EszP0LMll7E8JrW96XGgwJu0uyMrNMPTO5BHHpUY0 vSzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1ZPurgHS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d24-v6si23536149pgb.226.2018.09.11.19.24.26; Tue, 11 Sep 2018 19:24:41 -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; dkim=pass header.i=@kernel.org header.s=default header.b=1ZPurgHS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728126AbeILHZs (ORCPT + 99 others); Wed, 12 Sep 2018 03:25:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:48418 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728005AbeILHZs (ORCPT ); Wed, 12 Sep 2018 03:25:48 -0400 Received: from dragon (unknown [180.108.213.97]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 79AD220839; Wed, 12 Sep 2018 02:23:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536719017; bh=8d3/e9Tb3PxkMEznEOOowuQlXVbp9HKJOKD1BTzJMlo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1ZPurgHSJx6XOuSvcR4f5UFO7VxN4j7IANW5+k0WhxUBA7jDUfB5R9flHHyg3iwEb sQYKDrBuDjTkERhgZSMGbNnS0G86wL6vBGi2eK4YVBjEBZBYLN7Es9tXZeyxun/zJb RL+WMfSth5rqeIaDrqI3ReasYgDMn+n3rTINGBis= Date: Wed, 12 Sep 2018 10:21:57 +0800 From: Shawn Guo To: Suzuki K Poulose Cc: linux-arm-kernel@lists.infradead.org, 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, Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Subject: Re: [PATCH 06/11] dts: arm: imx7{d,s}: Update coresight binding for hardware ports Message-ID: <20180912022152.GG28469@dragon> References: <1536661032-30481-1-git-send-email-suzuki.poulose@arm.com> <1536661032-30481-7-git-send-email-suzuki.poulose@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1536661032-30481-7-git-send-email-suzuki.poulose@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 11, 2018 at 11:17:07AM +0100, Suzuki K Poulose wrote: > 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 As per the convention we use for subject prefix, I suggest you use 'ARM: dts: imx7: ...' Shawn > --- > 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 >