From patchwork Thu Aug 22 10:18:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naveen Krishna Chatradhi X-Patchwork-Id: 2848162 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 23A99BF546 for ; Thu, 22 Aug 2013 10:24:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 03421205FD for ; Thu, 22 Aug 2013 10:24:57 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A7255205F3 for ; Thu, 22 Aug 2013 10:24:55 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VCS4T-0002HQ-Oj; Thu, 22 Aug 2013 10:24:54 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VCS4R-0003ms-MV; Thu, 22 Aug 2013 10:24:51 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VCS4H-0003mD-Gm for linux-arm-kernel@lists.infradead.org; Thu, 22 Aug 2013 10:24:49 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MRX00HRNGVIXKB0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 22 Aug 2013 19:23:43 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.126]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 1F.46.17404.FA6E5125; Thu, 22 Aug 2013 19:23:43 +0900 (KST) X-AuditID: cbfee68d-b7f096d0000043fc-9a-5215e6af9581 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 67.8A.32250.FA6E5125; Thu, 22 Aug 2013 19:23:43 +0900 (KST) Received: from naveen-linux.sisodomain.com ([107.108.83.161]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MRX009S9GVE7400@mmp1.samsung.com>; Thu, 22 Aug 2013 19:23:43 +0900 (KST) From: Naveen Krishna Chatradhi To: kgene.kim@samsung.com, ben-linux@fluff.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: exynos5420/5250: add ADC device tree node Date: Thu, 22 Aug 2013 15:48:11 +0530 Message-id: <1377166691-5118-1-git-send-email-ch.naveen@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1375349321-18646-1-git-send-email-ch.naveen@samsung.com> References: <1375349321-18646-1-git-send-email-ch.naveen@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFLMWRmVeSWpSXmKPExsWyRsSkTnf9M9Egg9OPVCwmrTvAZNG74Cqb xabH11gtZpzfx2SxaNt/ZgdWj7+rXjB77Jx1l91j85J6j74tqxg9Pm+SC2CN4rJJSc3JLEst 0rdL4Mo42jqNteALd8XCs2tYGhifcnYxcnJICJhI/LhyghHCFpO4cG89WxcjF4eQwFJGieYl H1hgig6fns4IkVgElDh1H6qqh0ni2ec2dpAqNgEziYOLVoPZIgKVEs2T/rOC2MwCchKPP34A WyEs4CJxZOs7sKksAqoSH9cdBavnBYpfXvMUqJ4DaJuCxJxJNiBhTgE3iZMfdzCD2EICrhIt T/8yQRzU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2a+VUHtdpruJ/+KtST8vKHzj9K/we6FfsJot/o6KYYvfeu6HARsu3zBa uF/q/mplzj/vo7e/b60T2Fl2fuHh+hVNGomP+d73fUrl2zjP6NWyCR+cDsVHf7kZlHN7q1TN zsVbpb9Ezcq/84dXqEy5OPSrMW/S7+QHS5RYijMSDbWYi4oTASfCSMXbAgAA 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-20130822_062441_784858_BCD4E05A X-CRM114-Status: UNSURE ( 7.08 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -9.7 (---------) Cc: naveenkrishna.ch@gmail.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=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Add ADC device tree node for exynos5420 and exynos5250 Signed-off-by: Naveen Krishna Chatradhi Signed-off-by: Doug Anderson --- arch/arm/boot/dts/exynos5250.dtsi | 11 +++++++++++ arch/arm/boot/dts/exynos5420.dtsi | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 1eec646..518f8cd 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -641,4 +641,15 @@ clocks = <&clock 133>, <&clock 339>; clock-names = "sclk_fimd", "fimd"; }; + + adc: adc@12D10000 { + compatible = "samsung,exynos-adc-v1"; + reg = <0x12D10000 0x100>, <0x10040718 0x4>; + interrupts = <0 106 0>; + clocks = <&clock 303>; + clock-names = "adc"; + #io-channel-cells = <1>; + io-channel-ranges; + status = "disabled"; + }; }; diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 5353e32..0c5c055 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -218,4 +218,15 @@ clocks = <&clock 147>, <&clock 421>; clock-names = "sclk_fimd", "fimd"; }; + + adc: adc@12D10000 { + compatible = "samsung,exynos-adc-v2"; + reg = <0x12D10000 0x100>, <0x10040720 0x4>; + interrupts = <0 106 0>; + clocks = <&clock 270>; + clock-names = "adc"; + #io-channel-cells = <1>; + io-channel-ranges; + status = "disabled"; + }; };