From patchwork Thu Apr 10 10:06:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 3962221 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 44888BFF02 for ; Thu, 10 Apr 2014 11:22:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 82364205F3 for ; Thu, 10 Apr 2014 11:22:42 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 89370204FB for ; Thu, 10 Apr 2014 11:22:41 +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 1WYBvg-0008J4-TH; Thu, 10 Apr 2014 10:09:57 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYBuy-00021U-7i; Thu, 10 Apr 2014 10:09:12 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYBt8-0001n5-9Y for linux-arm-kernel@lists.infradead.org; Thu, 10 Apr 2014 10:07:20 +0000 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3T00JSF82NAR00@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 10 Apr 2014 19:06:23 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.114]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 65.73.09028.F1D66435; Thu, 10 Apr 2014 19:06:23 +0900 (KST) X-AuditID: cbfee68e-b7f566d000002344-e1-53466d1fd06d Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id E3.4C.29263.F1D66435; Thu, 10 Apr 2014 19:06:23 +0900 (KST) Received: from chan.10.32.193.11 ([10.252.81.195]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N3T00J7W82HVA40@mmp1.samsung.com>; Thu, 10 Apr 2014 19:06:23 +0900 (KST) From: Chanwoo Choi To: kgene.kim@samsung.com, t.figa@samsung.com, linux-samsung-soc@vger.kernel.org Subject: [PATCH 17/27] ARM: dts: exynos3250: Add ADC dt node to read analog raw data Date: Thu, 10 Apr 2014 19:06:07 +0900 Message-id: <1397124377-16969-9-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1397122658-16013-1-git-send-email-cw00.choi@samsung.com> References: <1397122658-16013-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHLMWRmVeSWpSXmKPExsWyRsSkSFc+1y3Y4P1EK4vrX56zWnz+0MJu Men+BBaL3gVX2SzONr1ht9j0+BqrxeVdc9gsZpzfx2QxY/JLNov1M16zWOzdOZnRgdtj85J6 j74tqxg9Pm+SC2CO4rJJSc3JLEst0rdL4Mo4NX0HU8ETjop/++eyNzDOYe9i5OSQEDCReLWo nRHCFpO4cG89G4gtJLCUUeJFB1ANB1jNvz0yXYxcQOFFjBK7uucxQThNTBKrlvezgjSwCWhJ 7H9xA6xZRCBA4sfxd2A2s8BNRolj78NAbGGBMIl9qxrAlrEIqEosmL4a7AheAVeJDX2zmCGO kJP4sOcRWJxTwE1i5qKTUAe5SvQ8us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nliSmp2aWpBaBLOFiYNTqoHR5eX70jLTfRr1di9MbcOanyqxW8k8uVYX9Vd62YSFc968 m2z0jYOHzaUuem3PiVsNtuzt3pazW2ru6r5smvH1DItuw+ppCR8/T8m79mxmdsc+kwtT9oSf njRzQsuOCWJd1xM+371+7+IPtlbPsGmz8rcXGk22k99xcW9N/hGdHcwfZM+WlS88psRSnJFo qMVcVJwIAKQWhaDvAgAA 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-20140410_060719_139424_262B1BA3 X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.5 (-------) Cc: hyunhee.kim@samsung.com, sw0312.kim@samsung.com, linux-kernel@vger.kernel.org, yj44.cho@samsung.com, inki.dae@samsung.com, cw00.choi@samsung.com, kyungmin.park@samsung.com, linux-arm-kernel@lists.infradead.org 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=-4.8 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 This patch add ADC (Analog to Digital Converter) dt node to get raw data with IIO subsystem. Usually, ADC is used to check temperature, jack type and so on. Exynos3250 includes ADCv2 which is different from ADCv1 for Exynos4 SoC. Signed-off-by: Chanwoo Choi Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos3250.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index 2013d0d..c5e6917 100644 --- a/arch/arm/boot/dts/exynos3250.dtsi +++ b/arch/arm/boot/dts/exynos3250.dtsi @@ -84,6 +84,17 @@ interrupts = <0 240 0>; }; + adc: adc@126C0000 { + compatible = "samsung,exynos-adc-v2"; + reg = <0x126C0000 0x100>, <0x10020718 0x4>; + interrupts = <0 137 0>; + clock-names = "adc", "sclk_tsadc"; + clocks = <&cmu CLK_TSADC>, <&cmu CLK_SCLK_TSADC>; + #io-channel-cells = <1>; + io-channel-ranges; + status = "disabled"; + }; + serial@13800000 { compatible = "samsung,exynos4210-uart"; reg = <0x13800000 0x100>;