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: 4146581 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 90BE7C0ACC for ; Sat, 10 May 2014 06:28:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D5B2E2026C for ; Sat, 10 May 2014 06:28:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EFF9B20263 for ; Sat, 10 May 2014 06:28:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752845AbaEJG2P (ORCPT ); Sat, 10 May 2014 02:28:15 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:13803 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751127AbaEJG2M (ORCPT ); Sat, 10 May 2014 02:28:12 -0400 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>; 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 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 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 iKslJQ6uuMEygVF4ASPDKkbR1ILkguKk9CJTveLE3OLSvHS95PzcTYyQwJ+4g/H+AetDjMlA 4yYy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GNYPPKh/jvPO9gm/ceGif FNKzXb5q9WKpKOeDRTOFq0wdJ+Tdm3c64NWZj2dPs4mG2Osa31b8Ex/Ztpk94QyDEktxRqKh FnNRcSIAZEdFbvACAAA= 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 | 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>; + }; };