From patchwork Wed Apr 2 08:02:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 3927091 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 38FE39F2B6 for ; Wed, 2 Apr 2014 07:48:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6A2022022A for ; Wed, 2 Apr 2014 07:48:26 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6993320220 for ; Wed, 2 Apr 2014 07:48:25 +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 1WVFtA-0004td-6l; Wed, 02 Apr 2014 07:47:13 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WVFsw-0003OE-NH; Wed, 02 Apr 2014 07:46:58 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WVFsh-0003L4-7e for linux-arm-kernel@lists.infradead.org; Wed, 02 Apr 2014 07:46:44 +0000 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3E00EB188BT6D0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 02 Apr 2014 16:45:48 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 61.49.09028.B20CB335; Wed, 02 Apr 2014 16:45:47 +0900 (KST) X-AuditID: cbfee68e-b7f566d000002344-22-533bc02b1f20 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 5E.CA.28157.B20CB335; Wed, 02 Apr 2014 16:45:47 +0900 (KST) Received: from localhost.localdomain ([12.36.165.191]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N3E00D1N8859S70@mmp2.samsung.com>; Wed, 02 Apr 2014 16:45:47 +0900 (KST) From: Pankaj Dubey To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/3] ARM: dts: Add PMU reg node to exynos4212 and exynos4412 Date: Wed, 02 Apr 2014 17:02:57 +0900 Message-id: <1396425778-4379-3-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1396425778-4379-1-git-send-email-pankaj.dubey@samsung.com> References: <1396425778-4379-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMIsWRmVeSWpSXmKPExsVy+t8zQ13tA9bBBlOuGFssm3SXzWL+kXOs Fv1vFrJanHu1ktGid8FVNotNj6+xWlzeNYfNYsb5fUwWty/zWiy9fpHJYtHWL+wWE6avZbFo 3XuE3YHXY828NYweLc09bB6X+3qZPFYu/8LmsWlVJ5vH5iX1Hn1bVjF6fN4kF8ARxWWTkpqT WZZapG+XwJWx72A3c8Emzoptu3rYGxi/sHcxcnJICJhIHPr7kQXCFpO4cG89WxcjF4eQwDJG iaerDjPCFC24fYgFIjGdUeLsjAfMEE4bk8Tc6R+YQKrYBHQlnryfC5YQEWhnlHhyeR0jiMMs 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 GFc1WBxiFOBgVOLhPXDeKliINbGsuDL3EKMEB7OSCC/nJOtgId6UxMqq1KL8+KLSnNTiQ4zJ QEdNZJYSTc4Hpo68knhDYxMzI0sjMwsjE3Nz0oSVxHkPtloHCgmkJ5akZqemFqQWwWxh4uCU amCcvvHIihMHFe0+yIkwz5tjOXUyH4Nr05rOW0y5HOumbbRbkP55bf4VLwPnS2wnp+ql9ihp c17l3T01w6OM13tXnLX9tzeqq5MMPDS/3dn6QKKBq3DBh+7lpzu3x5S09Mx2alnK9/3XW3fR vJ1b1yhdCPPTbEpkvvU0POSKYuQh/faSO1KVKyOVWIozEg21mIuKEwE7gkYqEwMAAA== DLP-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-20140402_034643_515220_6C25234D X-CRM114-Status: UNSURE ( 7.66 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.5 (-------) Cc: mark.rutland@arm.com, kgene.kim@samsung.com, linux@arm.linux.org.uk, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, Pankaj Dubey , robh+dt@kernel.org, galak@codeaurora.org, chow.kim@samsung.com 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.8 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 This patch adds pmu regnode to exynos4212 and exynos4412 dtsi to handle PMU register access via DT. Signed-off-by: Pankaj Dubey --- arch/arm/boot/dts/exynos4212.dtsi | 5 +++++ arch/arm/boot/dts/exynos4412.dtsi | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos4212.dtsi b/arch/arm/boot/dts/exynos4212.dtsi index 3c00e6e..4661ffa 100644 --- a/arch/arm/boot/dts/exynos4212.dtsi +++ b/arch/arm/boot/dts/exynos4212.dtsi @@ -29,4 +29,9 @@ gic: interrupt-controller@10490000 { cpu-offset = <0x8000>; }; + + pmu_system_controller: system-controller@10020000 { + compatible = "samsung,exynos4212-pmu", "syscon"; + reg = <0x10020000 0x5000>; + }; }; diff --git a/arch/arm/boot/dts/exynos4412.dtsi b/arch/arm/boot/dts/exynos4412.dtsi index 15d3c0a..6f4cb22 100644 --- a/arch/arm/boot/dts/exynos4412.dtsi +++ b/arch/arm/boot/dts/exynos4412.dtsi @@ -29,4 +29,9 @@ gic: interrupt-controller@10490000 { cpu-offset = <0x4000>; }; + + pmu_system_controller: system-controller@10020000 { + compatible = "samsung,exynos4412-pmu", "syscon"; + reg = <0x10020000 0x5000>; + }; };