From patchwork Mon Jul 22 05:38:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 2831030 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 440119F4D4 for ; Mon, 22 Jul 2013 05:39:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 34ED320131 for ; Mon, 22 Jul 2013 05:39:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 99DDB2011C for ; Mon, 22 Jul 2013 05:39:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753691Ab3GVFjE (ORCPT ); Mon, 22 Jul 2013 01:39:04 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:38705 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752984Ab3GVFjE (ORCPT ); Mon, 22 Jul 2013 01:39:04 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MQB001GUOZVT4Q0@mailout2.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 22 Jul 2013 14:39:01 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.116]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id A0.69.08825.575CCE15; Mon, 22 Jul 2013 14:39:01 +0900 (KST) X-AuditID: cbfee68e-b7f276d000002279-69-51ecc5752495 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 9B.A8.32250.475CCE15; Mon, 22 Jul 2013 14:39:01 +0900 (KST) Received: from localhost.localdomain ([10.252.81.149]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MQB00AW7P0YPU80@mmp2.samsung.com>; Mon, 22 Jul 2013 14:39:00 +0900 (KST) From: Chanho Park To: kgene.kim@samsung.com, linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, thomas.abraham@linaro.org, Chanho Park , Kyungmin Park Subject: [PATCH] dts: arm: add arm-pmu node for exynos4412 Date: Mon, 22 Jul 2013 14:38:35 +0900 Message-id: <1374471515-12403-1-git-send-email-chanho61.park@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrILMWRmVeSWpSXmKPExsWyRsSkRLf06JtAg19L2S0u79e26F1wlc3i bNMbdotNj6+xWsw4v4/J4tiMJYwObB53ru1h89i8pN6jb8sqRo/Pm+QCWKK4bFJSczLLUov0 7RK4Mpq/9bAVfGCr+LBnK3MD4zHWLkZODgkBE4nPz66xQ9hiEhfurWcDsYUEljJKtNyr7mLk AKvZdy++i5ELKDydUeLR9vdsEE4bk8SDA7NZQBrYBHQltjx/xQhiiwjYSDRdOMsEUsQsMJtR YtvZOWBThQWsJPZdOAhWxCKgKjH15QGwZl4BT4kPpyczQmxTkJgzyQakV0LgPZvEzdsL2SHq BSS+TT7EAlEjK7HpADPE0ZISB1fcYJnAKLiAkWEVo2hqQXJBcVJ6kZFecWJucWleul5yfu4m RmBwnv73rG8H480D1ocYk4HGTWSWEk3OBwZ3Xkm8obGZkYWpiamxkbmlGWnCSuK8ai3WgUIC 6YklqdmpqQWpRfFFpTmpxYcYmTg4pRoYm+MeLa3ZraJpsP8g32UmJS7pHybFkb2+zonPDO5x LuVYeXvPsdUx70MfLFj92XxCwMbPJcIHD6VX/npYvNUgcz1fXX3MqeikvXpGkdnTpbqZDSoa 17xX7Lotw6j8vTfw/esVp20/rTwvuGZbe1q0bRcHp1aIoI62qfNjSZkMx8ff4xqnKt5RYinO SDTUYi4qTgQAEAm032QCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHIsWRmVeSWpSXmKPExsVy+t9jQd3So28CDb4rWFzer23Ru+Aqm8XZ pjfsFpseX2O1mHF+H5PFsRlLGB3YPO5c28PmsXlJvUffllWMHp83yQWwRDUw2mSkJqakFimk 5iXnp2TmpdsqeQfHO8ebmhkY6hpaWpgrKeQl5qbaKrn4BOi6ZeYArVZSKEvMKQUKBSQWFyvp 22GaEBripmsB0xih6xsSBNdjZIAGEtYwZjR/62Er+MBW8WHPVuYGxmOsXYwcHBICJhL77sV3 MXICmWISF+6tZ+ti5OIQEpjOKPFo+3sop41J4sGB2SwgVWwCuhJbnr9iBLFFBGwkmi6cZQIp YhaYzSix7ewcNpCEsICVxL4LB8GKWARUJaa+PADWzCvgKfHh9GRGiM0KEnMm2Uxg5F7AyLCK UTS1ILmgOCk911CvODG3uDQvXS85P3cTIzj0n0ntYFzZYHGIUYCDUYmHtyHgTaAQa2JZcWXu IUYJDmYlEV7PVUAh3pTEyqrUovz4otKc1OJDjMlAyycyS4km5wPjMq8k3tDYxMzI0sjc0MLI 2Jw0YSVx3gOt1oFCAumJJanZqakFqUUwW5g4OKUaGKM0dz6VCTjiFyh+cTOH/1sGNdnfrwql NxnFvpzoxNY042rwtemZqucD5xxdoZxu+Pggp7HccksZE0/x7nUBsXwXroX2lMuzsgXwzpez D2RKclw7+6TcTqfG6zo+gg/bBA+HP3QRmJBVHSx7Y8nFtQt13/+ddTdGOvLA2s8NgYFNvJe9 sndfVWIpzkg01GIuKk4EAL8qJD7BAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 --- 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>;