From patchwork Tue Mar 10 01:57:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 5973651 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 EB491BF440 for ; Tue, 10 Mar 2015 01:58:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1183520394 for ; Tue, 10 Mar 2015 01:58:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 256902035B for ; Tue, 10 Mar 2015 01:58:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752260AbbCJB56 (ORCPT ); Mon, 9 Mar 2015 21:57:58 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:40638 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752401AbbCJB5u (ORCPT ); Mon, 9 Mar 2015 21:57:50 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NKZ00LWY447F210@mailout1.samsung.com>; Tue, 10 Mar 2015 10:57:43 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.116]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id A9.C6.18167.79F4EF45; Tue, 10 Mar 2015 10:57:43 +0900 (KST) X-AuditID: cbfee690-f79ab6d0000046f7-e2-54fe4f9704d2 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id A1.36.20081.79F4EF45; Tue, 10 Mar 2015 10:57:43 +0900 (KST) Received: from chan.10.32.193.11 ([10.252.81.195]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NKZ00ETZ446UH20@mmp2.samsung.com>; Tue, 10 Mar 2015 10:57:42 +0900 (KST) From: Chanwoo Choi To: kgene@kernel.org Cc: mark.rutland@arm.com, marc.zyngier@arm.com, arnd@arndb.de, olof@lixom.net, catalin.marinas@arm.com, will.deacon@arm.com, inki.dae@samsung.com, chanho61.park@samsung.com, sw0312.kim@samsung.com, jh80.chung@samsung.com, ideal.song@samsung.com, cw00.choi@samsung.com, a.kesavan@samsung.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 5/9] arm64: dts: exynos: Add RTC and ADC dt node for Exynos5433 SoC Date: Tue, 10 Mar 2015 10:57:31 +0900 Message-id: <1425952655-21654-6-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 In-reply-to: <1425952655-21654-1-git-send-email-cw00.choi@samsung.com> References: <1425952655-21654-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNIsWRmVeSWpSXmKPExsWyRsSkRHe6/78Qg1P/lSwer1nMZPF30jF2 i/fLehgtLu/Xtrj+5Tmrxfwj51gtdv29z2gx6f4EFosbv9pYLfofv2a22PT4GqvF5V1z2Cxm nN8H1HrnH5vF0usXmSxOXf8MFJv8ks3i5ccTLA5CHmvmrWH0+P1rEqPHplWdbB6bl9R7XDnR xOrRt2UVo8fnTXIB7FFcNimpOZllqUX6dglcGbM+v2EuWMld0bloP2MD41TOLkZODgkBE4ln K3awQNhiEhfurWfrYuTiEBJYyiixpa2dEabo2/QOqMR0RolpiyazQjhNTBKzl/9jA6liE9CS 2P/iBpDNwSEiICIx+wIXSA2zwHpmiTvPT4JNEha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85P3cTIziKn0ntYFzZYHGIUYCDUYmHl8HkX4gQa2JZcWXuIUYJDmYlEV4JLaAQ b0piZVVqUX58UWlOavEhRlOgqyYyS4km5wMTTF5JvKGxiZmRpZG5oYWRsbmSOK+SfVuIkEB6 YklqdmpqQWoRTB8TB6dUA+PSc3XK5wOiLS379r+NSDpWW7PmEpfZnmcF/1h6u+fcLDpk0sby ivnelP3Rsw7rbmvq8XU+Oz1Y8E7Ek7Obr37fcWedZcH6ePupB+feuM28f88q+XN5f/gKOOe3 Pe2aqTEpxjpPK2PHsyC5t4yrLMLMebv//5nT7pYrq8P5ZcVMlescPs73khKUWIozEg21mIuK EwFeB1sW+AIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 fa27bb8..99aa51e 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -815,6 +815,24 @@ clock-names = "clkout16"; 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 {