Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp46635imm; Tue, 5 Jun 2018 14:46:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIx6ir4oXm0BNcLayKumfTYB4LmGGafYu2Ipm/hPDx88U8OH/JKFRydbqGtj5mrEXO5AC3L X-Received: by 2002:a62:3fdd:: with SMTP id z90-v6mr330157pfj.216.1528235209758; Tue, 05 Jun 2018 14:46:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528235209; cv=none; d=google.com; s=arc-20160816; b=sP9SbWCjw30DAzzUeklHNOc+XRupxmHHLoVkyWHtv8tO5SL1cUE703fT301YzY+sVg 3t5et6Ize5+Wbblqcy0OCEvcJ3nTl2zo/oxT2Sn6uYXf+9KKBHBCUvK6M9/FtTfy1Ms7 7opgrISjBCrfPFZ37HB7JAo7aehDb/nAQYjcIwP4hAg26GwvcEHEQsagLWuHaCg4z/3E 2qL5lO0RMm0V1/gctB/tCNalMREcuzXyrSEwR9WRc/TNxB9XLuFjbpsoilqtqawbTpAe rT2WfMCDQxvufvsAHYVDCzol/pAXbEqgyo4JUrn/YZyh24aqXMRhyJC0FyLAjB4Gl0ud wIdQ== 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=K+STfjDi3hlktkFIceCl7xOfbHJfUHOE6Wx2h3xst+w=; b=efi36n+bRAFf9n4b03ETKfE+Q520gKZp2ZyzOGcbnBB49Gkqm2alL1u/RFvUgY3tAx Vr7DE1QF5Zkpzt6CX4eevaUE7oCIVh9HF1OESc5qSGF9w8nJ6Z8qXgbiQPMrj161TS3v kLtanmfwuEX0MDmKGTF+xjVHNVyv90HZqVOramk2KHxDpIixDwDv56KTfYZ3HMk34rJC cwYulDl5V/1YgN5VQxTIMDPZjgKm6OqAsvKO/s1Yk3oob90Qpd25MmCbIyrawyDBYnTh Z1pb3i6ULqbnJGuZOd7oV5uZGprDWPP4hkF6DmYZTQBseBTXuyih96BTLs4+6zHoZEgO gHWA== 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 n1-v6si12316956pfd.128.2018.06.05.14.46.35; Tue, 05 Jun 2018 14:46:49 -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 S1753093AbeFEVqE (ORCPT + 99 others); Tue, 5 Jun 2018 17:46:04 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:34722 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753032AbeFEVpk (ORCPT ); Tue, 5 Jun 2018 17:45:40 -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 EC4131529; Tue, 5 Jun 2018 14:45:39 -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 4EE863F59D; Tue, 5 Jun 2018 14:45:37 -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 , Linus Walleij Subject: [PATCH 19/20] dts: ste-dbx5x0: Update coresight bindings for hardware port Date: Tue, 5 Jun 2018 22:43:30 +0100 Message-Id: <1528235011-30691-20-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: Linus Walleij Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm/boot/dts/ste-dbx5x0.dtsi | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/ste-dbx5x0.dtsi b/arch/arm/boot/dts/ste-dbx5x0.dtsi index 2310a4e..a02312a 100644 --- a/arch/arm/boot/dts/ste-dbx5x0.dtsi +++ b/arch/arm/boot/dts/ste-dbx5x0.dtsi @@ -69,7 +69,9 @@ cpu = <&CPU0>; port { ptm0_out_port: endpoint { + direction = <1>; remote-endpoint = <&funnel_in_port0>; + coresight,hwid = <0>; }; }; }; @@ -83,7 +85,9 @@ cpu = <&CPU1>; port { ptm1_out_port: endpoint { + direction = <1>; remote-endpoint = <&funnel_in_port1>; + coresight,hwid = <0>; }; }; }; @@ -102,25 +106,29 @@ port@0 { reg = <0>; funnel_out_port: 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>; }; }; }; @@ -139,22 +147,27 @@ 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 = <&etb_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_port>; + coresight,hwid = <0>; }; }; }; @@ -168,8 +181,9 @@ clock-names = "apb_pclk", "atclk"; port { tpiu_in_port: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&replicator_out_port0>; + coresight,hwid = <0>; }; }; }; @@ -182,8 +196,9 @@ clock-names = "apb_pclk", "atclk"; port { etb_in_port: endpoint { - slave-mode; + direction = <0>; remote-endpoint = <&replicator_out_port1>; + coresight,hwid = <0>; }; }; }; -- 2.7.4