Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp47029imm; Tue, 5 Jun 2018 14:47:21 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIOtzoz7g3ztRhdcR13x5a7N2x5kGyyQ+YISPxK9+vz1XfoYhtyngf/OaZ+WlCjJYFiaOdb X-Received: by 2002:a65:640d:: with SMTP id a13-v6mr294714pgv.154.1528235241189; Tue, 05 Jun 2018 14:47:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528235241; cv=none; d=google.com; s=arc-20160816; b=euaUqohkvWLt5yKjvoE+8XMud/FaBsJ3QbsoGlwclQXfrT2GsHR4XmK/OPma6tGq+6 qYU557oDFbJ5jH6Rjc2EQ5aLmlD+HoPyF7lxEzE21nywBVS1SSOVV3WM3MiPEoyxezMW cuVztkI7KqRkYPItcfypjgHF8Q9AHdZvmFnQy/zpDhDu/2sX4DNn25+RP0BdvffjmkJG XamYBxOhbgQGJikxmSBrfvYCJNMUGVfYe5N91FFWxDlrXKea9QOe8Sd3Onr9QmpAlKWg QL5FtHETD9p0W6FCMjgzvqzixo+ruPICyB/zd6FjHUGICky1BxzfOS+A4DpcKlZ9ok6a /p4Q== 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=CDs0xiLx+c9pZwQmbliRvLVptVGLRESBeKSHMPXDUag=; b=HcvSJObsUh5uVQ2HW+xzQPnQWhnynN51LvDMZ0NIQYIH+xkTna7G03PJleHQXHMMhE yA4c6xNFFEbOy/VHT5J7gwkQLhy8t9BtNy7j1vQM7p4swBO3Tdnq8hiAQYHaZx96KG1b LWvYLr5/yll7Ck90mF60TaKwnST76Kq6NmSEx1BT22jsdICCbrZKOOzfOU5QJPg5Ehq9 kJFQr5J2hUDETKRWhyg48Emn7Bl3HNeeMce1GZF6YCQ/L/WC1B/ZmYYKLcWHJXO+2ApV R+4JPtlXEBJwLov1RkLvYLax8ajPB+5nsNPos70nBweH3mY63RnEXS+lC/HWKi7YRYFE fnfg== 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 v61-v6si50107870plb.499.2018.06.05.14.47.07; Tue, 05 Jun 2018 14:47:21 -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 S1753063AbeFEVpp (ORCPT + 99 others); Tue, 5 Jun 2018 17:45:45 -0400 Received: from foss.arm.com ([217.140.101.70]:34734 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752559AbeFEVpn (ORCPT ); Tue, 5 Jun 2018 17:45:43 -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 02C8D15BF; Tue, 5 Jun 2018 14:45:43 -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 35E233F59D; Tue, 5 Jun 2018 14:45:40 -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 , Liviu Dudau , Lorenzo Pieralisi Subject: [PATCH 20/20] dts: tc2: Update coresight bindings for hardware ports Date: Tue, 5 Jun 2018 22:43:31 +0100 Message-Id: <1528235011-30691-21-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 new coresight bindings Cc: Liviu Dudau Cc: Sudeep Holla Cc: Lorenzo Pieralisi Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts | 48 ++++++++++++++++++++++-------- 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts b/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts index a4c7713..407693e 100644 --- a/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts +++ b/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts @@ -394,8 +394,9 @@ clock-names = "apb_pclk"; port { etb_in_port: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&replicator_out_port0>; + coresight,hwid = <0>; }; }; }; @@ -408,8 +409,9 @@ clock-names = "apb_pclk"; port { tpiu_in_port: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&replicator_out_port1>; + coresight,hwid = <0>; }; }; }; @@ -428,23 +430,28 @@ port@0 { reg = <0>; replicator_out_port0: endpoint { + direction = <1>; remote-endpoint = <&etb_in_port>; + coresight,hwid = <0>; }; }; port@1 { reg = <1>; replicator_out_port1: endpoint { + direction = <1>; remote-endpoint = <&tpiu_in_port>; + coresight,hwid = <1>; }; }; /* replicator input port */ port@2 { - reg = <0>; + reg = <2>; replicator_in_port0: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&funnel_out_port0>; + coresight,hwid = <0>; }; }; }; @@ -464,33 +471,38 @@ port@0 { reg = <0>; funnel_out_port0: endpoint { + direction = <1>; remote-endpoint = <&replicator_in_port0>; + coresight,hwid = <0>; }; }; /* funnel input ports */ port@1 { - reg = <0>; + reg = <1>; funnel_in_port0: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&ptm0_out_port>; + coresight,hwid = <0>; }; }; port@2 { - reg = <1>; + reg = <2>; funnel_in_port1: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&ptm1_out_port>; + coresight,hwid = <1>; }; }; port@3 { - reg = <2>; + reg = <3>; funnel_in_port2: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&etm0_out_port>; + coresight,hwid = <2>; }; }; @@ -499,16 +511,18 @@ port@4 { reg = <4>; funnel_in_port4: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&etm1_out_port>; + coresight,hwid = <4>; }; }; port@5 { reg = <5>; funnel_in_port5: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&etm2_out_port>; + coresight,hwid = <5>; }; }; }; @@ -523,7 +537,9 @@ clock-names = "apb_pclk"; port { ptm0_out_port: endpoint { + direction = <1>; remote-endpoint = <&funnel_in_port0>; + coresight,hwid = <0>; }; }; }; @@ -537,7 +553,9 @@ clock-names = "apb_pclk"; port { ptm1_out_port: endpoint { + direction = <1>; remote-endpoint = <&funnel_in_port1>; + coresight,hwid = <0>; }; }; }; @@ -551,7 +569,9 @@ clock-names = "apb_pclk"; port { etm0_out_port: endpoint { + direction = <1>; remote-endpoint = <&funnel_in_port2>; + coresight,hwid = <0>; }; }; }; @@ -565,7 +585,9 @@ clock-names = "apb_pclk"; port { etm1_out_port: endpoint { + direction = <1>; remote-endpoint = <&funnel_in_port4>; + coresight,hwid = <0>; }; }; }; @@ -579,7 +601,9 @@ clock-names = "apb_pclk"; port { etm2_out_port: endpoint { + direction = <1>; remote-endpoint = <&funnel_in_port5>; + coresight,hwid = <0>; }; }; }; -- 2.7.4