From patchwork Thu Aug 7 18:21:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 35064 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f199.google.com (mail-yk0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 52B6821457 for ; Thu, 7 Aug 2014 18:23:10 +0000 (UTC) Received: by mail-yk0-f199.google.com with SMTP id 79sf13149985ykr.6 for ; Thu, 07 Aug 2014 11:23:10 -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=F1E2HXn4r6tpqvPefFmctzOwTlwvvNJxRcSknvQw2fzvNpIpwt5qrLEH08B2YUAQJa BGwMDDgRkmSOo9r6Taw9aqg8m8tulJUhM80bwFDeZkNIrV0w2AdJkO+JZnJT2a+Lb7F/ I/a9lQNMtE6k0ntderkNiPaUlRCu0EKCFAiU/rCJ5W11aXiCfXKvltDn+SZYh9UMo7Yf xy9XOzHG1jEICnu+sOsf8W+UPHZ5zzYCsYG9ST4yT+DeBQ4wq9mdwhRVET8cnR/0swBm sDWpRX2DCO6VW6Mpv5cZBhSAr0eTwZmG0x6hG1ZwGTee9QqaU2iATdfMc7ZN8ATk8jf6 j5Tw== X-Gm-Message-State: ALoCoQndQrGOpqbxBZ0rwzWYlshq04SyMKhssgAGor4uKDDqBtLoJZtwkRpphkYBS1QiP2KY4NQO X-Received: by 10.236.155.132 with SMTP id j4mr908178yhk.56.1407435790137; Thu, 07 Aug 2014 11:23:10 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.22.240 with SMTP id 103ls223745qgn.28.gmail; Thu, 07 Aug 2014 11:23:10 -0700 (PDT) X-Received: by 10.52.78.65 with SMTP id z1mr1837840vdw.67.1407435790059; Thu, 07 Aug 2014 11:23:10 -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 xw5si2081192vcb.11.2014.08.07.11.23.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Aug 2014 11:23:10 -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 la4so6944928vcb.33 for ; Thu, 07 Aug 2014 11:23:10 -0700 (PDT) X-Received: by 10.220.95.132 with SMTP id d4mr17818618vcn.33.1407435789976; Thu, 07 Aug 2014 11:23:09 -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.37.5 with SMTP id tc5csp50911vcb; Thu, 7 Aug 2014 11:23:07 -0700 (PDT) X-Received: by 10.66.163.65 with SMTP id yg1mr19345581pab.33.1407435770674; Thu, 07 Aug 2014 11:22:50 -0700 (PDT) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by mx.google.com with ESMTPS id ph9si4118893pbb.19.2014.08.07.11.22.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Aug 2014 11:22:50 -0700 (PDT) Received-SPF: pass (google.com: domain of mathieu.poirier@linaro.org designates 209.85.192.172 as permitted sender) client-ip=209.85.192.172; Received: by mail-pd0-f172.google.com with SMTP id ft15so5633698pdb.17 for ; Thu, 07 Aug 2014 11:22:44 -0700 (PDT) X-Received: by 10.68.201.68 with SMTP id jy4mr19246953pbc.64.1407435764197; Thu, 07 Aug 2014 11:22:44 -0700 (PDT) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPSA id x9sm621439pdi.88.2014.08.07.11.22.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Aug 2014 11:22:43 -0700 (PDT) From: mathieu.poirier@linaro.org To: linus.walleij@linaro.org, will.deacon@arm.com, linux@arm.linux.org.uk, robherring2@gmail.com, daniel.thompson@linaro.org Cc: mathieu.poirier@linaro.org, arve@android.com, john.stultz@linaro.org, pratikp@codeaurora.org, varshney@ti.com, Al.Grant@arm.com, jonas.svennebring@avagotech.com, james.king@linaro.org, panchaxari.prasannamurthy@linaro.org, marcin.jabrzyk@gmail.com, r.sengupta@samsung.com, robbelibobban@gmail.com, Tony.Armitstead@arm.com, patches@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/10 v3] coresight: adding support for beagle and beagleXM Date: Thu, 7 Aug 2014 12:21:44 -0600 Message-Id: <1407435706-19441-9-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407435706-19441-1-git-send-email-mathieu.poirier@linaro.org> References: <1407435706-19441-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 {