From patchwork Mon Oct 20 21:08:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 39083 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A7DFB203C5 for ; Mon, 20 Oct 2014 21:09:34 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id hi2sf62263wib.1 for ; Mon, 20 Oct 2014 14:09:33 -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=20u3xT1xuyDjES4eWg8oVsd9IsRaZ0x8EBY47IwVA8I=; b=TFBcrKy1HBLd7vTLhRvDbmxLedkdxf54LFVtCOXlRxh+cIAtL1hu5SdB86RcBrFEnn wAFqN8IGlRTr8jHRWH2jdyHkLnB7IFGrpxBwW5wmW/lernAVP2m51V05aX/YbTC1uuGf DDjee3xRo3uHvsTeFTbJ5e2p1LHvU4/yDdMmXl+qMy6UgBqsEuVszbsnQ0Y4yN0zlz5U L6ty2B90vP3OnnjkrC6jXAfiiv0NnhqzMU4DxMfA4wx81vufoijpfDo0aXrDNme/yvvR 4D/7pVv8MmYbrVqW8i0nlp0Y7CGndOesFJO7blT2ojU6ki38WitaJYGiZptKVpH8Flwy kOXw== X-Gm-Message-State: ALoCoQleCPAPJmjFVkj+7v1q5n2HYY1HxLEbynDUpYgboo+XoaDLkcEacXRvhA2EzKgreuDNwTjz X-Received: by 10.180.36.176 with SMTP id r16mr2818722wij.7.1413839373840; Mon, 20 Oct 2014 14:09:33 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.9 with SMTP id o9ls423450lao.97.gmail; Mon, 20 Oct 2014 14:09:33 -0700 (PDT) X-Received: by 10.152.36.230 with SMTP id t6mr5749082laj.88.1413839373685; Mon, 20 Oct 2014 14:09:33 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id m8si15998565lam.108.2014.10.20.14.09.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Oct 2014 14:09:33 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by mail-la0-f44.google.com with SMTP id hs14so4760696lab.3 for ; Mon, 20 Oct 2014 14:09:33 -0700 (PDT) X-Received: by 10.112.77.74 with SMTP id q10mr21630334lbw.66.1413839373616; Mon, 20 Oct 2014 14:09:33 -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.84.229 with SMTP id c5csp387995lbz; Mon, 20 Oct 2014 14:09:32 -0700 (PDT) X-Received: by 10.66.144.106 with SMTP id sl10mr29658079pab.96.1413839371235; Mon, 20 Oct 2014 14:09:31 -0700 (PDT) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com. [209.85.220.44]) by mx.google.com with ESMTPS id we1si8911801pab.167.2014.10.20.14.09.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Oct 2014 14:09:31 -0700 (PDT) Received-SPF: pass (google.com: domain of mathieu.poirier@linaro.org designates 209.85.220.44 as permitted sender) client-ip=209.85.220.44; Received: by mail-pa0-f44.google.com with SMTP id et14so5975668pad.17 for ; Mon, 20 Oct 2014 14:09:30 -0700 (PDT) X-Received: by 10.68.249.133 with SMTP id yu5mr8124054pbc.31.1413839357299; Mon, 20 Oct 2014 14:09:17 -0700 (PDT) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPSA id cw5sm9961925pbc.9.2014.10.20.14.09.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Oct 2014 14:09:16 -0700 (PDT) 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 v8 09/11] coresight: adding support for beagle and beagleXM Date: Mon, 20 Oct 2014 15:08:10 -0600 Message-Id: <1413839292-19135-10-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1413839292-19135-1-git-send-email-mathieu.poirier@linaro.org> References: <1413839292-19135-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.44 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 {