From patchwork Thu Sep 11 15:49:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 37264 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f197.google.com (mail-ig0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E272020491 for ; Thu, 11 Sep 2014 15:49:56 +0000 (UTC) Received: by mail-ig0-f197.google.com with SMTP id h18sf4690372igc.0 for ; Thu, 11 Sep 2014 08:49:56 -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=GOiyn76Ja0Fqfc1W2/rUPt/4vizC7QqKk2us+PLOYNw=; b=mY7ujFppvXn7vM2W/DcWDrIGlvCAwwgWKns9yNH+TpmIDfhJUrezriar8KqZ6655Kg al7UMbB3vE1I3+bXN2YhZ1x9EkcAMU0njKTqLwGJAj6I2cZjyRymaB3Tf5hOlRHCSG59 ITonEVsygtpJqbSuMQXnRofDM8C1ubRfMftJtT2pusIiPKFTIEyFy5IGcuxfifU0xryX JdmM5tWFMjKLLT7UH2xVZXhaLQXTa88+9QjVd1egjOAanAjQFDt9CgA8vJUnnKeZLj2L wZNahveiBiTf1aPLier3lwS9USoMxF94D/8cPYsnislamIjMVAvfkUpLk+MwraDLDFPw 9cTQ== X-Gm-Message-State: ALoCoQkdhRwZdhAsi9Yvfj1kRTXWX4urX/4tz3sL1U/lBQGF72OyO06TpTnZVHholgDv1cpzlSYR X-Received: by 10.182.129.37 with SMTP id nt5mr917990obb.8.1410450596555; Thu, 11 Sep 2014 08:49:56 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.28.9 with SMTP id 9ls208964qgy.52.gmail; Thu, 11 Sep 2014 08:49:56 -0700 (PDT) X-Received: by 10.220.161.136 with SMTP id r8mr1372541vcx.21.1410450596405; Thu, 11 Sep 2014 08:49:56 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id v9si646716vcs.20.2014.09.11.08.49.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Sep 2014 08:49:56 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id hy10so6104834vcb.33 for ; Thu, 11 Sep 2014 08:49:56 -0700 (PDT) X-Received: by 10.52.231.65 with SMTP id te1mr913571vdc.86.1410450596309; Thu, 11 Sep 2014 08:49:56 -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.221.45.67 with SMTP id uj3csp612813vcb; Thu, 11 Sep 2014 08:49:55 -0700 (PDT) X-Received: by 10.66.139.200 with SMTP id ra8mr2720746pab.69.1410450595252; Thu, 11 Sep 2014 08:49:55 -0700 (PDT) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by mx.google.com with ESMTPS id yo4si2474737pab.117.2014.09.11.08.49.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Sep 2014 08:49:55 -0700 (PDT) Received-SPF: pass (google.com: domain of mathieu.poirier@linaro.org designates 209.85.220.48 as permitted sender) client-ip=209.85.220.48; Received: by mail-pa0-f48.google.com with SMTP id hz1so12767294pad.35 for ; Thu, 11 Sep 2014 08:49:54 -0700 (PDT) X-Received: by 10.70.24.133 with SMTP id u5mr2794022pdf.87.1410450594745; Thu, 11 Sep 2014 08:49:54 -0700 (PDT) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPSA id d8sm1379475pdl.94.2014.09.11.08.49.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Sep 2014 08:49:54 -0700 (PDT) From: mathieu.poirier@linaro.org To: will.deacon@arm.com, 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, panchaxari.prasannamurthy@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, dsaxena@linaro.org, mathieu.poirier@linaro.org Subject: [PATCH 09/11 v6] coresight: adding support for beagle and beagleXM Date: Thu, 11 Sep 2014 09:49:16 -0600 Message-Id: <1410450558-12358-10-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1410450558-12358-1-git-send-email-mathieu.poirier@linaro.org> References: <1410450558-12358-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.220.174 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 3c3e6da..a151daf 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 {