From patchwork Wed Mar 12 06:19:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 3815621 Return-Path: X-Original-To: patchwork-linux-arm@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 7954E9F375 for ; Wed, 12 Mar 2014 06:25:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A351320211 for ; Wed, 12 Mar 2014 06:25:40 +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 50DA8201E7 for ; Wed, 12 Mar 2014 06:25:39 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WNcb5-0005zp-Te; Wed, 12 Mar 2014 06:25:00 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WNcWE-0007M9-2u; Wed, 12 Mar 2014 06:19:58 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WNcW0-0007JJ-Tf for linux-arm-kernel@lists.infradead.org; Wed, 12 Mar 2014 06:19:46 +0000 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N2B0055O8880Q10@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 12 Mar 2014 15:19:20 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.116]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 10.21.14803.86CFF135; Wed, 12 Mar 2014 15:19:20 +0900 (KST) X-AuditID: cbfee691-b7efc6d0000039d3-46-531ffc6821ea Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 02.6D.29263.86CFF135; Wed, 12 Mar 2014 15:19:20 +0900 (KST) Received: from chan.10.32.193.11 ([10.252.75.48]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N2B008UY88743B0@mmp2.samsung.com>; Wed, 12 Mar 2014 15:19:20 +0900 (KST) From: Chanwoo Choi To: kgene.kim@samsung.com, t.figa@samsung.com Subject: [PATCHv2 1/5] ARM: dts: exynos4x12: Add ADC's dt data to read raw data Date: Wed, 12 Mar 2014 15:19:12 +0900 Message-id: <1394605156-7768-2-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1394605156-7768-1-git-send-email-cw00.choi@samsung.com> References: <1394605156-7768-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFIsWRmVeSWpSXmKPExsWyRsSkRDfjj3ywwcUfOhbXvzxntZh/5Byr xblXKxktehdcZbM42/SG3WLT42usFpd3zWGzmHF+H5PF7cu8FkuvX2SymDB9LYvFq4NtLBbr Z7xmceD1WDNvDaNHS3MPm8fK5V/YPDYvqffo27KK0ePzJjmPjXNDA9ijuGxSUnMyy1KL9O0S uDJWX1nFVjCNo2LzxilsDYy32boYOTkkBEwkXjb3s0DYYhIX7q0HinNxCAksZZSYdP0/I0zR //VnWCAS0xkl2g+/YIZwGpkk5t17ww5SxSagJbH/xQ2wsSICuhJTZt5hBbGZBY4xSZyY6tDF yMEhLOAvseiYD0iYRUBV4umrI2CbeQVcJO5/mcUMsUxO4sOeR+wg5ZwC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kuJJucD E0VeSbyhsYmZkaWRuaGFkbE5acJK4rwHWq0DhQTSE0tSs1NTC1KLYLYwcXBKNTAWt2S8uuI8 4/ckjV2HEjPyFqs/6nvqHZ0VEvpr2apNv+2mz028+To+zvxl/MRgdYVFvaZXfb9cebW99c6z z/+P2zbwiVcXPN66QfigymY/5RM212NkWIp0LS1Ct19vyHmkwlB2Tsyl8EVZ2Oob7K7JBWV8 G9oCXvR/tVLXnrYu4oo/u8efaBclluKMREMt5qLiRAAB08EECgMAAA== 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-20140312_021945_228063_8E76ABC2 X-CRM114-Status: UNSURE ( 7.46 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.9 (------) Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux@arm.linux.org.uk, pawel.moll@arm.com, swarren@wwwdotorg.org, ijc+devicetree@hellion.org.uk, linux-kernel@vger.kernel.org, Chanwoo Choi , 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.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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)'s dt data to get raw data with IIO subsystem. Usually, ADC is used to check temperature, jack type and so on. Signed-off-by: Chanwoo Choi Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4x12.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi index e0eb6bb..eec1e30 100644 --- a/arch/arm/boot/dts/exynos4x12.dtsi +++ b/arch/arm/boot/dts/exynos4x12.dtsi @@ -80,6 +80,18 @@ }; }; + adc: adc@126C0000 { + compatible = "samsung,exynos-adc-v1"; + reg = <0x126C0000 0x100>, <0x10020718 0x4>; + interrupt-parent = <&combiner>; + interrupts = <10 3>; + clocks = <&clock CLK_TSADC>; + clock-names = "adc"; + #io-channel-cells = <1>; + io-channel-ranges; + status = "disabled"; + }; + pinctrl_2: pinctrl@03860000 { compatible = "samsung,exynos4x12-pinctrl"; reg = <0x03860000 0x1000>;