From patchwork Thu Mar 5 05:38:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 5943911 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 1C867BF440 for ; Thu, 5 Mar 2015 05:45:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 45AF320364 for ; Thu, 5 Mar 2015 05:45:18 +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 5CC942034A for ; Thu, 5 Mar 2015 05:45:17 +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 1YTOYO-0002IX-R4; Thu, 05 Mar 2015 05:42:36 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YTOV6-0006kM-5f for linux-arm-kernel@lists.infradead.org; Thu, 05 Mar 2015 05:39:15 +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 <0NKQ00K1O509WQ20@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 05 Mar 2015 14:38:33 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.114]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 0F.8E.19034.9DBE7F45; Thu, 05 Mar 2015 14:38:33 +0900 (KST) X-AuditID: cbfee691-f79b86d000004a5a-f0-54f7ebd9da72 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 84.05.09430.9DBE7F45; Thu, 05 Mar 2015 14:38:33 +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 <0NKQ0090W508EE50@mmp1.samsung.com>; Thu, 05 Mar 2015 14:38:32 +0900 (KST) From: Chanwoo Choi To: kgene@kernel.org Subject: [PATCH v5 5/9] arm64: dts: exynos: Add RTC and ADC dt node for Exynos5433 SoC Date: Thu, 05 Mar 2015 14:38:27 +0900 Message-id: <1425533911-14800-6-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 In-reply-to: <1425533911-14800-1-git-send-email-cw00.choi@samsung.com> References: <1425533911-14800-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFIsWRmVeSWpSXmKPExsWyRsSkSPfm6+8hBoeWGVs8XrOYyeLvpGPs Fu+X9TBaXN6vbXH9y3NWi/lHzrFa7Pp7n9Fi0v0JLBY3frWxWvQ/fs1ssenxNVaLy7vmsFnM OL8PqPXOPzaLpdcvMlmcuv4ZKDb5JZvFy48nWByEPNbMW8Po8fvXJEaPTas62Tw2L6n3uHKi idWjb8sqRo/Pm+QC2KO4bFJSczLLUov07RK4Mlofr2AsOM1d0ds/lbGBcQNnFyMnh4SAicTL Az2sELaYxIV769m6GLk4hASWMko8fDqXCabowcmpzBCJRYwSv2b2sEM4TUwS675uYASpYhPQ ktj/4gZQOweHiICIxOwLXCA1zALrmSXuPD8JViMsECFxdeFnsHUsAqoSz5tWM4HU8wq4Skw9 oQ6xTEFi2fKZYCWcAm4SG2bvYQOxhYBKFizazAQyU0LgK7vEvMd/GCHmCEh8m3yIBWSOhICs xK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U4kOMpkBHTWSWEk3OB6aXvJJ4Q2MTMyNLI3NDCyNjcyVxXiX7thAh gfTEktTs1NSC1CKYPiYOTqkGxobbQlN2WkXffJx2SUf+9fNTZ+f+Y5iW5MGSFzrtDlPxHTN7 wayKupDuBM6FL9VPxBdyt7fk3GEI23LA4erFx89j17kvNHbuMGW653RN4WCaznmL4/xPfv0M ZXfke/ptY//6w4t/uRc4WEkJdd6VW6Vey1LndfpI85nQSdHSpxh4LkTNFZeMU2Ipzkg01GIu Kk4EAF/4Avz3AgAA 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-20150304_213912_460985_60B7DFB4 X-CRM114-Status: UNSURE ( 7.87 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: mark.rutland@arm.com, jh80.chung@samsung.com, linux-samsung-soc@vger.kernel.org, arnd@arndb.de, cw00.choi@samsung.com, marc.zyngier@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, a.kesavan@samsung.com, inki.dae@samsung.com, sw0312.kim@samsung.com, devicetree@vger.kernel.org, olof@lixom.net, chanho61.park@samsung.com, linux-arm-kernel@lists.infradead.org, ideal.song@samsung.com 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 0cf8a02..760ad81 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -816,6 +816,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>,