From patchwork Sat May 10 06:46:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 4146661 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5283DBFF02 for ; Sat, 10 May 2014 06:32:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 859FC201FA for ; Sat, 10 May 2014 06:32:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (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 AC3BB2017A for ; Sat, 10 May 2014 06:32:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wj0m1-0002oq-CL; Sat, 10 May 2014 06:28:41 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wj0lu-0002ml-BX for linux-arm-kernel@lists.infradead.org; Sat, 10 May 2014 06:28:35 +0000 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5C006BUHYZKDC0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Sat, 10 May 2014 15:28:11 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 77.13.11496.AF6CD635; Sat, 10 May 2014 15:28:10 +0900 (KST) X-AuditID: cbfee691-b7f3e6d000002ce8-57-536dc6fae739 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id E2.93.27725.AF6CD635; Sat, 10 May 2014 15:28:10 +0900 (KST) Received: from localhost.localdomain ([12.36.165.191]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N5C009K0HYTDN70@mmp1.samsung.com>; Sat, 10 May 2014 15:28:10 +0900 (KST) From: Pankaj Dubey To: linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/3] ARM: dts: Add PMU node to exynos4212 and exynos4412 Date: Sat, 10 May 2014 15:46:24 +0900 Message-id: <1399704385-12508-3-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1399704385-12508-1-git-send-email-pankaj.dubey@samsung.com> References: <1399704385-12508-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPLMWRmVeSWpSXmKPExsVy+t8zI91fx3KDDU5etrFYNukum8X8I+dY LXoXXGWz2PT4GqvF5V1z2CxmnN/HZLFo6xd2i9a9R9gt1s94zWKxo2U1iwOXx6ZVnWwem5fU e/RtWcXo8XmTXABLFJdNSmpOZllqkb5dAlfGvoPdzAWbOCu27ephb2D8wt7FyMkhIWAiMbHx HhOELSZx4d56NhBbSGAZo8SfuYkwNQeXLwKKcwHFFzFKzFu7ixmiqI1Jov2yD4jNJqAr8eT9 XGaQIhGBdkaJf1cfgnUwC8xllGhuvwC2TljAW2LD7y1g3SwCqhJr/s1lAbF5BTwkFq94DFTD AbROQWLOJBuQMKeAp8TGj4tZIJZ5SOxoOcQKMlNCYB27xKurBxgh5ghIfJt8iAWiV1Zi0wFm iKslJQ6uuMEygVF4ASPDKkbR1ILkguKk9CJTveL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3dP3vzaYXOy1tyAv1k46W+fImXaz304e8nc5NyQW5GNYPPKh/jvPO9gm/ceGif FNKzXb5q9WKpKOeDRTOFq0wdJ+Tdm3c64NWZj2dPs4mG2Osa31b8Ex/Ztpk94QyDEktxRqKh FnNRcSIAZEdFbvACAAA= 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-20140509_232834_610530_3534A256 X-CRM114-Status: UNSURE ( 7.41 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.7 (-----) Cc: kgene.kim@samsung.com, Pankaj Dubey , t.figa@samsung.com, robh+dt@kernel.org, yg1004.jang@samsung.com, 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=-2.5 required=5.0 tests=BAYES_00,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>; + }; };