From patchwork Wed Oct 24 05:34:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 1635611 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 2A0A93FCF7 for ; Wed, 24 Oct 2012 05:37:31 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TQtdE-0001fo-7F; Wed, 24 Oct 2012 05:35:56 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TQtcq-0001cw-Cc for linux-arm-kernel@lists.infradead.org; Wed, 24 Oct 2012 05:35:33 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MCD00E8UU70QON0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 24 Oct 2012 14:35:24 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-98-50877e1c57c2 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id C8.B4.12699.C1E77805; Wed, 24 Oct 2012 14:35:24 +0900 (KST) Received: from localhost.localdomain ([10.90.51.45]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MCD0053YU6W5670@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 24 Oct 2012 14:35:24 +0900 (KST) From: Chanho Park To: kgene.kim@samsung.com, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 5/5] ARM: EXYNOS: Add arm-pmu DT binding for exynos421x Date: Wed, 24 Oct 2012 14:34:54 +0900 Message-id: <1351056894-5790-6-git-send-email-chanho61.park@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1351056894-5790-1-git-send-email-chanho61.park@samsung.com> References: <1351056894-5790-1-git-send-email-chanho61.park@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPJMWRmVeSWpSXmKPExsVy+t9jQV2ZuvYAg9939Cw2Pb7G6sDosXlJ fQBjFJdNSmpOZllqkb5dAlfGqseb2AoOclRM2yLRwPiJrYuRk0NCwERi44W1jBC2mMSFe+uB 4lwcQgLTGSVebtnNBOGsZZLYfvknM0gVm4CuxJbnr4A6ODhEBFIkruxUAalhFjgA1HD6OjtI jbCAl8Sehe/BprIIqEpc+7iNCcTmFfCQePthGztIr4SAgsScSTYgJqeAp8T5FVUgFUJAFb0P trNMYORdwMiwilE0tSC5oDgpPddIrzgxt7g0L10vOT93EyPY28+kdzCuarA4xCjAwajEw5t4 oi1AiDWxrLgy9xCjBAezkgjv5LtAId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rzNHikBQgLpiSWp 2ampBalFMFkmDk6pBsYZmrVXjOJPSkrdfCrQ+ftkTd7RlInhkyv/iE+0mWPqfNTivFiy6KSO lsJVhev2ZRcvebj45OoaY5v5GoctWdIf53D2KE5r2PlblNGK0Wvj4wkz5KrmX1yjMUGm0mj2 qklVF88Lr/tbduNinFvg8rsO+4xEkxYH32luKWy7XsBV0b6qsUnT0VWJpTgj0VCLuag4EQCN pTnf8gEAAA== X-Spam-Note: CRM114 invocation failed X-Spam-Score: -7.6 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.33 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linux@arm.linux.org.uk, sachin.kamat@linaro.org, will.deacon@arm.com, kyungmin.park@samsung.com, thomas.abraham@linaro.org, ben-linux@fluff.org, Chanho Park X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch adds a arm-pmu node to bind device tree for exynos4210. The exynos4210 and 4212 have two cpus which includes a pmu. In contrast, the exynos4412 has 4 cpus and pmus. We need to define two more pmus for this type board. However, supporting arm-pmu for the exynos4412 will handle it later because there is no dts support for 4412 based board. Signed-off-by: Chanho Park Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4210.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index 214c557..90f9aed 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -42,6 +42,12 @@ <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>; }; + pmu { + compatible = "arm,cortex-a9-pmu"; + interrupt-parent = <&combiner>; + interrupts = <2 2>, <3 2>; + }; + pinctrl_0: pinctrl@11400000 { compatible = "samsung,pinctrl-exynos4210"; reg = <0x11400000 0x1000>;