From patchwork Fri Apr 25 11:54:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 4060041 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 F0B539F271 for ; Fri, 25 Apr 2014 12:03:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 38128203A9 for ; Fri, 25 Apr 2014 12:03:30 +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 518E02039D for ; Fri, 25 Apr 2014 12:03:29 +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 1WdeoP-0005wp-Ex; Fri, 25 Apr 2014 12:01:01 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WdeR8-0003sV-6o for linux-arm-kernel@lists.infradead.org; Fri, 25 Apr 2014 11:36:58 +0000 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N4L00MX648YAL30@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 25 Apr 2014 20:36:34 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.48]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id BA.39.09952.2C84A535; Fri, 25 Apr 2014 20:36:34 +0900 (KST) X-AuditID: cbfee690-b7fcd6d0000026e0-e1-535a48c25f36 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id B9.75.27725.2C84A535; Fri, 25 Apr 2014 20:36:34 +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 <0N4L00K0Z48QLC00@mmp1.samsung.com>; Fri, 25 Apr 2014 20:36:33 +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 v2 3/5] ARM: dts: Add PMU node to exynos4212 and exynos4412 Date: Fri, 25 Apr 2014 20:54:15 +0900 Message-id: <1398426857-5097-4-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1398426857-5097-1-git-send-email-pankaj.dubey@samsung.com> References: <1396425778-4379-1-git-send-email-pankaj.dubey@samsung.com> <1398426857-5097-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpikeLIzCtJLcpLzFFi42I5/e+Zge4hj6hgg5fPBSyWTbrLZjH/yDlW i94FV9ksNj2+xmpxedccNosZ5/cxWSza+oXdonXvEXaL9TNes1jsaFnN4sDlsWlVJ5vH5iX1 Hn1bVjF6fN4kF8ASxWWTkpqTWZZapG+XwJWx4s1K9oIlXBXfF/9ibGC8xdHFyMkhIWAisfPL cSYIW0ziwr31bF2MXBxCAssYJRavecAOU/S2/yIjRGIRo8SBE5ehqtqYJLZu/8wIUsUmoCvx 5P1cZpCEiEA7o8S/qw/BqpgF5jJKNLdfAJslLOAt8bt/ExuIzSKgKvH/52uwbl4Bd4mmnkes XYwcQPsUJOZMsgEJcwp4SJyfsY4dYlsr0NA5n8HukBBYxy5x+OJsZohBAhLf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ebXtHO2vO0yrO/Op0wottmft+1x6DpN ttD0jKnTNk3W1tWuv7m4yUGZq3TLfHPz7R1LAhQE1yhO8z02+/v0PEHeutoJh1O6Huxje7Jk 6fK5f7pSTU92pFacXWntO1FlvmD1n7jrXHfXLavbYXze+AK73c3GXK0lx7wLQ+1ElViKMxIN tZiLihMB4IjtF/ICAAA= 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-20140425_043658_486261_EB69147E X-CRM114-Status: UNSURE ( 7.38 ) 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 | 6 ++++++ arch/arm/boot/dts/exynos4412.dtsi | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/exynos4212.dtsi b/arch/arm/boot/dts/exynos4212.dtsi index 3c00e6e..b1d4768 100644 --- a/arch/arm/boot/dts/exynos4212.dtsi +++ b/arch/arm/boot/dts/exynos4212.dtsi @@ -29,4 +29,10 @@ gic: interrupt-controller@10490000 { cpu-offset = <0x8000>; }; + + pmu_system_controller: system-controller@10020000 { + compatible = "samsung,exynos4212-pmu", "syscon"; + reg = <0x10020000 0x5000>; + samsung,syscon-phandle = <&pmu_system_controller>; + }; }; diff --git a/arch/arm/boot/dts/exynos4412.dtsi b/arch/arm/boot/dts/exynos4412.dtsi index 15d3c0a..6152e70 100644 --- a/arch/arm/boot/dts/exynos4412.dtsi +++ b/arch/arm/boot/dts/exynos4412.dtsi @@ -29,4 +29,10 @@ gic: interrupt-controller@10490000 { cpu-offset = <0x4000>; }; + + pmu_system_controller: system-controller@10020000 { + compatible = "samsung,exynos4412-pmu", "syscon"; + reg = <0x10020000 0x5000>; + samsung,syscon-phandle = <&pmu_system_controller>; + }; };