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: 4059391 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 1C6989F271 for ; Fri, 25 Apr 2014 11:37:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5E1EC20397 for ; Fri, 25 Apr 2014 11:37:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 75A6620165 for ; Fri, 25 Apr 2014 11:37:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751663AbaDYLgk (ORCPT ); Fri, 25 Apr 2014 07:36:40 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:16194 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752121AbaDYLgf (ORCPT ); Fri, 25 Apr 2014 07:36:35 -0400 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>; 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 Cc: kgene.kim@samsung.com, robh+dt@kernel.org, t.figa@samsung.com, chow.kim@samsung.com, yg1004.jang@samsung.com, Pankaj Dubey 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+OJsZohBAhLfJh9igWiWldh0 gBnibkmJgytusExgFF7AyLCKUTS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TNk3W1tWuv7m4yUGZq3TLfHPz7R1LAhQE1yhO8z02+/v0PEHeutoJh1O6Huxje7Jk 6fK5f7pSTU92pFacXWntO1FlvmD1n7jrXHfXLavbYXze+AK73c3GXK0lx7wLQ+1ElViKMxIN tZiLihMB4IjtF/ICAAA= 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=-7.5 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 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>; + }; };