From patchwork Thu Feb 12 06:55:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 5817341 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E6E1CBF440 for ; Thu, 12 Feb 2015 07:00:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 154C2201DD for ; Thu, 12 Feb 2015 07:00:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (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 3FA3C2017E for ; Thu, 12 Feb 2015 07:00:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YLniw-0000LO-6R; Thu, 12 Feb 2015 06:58:06 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YLniA-00004v-Jt for linux-arm-kernel@lists.infradead.org; Thu, 12 Feb 2015 06:57:21 +0000 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 <0NJN00AG1CMV85E0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 12 Feb 2015 15:56:55 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.114]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id A5.1D.19034.7BE4CD45; Thu, 12 Feb 2015 15:56:55 +0900 (KST) X-AuditID: cbfee691-f79b86d000004a5a-42-54dc4eb79d86 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 07.AA.09430.7BE4CD45; Thu, 12 Feb 2015 15:56:55 +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 <0NJN00MJFCMUFV80@mmp1.samsung.com>; Thu, 12 Feb 2015 15:56:54 +0900 (KST) From: Chanwoo Choi To: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 6/8] arm64: dts: exynos: Add RTC and ADC dt node for Exynos5433 SoC Date: Thu, 12 Feb 2015 15:55:56 +0900 Message-id: <1423724158-23632-7-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 In-reply-to: <1423724158-23632-1-git-send-email-cw00.choi@samsung.com> References: <1423724158-23632-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNIsWRmVeSWpSXmKPExsWyRsSkSHe7350Qg3OXDSwer1nMZPF30jF2 i/fLehgtLu/Xtrj+5Tmrxfwj51gtJt2fwGJx41cbq0X/49fMFpseX2O1uLxrDpvFjPP7gLru /GOzWHr9IpPFqeuf2SyOfzrIYjFj8ks2i5cfT7A4CHmsmbeG0eP3r0mMHptWdbJ5bF5S73Hl RBOrR9+WVYwenzfJBbBHcdmkpOZklqUW6dslcGUs2T+ZteA0d8XnLz/ZGhg3cHYxcnJICJhI bHx4lhXCFpO4cG89WxcjF4eQwFJGiTNnp7LBFL1s/88IkVjEKLH4TRMzSEJIoIlJ4u9KJRCb TUBLYv+LG2ANIgLOEg1TG5lAGpgFmpklbt/aC7ZCWCBC4sKUjewgNouAqsT9df/AbF4BV4m/ rU8YIbYpSCxbPhOsnlPATWJSxxcmiGWuElfu3wc7T0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8CrZ A4V4UxIrq1KL8uOLSnNSiw8xmgJdNZFZSjQ5H5hg8kriDY1NzIwsjcwNLYyMzZXEgZraQoQE 0hNLUrNTUwtSi2D6mDg4pRoYt+zKvPzeYvJqzdLLHBsYv2zflrjcqdxw7+Sf/v8Yzb/13K48 KfTz8yG7LZXPF81ZcqxFSqNlfyXbn5OO2iHxn4TPunIF/3rZLlIieUXi4PkVXRfCeNaemuV6 afex4OZjvi92PHmcFcbtrFfx713gQp7S+qyfTbN2PF2+J+3j0tVXfn49oOW946kSS3FGoqEW c1FxIgC9lePS+AIAAA== 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-20150211_225718_860263_82779765 X-CRM114-Status: UNSURE ( 7.62 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: mark.rutland@arm.com, jh80.chung@samsung.com, arnd@arndb.de, cw00.choi@samsung.com, marc.zyngier@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, a.kesavan@samsung.com, inki.dae@samsung.com, sw0312.kim@samsung.com, devicetree@vger.kernel.org, kgene@kernel.org, sangbae90.lee@samsung.com, olof@lixom.net, chanho61.park@samsung.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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 adds RTC (Real Time Clock) dt node for Exynos5433 SoC and adds ADC dt node for Exynos5433 SoC. The c1b501564c98a94b4(iio: adc: exynos_adc: Add support for exynos7) commit supports the ADC for Exynos7. Exynos5433's ADC IP is the same with Exynos7's ADC IP. Exynos5433 has a little different from ADCv2 on ADC_CON2 register. Exynos5433 don't contain OSEL/ESEL /HIGHF of ADC_CON2. Cc: Kukjin Kim Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 0168786..8e9ca8d 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -852,6 +852,24 @@ clocks = <&xxti>; }; + rtc: rtc@10590000 { + compatible = "samsung,exynos3250-rtc"; + reg = <0x10590000 0x100>; + interrupts = <0 385 0>, <0 386 0>; + status = "disabled"; + }; + + adc: adc@14d10000 { + compatible = "samsung,exynos7-adc"; + reg = <0x14d10000 0x100>; + interrupts = <0 438 0>; + clock-names = "adc"; + clocks = <&cmu_peric CLK_PCLK_ADCIF>; + #io-channel-cells = <1>; + io-channel-ranges; + status = "disabled"; + }; + timer { compatible = "arm,armv8-timer"; interrupts = <1 13 0xff04>,