Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp47985imm; Tue, 5 Jun 2018 14:48:30 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI3cl/wGmXIzNVtt08YYMfJGJInQl9kYHJy3Fwc+sq11kUqDuKF7xFuk1h/idmpiPe5ZK46 X-Received: by 2002:a65:4eca:: with SMTP id w10-v6mr281014pgq.13.1528235310841; Tue, 05 Jun 2018 14:48:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528235310; cv=none; d=google.com; s=arc-20160816; b=VJpTd4zaWE8/DILigRnqHeEyGY/rAeuWin/nA8inIfMo8lVUjsDAeSPOZ0k6HlgJ4S UW8wuAyj975ZDVvbXM70v7L7avo8XYmhjl2AIFVBMKYF/tW5L7qaPNAUdbuJ8R1CSWZt Ce7hu6X4zexW+ZcKf15Tw+JWN1fOvqbmKvW9hSENBSMV6zDdwExAsi0Fr26YKcuyxtLs wcpbh1PPV5ziCf9KmSJG+Q6qpr4FrjE7QMdN/AqMwX65ZLV5AtM2n6scUqpyTgzx58BK 5wCPCOGlOaAH5Z566rwgG/lD4BU7wU5u/54toUKuHqqnnHd1wvIas0I/ZK4QSPSCoUwv j/Xg== 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=OLe+Y1cGynC0LpGZSrlEpegudiZHnrVJgTae94Xj1EA=; b=WhnGNjlXChk+AGgdgQFMYnTAFSvYIVwF3lP4nbE0NoCBwmS+Hst/cQ65G38lcUutCj az9bhQehjmjbSZCRX31TNEaa3nEKcHVGkVO6y7ekbbZH4cHlMbEv9POGoH1RhMK1rZbt WVuiTq/XTX72unrs48yIcwOF9LzJtdeJfGhCTwtDWMu2hj2ts+HetlqjDsI3iDLD4e/k V44eaXbYnnhrTuQ2dRpByc3CCeka7k7omdcCUSvg0HXUVwawtDW4ZRRbGvTIjm6X/mhl dWu+aDAcxZl2VfNW3hSn91cMi/R8/hkOhIwHtNK9iJ8j0Vo0mtkaZvujvJPt3EH30Foj uBCA== 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 f5-v6si38492682pgn.453.2018.06.05.14.48.15; Tue, 05 Jun 2018 14:48:30 -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 S932069AbeFEVqo (ORCPT + 99 others); Tue, 5 Jun 2018 17:46:44 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:34640 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752958AbeFEVp2 (ORCPT ); Tue, 5 Jun 2018 17:45:28 -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 B976980D; Tue, 5 Jun 2018 14:45:27 -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 A63123F59D; Tue, 5 Jun 2018 14:45:24 -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 , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Subject: [PATCH 15/20] dts: arm: imx7{d,s}: Update coresight binding for hardware ports Date: Tue, 5 Jun 2018 22:43:26 +0100 Message-Id: <1528235011-30691-16-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 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