From patchwork Fri Aug 9 10:41:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 2841866 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3EA7B9F271 for ; Fri, 9 Aug 2013 10:42:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 37DC6202F7 for ; Fri, 9 Aug 2013 10:42:34 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 25E38202F0 for ; Fri, 9 Aug 2013 10:42:33 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V7k9O-0003aL-IA; Fri, 09 Aug 2013 10:42:30 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V7k9M-0001Fu-Bo; Fri, 09 Aug 2013 10:42:28 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V7k9I-0001FJ-MT for linux-arm-kernel@lists.infradead.org; Fri, 09 Aug 2013 10:42:26 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MR90032RF20DLM0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 09 Aug 2013 19:42:00 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.114]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id D0.6F.17404.877C4025; Fri, 09 Aug 2013 19:42:00 +0900 (KST) X-AuditID: cbfee68d-b7f096d0000043fc-60-5204c778d80c Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id A4.0A.31505.877C4025; Fri, 09 Aug 2013 19:42:00 +0900 (KST) Received: from localhost.localdomain ([10.252.81.149]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MR9006GVF1XVI10@mmp1.samsung.com>; Fri, 09 Aug 2013 19:42:00 +0900 (KST) From: Chanho Park To: kgene.kim@samsung.com Subject: [PATCH-RESEND] ARM: dts: Add arm-pmu node for exynos4412 Date: Fri, 09 Aug 2013 19:41:54 +0900 Message-id: <1376044914-1759-1-git-send-email-chanho61.park@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrELMWRmVeSWpSXmKPExsWyRsSkSLfiOEuQwe0VxhaX92tb9C64ymZx tukNu8Wmx9dYLWac38dkcWzGEkYHNo871/aweWxeUu/Rt2UVo8fnTXIBLFFcNimpOZllqUX6 dglcGc3fetgKPrBVfNizlbmB8RhrFyMnh4SAicTEb0/ZIGwxiQv31oPZQgJLGSVOX8uAqVlz YydQPRdQfBGjxJ2+94wQThuTRO+kDewgVWwCuhJbnr9iBLFFBCQlmhr+MIMUMQvsY5T4s+4E E0hCWMBR4seLjWA2i4CqxPM/r8DO4BXwkHh97hlLFyMH0DoFiTmTbEB6JQQ+s0ms2N7FCFEv IPFt8iGoGlmJTQeYIa6TlDi44gbLBEbBBYwMqxhFUwuSC4qT0osM9YoTc4tL89L1kvNzNzEC w/P0v2e9OxhvH7A+xJgMNG4is5Rocj4wvPNK4g2NzYwsTE1MjY3MLc1IE1YS51VrsQ4UEkhP LEnN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-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130809_064224_959408_7B1EF6DA X-CRM114-Status: UNSURE ( 6.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.9 (------) Cc: Chanho Park , linux-samsung-soc@vger.kernel.org, thomas.abraham@linaro.org, Kyungmin Park , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The Exynos4412 has 4 cpus and each has a performance counter. Thus, we should define 4 interrupts which are combined by irq-combiner for arm pmu. Signed-off-by: Chanho Park Signed-off-by: Kyungmin Park Tested-by: Tushar Behera --- arch/arm/boot/dts/exynos4412.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412.dtsi b/arch/arm/boot/dts/exynos4412.dtsi index e743e67..cfad655 100644 --- a/arch/arm/boot/dts/exynos4412.dtsi +++ b/arch/arm/boot/dts/exynos4412.dtsi @@ -35,6 +35,12 @@ <0 107 0>, <0 108 0>, <0 48 0>, <0 42 0>; }; + pmu { + compatible = "arm,cortex-a9-pmu"; + interrupt-parent = <&combiner>; + interrupts = <2 2>, <3 2>, <18 2>, <19 2>; + }; + mct@10050000 { compatible = "samsung,exynos4412-mct"; reg = <0x10050000 0x800>;