Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4619461imm; Mon, 18 Jun 2018 19:14:14 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKb8b7yFEwHIOCTTqOrNmglf0hqB7PeZ5dcj6CxAtajENU4ydHn3SGBr1Pa4RsObOE3A6ZL X-Received: by 2002:a62:3101:: with SMTP id x1-v6mr15746843pfx.246.1529374454016; Mon, 18 Jun 2018 19:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529374453; cv=none; d=google.com; s=arc-20160816; b=tqcwuHIBNjpzDifrjRAts3ku/DXpnUJ9AMCbNYkOjQVP1ErNepngncTUNX+20R5vSj 6+PagKR1zgCOZlT5Td0slF5AmWjdVCKbg5MiVTan8lV0fQXCSY0+xLOBFrQlYm43hzPe BwyrJXVvVJmbp9JNI0v47RfoBqb+G8s268x/p9aAfQ66fTugjviAEICtagzS4u957IrG Jgn6ITtIUNI4J7TgkzQjU9MKxaIb6DZ1T8fwRwwTTUOLv8R43ELFQEaESde87n5Ky0qJ yc3tK+ztCLeDFTrYzmSe1TJrfKENEmd641K2+jWtjHjbW6/PpbKtCzPBzjk4AYIvyZW+ mieQ== 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:arc-authentication-results; bh=EnHHWlvf+AataUmSKMLnE28YBFA2/5SjGsgx0eoDGGM=; b=kXUwjnjVavobIfiFp2tZ2O0FS4hZM7HzEvhCXz10il7nEqzd2sCdc+jsfYZ8dBCZEs enE4HAElKXMvJ7iD5z42J/QyQ3b1oPi7RZcQhv4xDRXIqhoPV+eQmYQPIeovsMz52a1z FM5cKgh1hF6awQ173WYnewtKAQT/8T/OcCy7TzFHBwESJaCTl246IhD2PClSt1pdshBD /Rk1FGxQVLPrSplCM2cLQCZ6vnvigKev8JcTU982IMe4fsHG63Zu2/XjXBqS+c+uOQvW 9n8+O67IFrn0j18k+Svozk+qWLRk6utA9OYpV6EgU2eVw0Hg9rdakNexyzxywBAEQHgc 08jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZIRXKeXT; 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 k14-v6si16976636pls.477.2018.06.18.19.13.58; Mon, 18 Jun 2018 19:14:13 -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=ZIRXKeXT; 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 S937168AbeFSCNS (ORCPT + 99 others); Mon, 18 Jun 2018 22:13:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:40720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S937005AbeFSCNR (ORCPT ); Mon, 18 Jun 2018 22:13:17 -0400 Received: from dragon (unknown [45.56.152.47]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CBBBB2083A; Tue, 19 Jun 2018 02:13:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1529374396; bh=vM1jmOxGPlNG7JR9nyFBkGrA4M6gC3SgSLUiEojXY0E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZIRXKeXTFZW4Vz/Rzrd9awp4P4/XajcgKY0Gj7esY58AsEcjxfnGcuNALPynjmtK1 dt3TfRF+CXcDQScsWA9srLQwZ6jjZalAsHbiUu5S5dRf5lJW6IKEG5+vVUbJWkB+Ef GaKyCwUtrx/j3BS7ba4RHkcznQigF3uE5NCPoYaw= Date: Tue, 19 Jun 2018 10:12:20 +0800 From: Shawn Guo To: Suzuki K Poulose , Stefan Agner Cc: linux-arm-kernel@lists.infradead.org, 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, Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Subject: Re: [PATCH 15/20] dts: arm: imx7{d,s}: Update coresight binding for hardware ports Message-ID: <20180619021218.GV16091@dragon> References: <1528235011-30691-1-git-send-email-suzuki.poulose@arm.com> <1528235011-30691-16-git-send-email-suzuki.poulose@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1528235011-30691-16-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 Hi Stefan, Can you take a look at the patch? Thanks. Shawn On Tue, Jun 05, 2018 at 10:43:26PM +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 > --- > arch/arm/boot/dts/imx7d.dtsi | 5 ++++- > arch/arm/boot/dts/imx7s.dtsi | 41 ++++++++++++++++++++++++++++++----------- > 2 files changed, 34 insertions(+), 12 deletions(-) > > diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi > index 200714e..5faff17 100644 > --- a/arch/arm/boot/dts/imx7d.dtsi > +++ b/arch/arm/boot/dts/imx7d.dtsi > @@ -87,7 +87,9 @@ > > port { > etm1_out_port: endpoint { > + direction = <1>; > remote-endpoint = <&ca_funnel_in_port1>; > + coresight,hwid = <0>; > }; > }; > }; > @@ -174,8 +176,9 @@ > port@1 { > reg = <1>; > ca_funnel_in_port1: endpoint { > - slave-mode; > + direction = <0>; > remote-endpoint = <&etm1_out_port>; > + coresight,hwid = <1>; > }; > }; > }; > diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi > index 4d42335..8e90915 100644 > --- a/arch/arm/boot/dts/imx7s.dtsi > +++ b/arch/arm/boot/dts/imx7s.dtsi > @@ -151,23 +151,28 @@ > port@0 { > reg = <0>; > replicator_out_port0: endpoint { > + direction = <1>; > remote-endpoint = <&tpiu_in_port>; > + coresight,hwid = <0>; > }; > }; > > port@1 { > reg = <1>; > replicator_out_port1: endpoint { > + direction = <1>; > remote-endpoint = <&etr_in_port>; > + coresight,hwid = <1>; > }; > }; > > /* replicator input port */ > port@2 { > - reg = <0>; > + reg = <2>; > replicator_in_port0: endpoint { > - slave-mode; > + direction = <0>; > remote-endpoint = <&etf_out_port>; > + coresight,hwid = <0>; > }; > }; > }; > @@ -203,16 +208,19 @@ > port@0 { > reg = <0>; > ca_funnel_in_port0: endpoint { > - slave-mode; > + direction = <0>; > remote-endpoint = <&etm0_out_port>; > + coresight,hwid = <0>; > }; > }; > > /* funnel output port */ > port@2 { > - reg = <0>; > + reg = <2>; > ca_funnel_out_port0: endpoint { > + direction = <1>; > remote-endpoint = <&hugo_funnel_in_port0>; > + coresight,hwid = <0>; > }; > }; > > @@ -229,7 +237,9 @@ > > port { > etm0_out_port: endpoint { > + direction = <1>; > remote-endpoint = <&ca_funnel_in_port0>; > + coresight,hwid = <0>; > }; > }; > }; > @@ -248,22 +258,26 @@ > port@0 { > reg = <0>; > hugo_funnel_in_port0: endpoint { > - slave-mode; > + direction = <0>; > remote-endpoint = <&ca_funnel_out_port0>; > + coresight,hwid = <0>; > }; > }; > > port@1 { > reg = <1>; > hugo_funnel_in_port1: endpoint { > - slave-mode; /* M4 input */ > + direction = <0>; /* M4 input */ > + coresight,hwid = <1>; > }; > }; > > port@2 { > - reg = <0>; > + reg = <2>; > hugo_funnel_out_port0: endpoint { > + direction = <1>; > remote-endpoint = <&etf_in_port>; > + coresight,hwid = <0>; > }; > }; > > @@ -284,15 +298,18 @@ > port@0 { > reg = <0>; > etf_in_port: endpoint { > - slave-mode; > + direction = <0>; > remote-endpoint = <&hugo_funnel_out_port0>; > + coresight,hwid = <0>; > }; > }; > > port@1 { > - reg = <0>; > + reg = <1>; > etf_out_port: endpoint { > + direction = <1>; > remote-endpoint = <&replicator_in_port0>; > + coresight,hwid = <0>; > }; > }; > }; > @@ -306,8 +323,9 @@ > > port { > etr_in_port: endpoint { > - slave-mode; > + direction = <0>; > remote-endpoint = <&replicator_out_port1>; > + coresight,hwid = <0>; > }; > }; > }; > @@ -320,8 +338,9 @@ > > port { > tpiu_in_port: endpoint { > - slave-mode; > + direction = <0>; > remote-endpoint = <&replicator_out_port1>; > + coresight,hwid = <0>; > }; > }; > }; > -- > 2.7.4 >