From patchwork Mon Oct 8 02:17:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 1563471 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 9A6393FD9C for ; Mon, 8 Oct 2012 02:20:28 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TL2vQ-0002mb-Mj; Mon, 08 Oct 2012 02:18:32 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TL2ua-0002Vi-0A for linux-arm-kernel@lists.infradead.org; Mon, 08 Oct 2012 02:17:41 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MBJ00AU6YCR9QB0@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 08 Oct 2012 11:17:31 +0900 (KST) X-AuditID: cbfee61a-b7f726d000000ec7-b9-507237bbb364 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id FC.2E.03783.BB732705; Mon, 08 Oct 2012 11:17:31 +0900 (KST) Received: from localhost.localdomain ([10.90.51.45]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MBJ00IX1YD3KJK0@mmp1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 08 Oct 2012 11:17:31 +0900 (KST) From: Chanho Park To: kgene.kim@samsung.com, ben-linux@fluff.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v4 5/5] ARM: EXYNOS: Add arm-pmu DT binding for exynos421x Date: Mon, 08 Oct 2012 11:17:10 +0900 Message-id: <1349662630-11607-6-git-send-email-chanho61.park@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1349662630-11607-1-git-send-email-chanho61.park@samsung.com> References: <1349662630-11607-1-git-send-email-chanho61.park@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIJMWRmVeSWpSXmKPExsVy+t9jAd3d5kUBBqf/WlhsenyN1YHRY/OS +gDGKC6blNSczLLUIn27BK6MVY83sRUc5KiYtkWigfETWxcjJ4eEgInE6zczoWwxiQv31gPZ XBxCAosYJfZN/8kO4axlktg9bQozSBWbgK7EluevGEFsEYFKiYPT21lAipgFVjNKfNq1gAUk ISzgJfF89R12EJtFQFXiybbHTCA2r4CnxKT3nUBxDqB1ChJzJtmAhDmBynvuX2cFsYWASl7u 7GCawMi7gJFhFaNoakFyQXFSeq6hXnFibnFpXrpecn7uJkawx59J7WBc2WBxiFGAg1GJh/eD XlGAEGtiWXFl7iFGCQ5mJRHeBvPCACHelMTKqtSi/Pii0pzU4kOM0hwsSuK8zR4pAUIC6Ykl qdmpqQWpRTBZJg5OqQZGH1fV8s/f2vYHznmZ86yI92yu7JY7YWW6T5M8p6dd3LX17QHeuVMV rgUIfy4W23yu3F3vtIV/AOO1AsHn6/yOyPdcm7T8/Tb1o6HmkjO3brv9imeB8EJZpcWs2j0n d6glOJnkvSkLlnk8896e22t7ClY+kphg9+L/cuX87eVsK+VlFsakWyk6K7EUZyQaajEXFScC AFAQl1X0AQAA X-Spam-Note: CRM114 invocation failed X-Spam-Score: -9.0 (---------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-9.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.24 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -2.1 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, 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>;