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: 3927071 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 44A229F2B6 for ; Wed, 2 Apr 2014 07:47:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8260B2022A for ; Wed, 2 Apr 2014 07:47:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A036220220 for ; Wed, 2 Apr 2014 07:47:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751346AbaDBHrm (ORCPT ); Wed, 2 Apr 2014 03:47:42 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:34232 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758026AbaDBHqX (ORCPT ); Wed, 2 Apr 2014 03:46:23 -0400 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>; 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 Cc: kgene.kim@samsung.com, linux@arm.linux.org.uk, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, chow.kim@samsung.com, Pankaj Dubey 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 8JJR4uuviWBVwgI+EvPvvgCzWQRUJV6cegG2nFfAXaJpewtQAwfQPgWJOZNsQMKcAh4Sz5Yc BSsXAip5segOO8hMCYF77BKr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YxMzI0sjMwsjE3Nz0oSVxHkPtloHCgmkJ5akZqemFqQWwWxh4uCU amCcvvHIihMHFe0+yIkwz5tjOXUyH4Nr05rOW0y5HOumbbRbkP55bf4VLwPnS2wnp+ql9ihp c17l3T01w6OM13tXnLX9tzeqq5MMPDS/3dn6QKKBq3DBh+7lpzu3x5S09Mx2alnK9/3XW3fR vJ1b1yhdCPPTbEpkvvU0POSKYuQh/faSO1KVKyOVWIozEg21mIuKEwE7gkYqEwMAAA== 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>; + }; };