From patchwork Tue Sep 30 16:58:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 38174 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 99C292032C for ; Tue, 30 Sep 2014 16:59:26 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id hi2sf172678wib.5 for ; Tue, 30 Sep 2014 09:59:25 -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=CLaz0HYbzfMeMO2NLv3TKS+fEFj+7Ru+yyoKkXkBDyGDTpGufpkg5c/itkwGV88sxf oF6Yk2jP6XnYdmuCx8bgHt+X0OE9UBAHubDSh/4OBag9M7LbZ6zft4IVzpZY10KqehfD SOePgIaBL/7yWFLZrYNZzJxFOSDzmcmEHNT4y7d8FYYRIPVr2DkQtYIkgOiljWJeQQ4G HvwHxa3n1bD4irEsGqy7/B9SpLzWfy5d9vj40AQKZ8+4rnmMgnMj+UWn1j/vsK8l8UPc v9t9SDyG/whbGOqi/W01GxFx0goRI+PHAN0JDWspKaDx5LZT1jIbW/Tmla0vftXptQSb rvHg== X-Gm-Message-State: ALoCoQlVlab7toLDs6ms0yGkzQMdVcL8wY5+mvGDF48EjfBUT9ygT2maZ0gMyVkxXfaedxlyxwyg X-Received: by 10.112.162.138 with SMTP id ya10mr345795lbb.21.1412096365774; Tue, 30 Sep 2014 09:59:25 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.135 with SMTP id k7ls63129lah.78.gmail; Tue, 30 Sep 2014 09:59:25 -0700 (PDT) X-Received: by 10.152.202.135 with SMTP id ki7mr44041355lac.16.1412096365671; Tue, 30 Sep 2014 09:59:25 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx.google.com with ESMTPS id um10si21418936lbb.117.2014.09.30.09.59.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Sep 2014 09:59:25 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by mail-la0-f54.google.com with SMTP id gm9so2940417lab.13 for ; Tue, 30 Sep 2014 09:59:25 -0700 (PDT) X-Received: by 10.112.62.200 with SMTP id a8mr45503932lbs.34.1412096365563; Tue, 30 Sep 2014 09:59:25 -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 of9csp384966lbb; Tue, 30 Sep 2014 09:59:24 -0700 (PDT) X-Received: by 10.66.141.39 with SMTP id rl7mr72071033pab.8.1412096363913; Tue, 30 Sep 2014 09:59:23 -0700 (PDT) Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by mx.google.com with ESMTPS id ta5si27541813pac.90.2014.09.30.09.59.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Sep 2014 09:59:23 -0700 (PDT) Received-SPF: pass (google.com: domain of mathieu.poirier@linaro.org designates 209.85.220.53 as permitted sender) client-ip=209.85.220.53; Received: by mail-pa0-f53.google.com with SMTP id kq14so7987108pab.12 for ; Tue, 30 Sep 2014 09:59:23 -0700 (PDT) X-Received: by 10.68.223.103 with SMTP id qt7mr72558975pbc.9.1412096363223; Tue, 30 Sep 2014 09:59:23 -0700 (PDT) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPSA id fo4sm15649083pbb.12.2014.09.30.09.59.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Sep 2014 09:59:22 -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 v7 09/11] coresight: adding support for beagle and beagleXM Date: Tue, 30 Sep 2014 10:58:53 -0600 Message-Id: <1412096335-18672-10-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412096335-18672-1-git-send-email-mathieu.poirier@linaro.org> References: <1412096335-18672-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.54 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 {