From patchwork Tue Oct 7 16:24:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 38423 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 63B212057C for ; Tue, 7 Oct 2014 16:25:00 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id a1sf4273971wgh.5 for ; Tue, 07 Oct 2014 09:24:59 -0700 (PDT) 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=ZNt6vbD7XNfNP4ZCMjZe4Y3PPYKZIALUvHEYWqaeYoM=; b=ANZxdqcYSz76NW95sen5PxNfSw9xgfxxA2cmAo+oY8YC/wsAKl5mhdU+DgFd8PcrFx +G3TmfwswcYslf7z6e+cx5pFjn9y3VYDx2jROlGJMQYLt78N89pBwdvvPM7C3lgj8Enb 7oj25uaux9X04E8mJocaCbhCV3wJNRW7tZF/i4dhIWDFv8+qX8lXRQaIqtHX41mft07J LgIXtWHocJi3XY5nj085L8o4ulKASKIkyqhdcH5Z04zc37J8pZh2YhfGVS8Q9mcn3R0j u4jlSSjqDmtwqC7Fj1VK+JVgFIPaNXYBJSfW1FCLiGiymD4Blm7Eib4hkxJdE7sKUtXh VycQ== X-Gm-Message-State: ALoCoQnMH7PT6XTRBQTkOBplXW9FpcvQjjiLbH+Hpjg+1N3pWjX5IvgWikeLzY6/1ekcDD+pTHBm X-Received: by 10.112.140.199 with SMTP id ri7mr204666lbb.17.1412699099576; Tue, 07 Oct 2014 09:24:59 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.42.133 with SMTP id o5ls150042lal.35.gmail; Tue, 07 Oct 2014 09:24:59 -0700 (PDT) X-Received: by 10.112.142.104 with SMTP id rv8mr4903679lbb.59.1412699099213; Tue, 07 Oct 2014 09:24:59 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com [209.85.215.49]) by mx.google.com with ESMTPS id e9si29330129lbc.128.2014.10.07.09.24.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 Oct 2014 09:24:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by mail-la0-f49.google.com with SMTP id q1so6553338lam.8 for ; Tue, 07 Oct 2014 09:24:58 -0700 (PDT) X-Received: by 10.152.19.195 with SMTP id h3mr5343107lae.71.1412699098053; Tue, 07 Oct 2014 09:24:58 -0700 (PDT) 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.130.169 with SMTP id of9csp378424lbb; Tue, 7 Oct 2014 09:24:57 -0700 (PDT) X-Received: by 10.68.213.227 with SMTP id nv3mr4727922pbc.61.1412699095808; Tue, 07 Oct 2014 09:24:55 -0700 (PDT) Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by mx.google.com with ESMTPS id e16si10065664pdf.214.2014.10.07.09.24.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 Oct 2014 09:24:55 -0700 (PDT) Received-SPF: pass (google.com: domain of mathieu.poirier@linaro.org designates 209.85.192.177 as permitted sender) client-ip=209.85.192.177; Received: by mail-pd0-f177.google.com with SMTP id v10so5228449pde.8 for ; Tue, 07 Oct 2014 09:24:55 -0700 (PDT) X-Received: by 10.68.217.225 with SMTP id pb1mr4737234pbc.56.1412699095107; Tue, 07 Oct 2014 09:24:55 -0700 (PDT) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPSA id ms3sm9262439pdb.19.2014.10.07.09.24.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Oct 2014 09:24:54 -0700 (PDT) From: mathieu.poirier@linaro.org To: linux@arm.linux.org.uk, gregkh@linuxfoundation.org Cc: 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 RESEND v7 09/11] coresight: adding support for beagle and beagleXM Date: Tue, 7 Oct 2014 10:24:22 -0600 Message-Id: <1412699064-17376-10-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412699064-17376-1-git-send-email-mathieu.poirier@linaro.org> References: <1412699064-17376-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.49 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 1becefc..eec73d8 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 {