From patchwork Mon Nov 3 18:07:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 40071 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5353924530 for ; Mon, 3 Nov 2014 18:08:34 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id h11sf3079893wiw.7 for ; Mon, 03 Nov 2014 10:08:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=20u3xT1xuyDjES4eWg8oVsd9IsRaZ0x8EBY47IwVA8I=; b=b48I+odzJ+WdBcMo22z8F9T8vppnmRysESBPBt2N1L3wbZDlpwAfg6YLWURYDIoeYq 67iY5r5O/z9mkipNMNrxfRfOitu/Mc1yxPqrPALWLybwsjutOXxr9rsQxkPpyIpweOsi vzeJ0KKOKOh3fFcjK9UhK9Mn9bpltqrUm1DZDk1G4SO5bROwT44TxiWZtM0MMG8PLi9F Wfz0miE/iD6+ip2HzxKBjIzKrnxkJx4a3vgvaFP2L/1PkwKugjleM/4Dg3BoTaA5PEa6 6MpFTlj9QDN3stMaf+Vye5Urp4mHO9ttLUvRnvxt9MmMNkQh5rK5t2pwzilUbRVnk0W1 +lOA== X-Gm-Message-State: ALoCoQnmqR4UhkNI8th5B/HKnt3dOMoaz4Y8tiyWBrvLc/Ac7IKf2uBzK1BzELN9mu//WN1oZm3c X-Received: by 10.152.26.72 with SMTP id j8mr7619133lag.3.1415038113588; Mon, 03 Nov 2014 10:08:33 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.103 with SMTP id l7ls504314laf.6.gmail; Mon, 03 Nov 2014 10:08:33 -0800 (PST) X-Received: by 10.152.28.134 with SMTP id b6mr54083270lah.12.1415038113429; Mon, 03 Nov 2014 10:08:33 -0800 (PST) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id z2si33431374lae.116.2014.11.03.10.08.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Nov 2014 10:08:33 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by mail-la0-f52.google.com with SMTP id pv20so8066493lab.39 for ; Mon, 03 Nov 2014 10:08:33 -0800 (PST) X-Received: by 10.112.12.35 with SMTP id v3mr52703260lbb.80.1415038113330; Mon, 03 Nov 2014 10:08:33 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp328lbc; Mon, 3 Nov 2014 10:08:32 -0800 (PST) X-Received: by 10.66.254.195 with SMTP id ak3mr2358268pad.150.1415038105112; Mon, 03 Nov 2014 10:08:25 -0800 (PST) Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com. [209.85.220.42]) by mx.google.com with ESMTPS id md3si15887294pdb.96.2014.11.03.10.08.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Nov 2014 10:08:25 -0800 (PST) Received-SPF: pass (google.com: domain of mathieu.poirier@linaro.org designates 209.85.220.42 as permitted sender) client-ip=209.85.220.42; Received: by mail-pa0-f42.google.com with SMTP id bj1so12619251pad.15 for ; Mon, 03 Nov 2014 10:08:24 -0800 (PST) X-Received: by 10.70.2.65 with SMTP id 1mr43868948pds.13.1415038104207; Mon, 03 Nov 2014 10:08:24 -0800 (PST) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPSA id ca1sm17825525pdb.13.2014.11.03.10.08.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Nov 2014 10:08:22 -0800 (PST) From: mathieu.poirier@linaro.org To: gregkh@linuxfoundation.org Cc: linux@arm.linux.org.uk, pratikp@codeaurora.org, varshney@ti.com, Al.Grant@arm.com, jonas.svennebring@avagotech.com, james.king@linaro.org, kaixu.xia@linaro.org, marcin.jabrzyk@gmail.com, r.sengupta@samsung.com, robbelibobban@gmail.com, patches@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, mathieu.poirier@linaro.org Subject: [PATCH v9 09/12] coresight: adding support for beagle and beagleXM Date: Mon, 3 Nov 2014 11:07:43 -0700 Message-Id: <1415038066-22423-10-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415038066-22423-1-git-send-email-mathieu.poirier@linaro.org> References: <1415038066-22423-1-git-send-email-mathieu.poirier@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mathieu.poirier@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Mathieu Poirier Currently supporting ETM and ETB. Support for TPIU and SDTI are yet to be added. Signed-off-by: Mathieu Poirier --- arch/arm/boot/dts/omap3-beagle-xm.dts | 28 ++++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-beagle.dts | 28 ++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts b/arch/arm/boot/dts/omap3-beagle-xm.dts index 06a8aec..25f7b0a 100644 --- a/arch/arm/boot/dts/omap3-beagle-xm.dts +++ b/arch/arm/boot/dts/omap3-beagle-xm.dts @@ -145,6 +145,34 @@ }; }; }; + + etb@5401b000 { + compatible = "arm,coresight-etb10", "arm,primecell"; + reg = <0x5401b000 0x1000>; + + coresight-default-sink; + clocks = <&emu_src_ck>; + clock-names = "apb_pclk"; + port { + etb_in: endpoint { + slave-mode; + remote-endpoint = <&etm_out>; + }; + }; + }; + + etm@54010000 { + compatible = "arm,coresight-etm3x", "arm,primecell"; + reg = <0x54010000 0x1000>; + + clocks = <&emu_src_ck>; + clock-names = "apb_pclk"; + port { + etm_out: endpoint { + remote-endpoint = <&etb_in>; + }; + }; + }; }; &omap3_pmx_wkup { diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts index a9aae88..c792391 100644 --- a/arch/arm/boot/dts/omap3-beagle.dts +++ b/arch/arm/boot/dts/omap3-beagle.dts @@ -140,6 +140,34 @@ }; }; }; + + etb@540000000 { + compatible = "arm,coresight-etb10", "arm,primecell"; + reg = <0x5401b000 0x1000>; + + coresight-default-sink; + clocks = <&emu_src_ck>; + clock-names = "apb_pclk"; + port { + etb_in: endpoint { + slave-mode; + remote-endpoint = <&etm_out>; + }; + }; + }; + + etm@54010000 { + compatible = "arm,coresight-etm3x", "arm,primecell"; + reg = <0x54010000 0x1000>; + + clocks = <&emu_src_ck>; + clock-names = "apb_pclk"; + port { + etm_out: endpoint { + remote-endpoint = <&etb_in>; + }; + }; + }; }; &omap3_pmx_wkup {