From patchwork Tue Oct 28 11:18:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhilash Kesavan X-Patchwork-Id: 5175401 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 97841C11AC for ; Tue, 28 Oct 2014 11:24:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C3A0B201ED for ; Tue, 28 Oct 2014 11:24:11 +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 04EAC20211 for ; Tue, 28 Oct 2014 11:24:11 +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 1Xj4rA-00062M-SK; Tue, 28 Oct 2014 11:22:32 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xj4r4-0005mK-1e for linux-arm-kernel@lists.infradead.org; Tue, 28 Oct 2014 11:22:26 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NE500AN5JKSS650@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 28 Oct 2014 20:22:04 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id C4.CC.18484.C5C7F445; Tue, 28 Oct 2014 20:22:04 +0900 (KST) X-AuditID: cbfee68f-f791c6d000004834-41-544f7c5caf6f Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 7F.AA.20081.C5C7F445; Tue, 28 Oct 2014 20:22:04 +0900 (KST) Received: from abhilash-ubuntu.sisodomain.com ([107.108.73.92]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NE500HJQJFER800@mmp1.samsung.com>; Tue, 28 Oct 2014 20:22:03 +0900 (KST) From: Abhilash Kesavan To: linux-arm-kernel@lists.infradead.org, s.nawrocki@samsung.com Subject: [PATCH v3 5/5] clk: samsung: exynos7: add gate clock for ADC block Date: Tue, 28 Oct 2014 16:48:55 +0530 Message-id: <1414495135-25588-6-git-send-email-a.kesavan@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1414495135-25588-1-git-send-email-a.kesavan@samsung.com> References: <1414495135-25588-1-git-send-email-a.kesavan@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrILMWRmVeSWpSXmKPExsWyRsSkVjemxj/EYEOjoMWmx9dYLWac38dk cfhNO6vFql1/GB1YPHbOusvusXlJvUffllWMHp83yQWwRHHZpKTmZJalFunbJXBlTN/PVbCf q2L+a/MGxlccXYwcHBICJhLPnwR3MXICmWISF+6tZ+ti5OIQEljKKPG9+QEbRMJE4urnBmaI xCJGiUVv17JDOH1MEisvHWEBqWIT0JNY8O8rM8hUEQEHidOtgiBhZgEbidWX5jOB2MIC3hJ9 +zeygJSwCKhKfL0UDxLmFXCVON42gQniHgWJOZNsQMKcAm4ST3u+MYPYQkAlnTPfMYFslRD4 zSax4c5aRpAEi4CAxLfJh1ggemUlNh1ghjhZUuLgihssExiFFzAyrGIUTS1ILihOSi8y1itO zC0uzUvXS87P3cQIDNnT/57172C8e8D6EKMAB6MSD6/BQ78QIdbEsuLK3EOMpkAbJjJLiSbn Ay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9Y+nbyqf ExcuxCpdUmqTfEGJpTgj0VCLuag4EQCS45J6nwIAAA== 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-20141028_042226_237580_47A9E084 X-CRM114-Status: UNSURE ( 9.41 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.6 (-----) Cc: linux-samsung-soc@vger.kernel.org, tomasz.figa@gmail.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=-2.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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 Add clock support for the ADC interface in Exynos7. Signed-off-by: Abhilash Kesavan --- drivers/clk/samsung/clk-exynos7.c | 2 ++ include/dt-bindings/clock/exynos7-clk.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos7.c b/drivers/clk/samsung/clk-exynos7.c index 17e5cf4..ea4483b 100644 --- a/drivers/clk/samsung/clk-exynos7.c +++ b/drivers/clk/samsung/clk-exynos7.c @@ -486,6 +486,8 @@ static struct samsung_gate_clock peric0_gate_clks[] __initdata = { ENABLE_PCLK_PERIC0, 14, 0, 0), GATE(PCLK_UART0, "pclk_uart0", "mout_aclk_peric0_66_user", ENABLE_PCLK_PERIC0, 16, 0, 0), + GATE(PCLK_ADCIF, "pclk_adcif", "mout_aclk_peric0_66_user", + ENABLE_PCLK_PERIC0, 20, 0, 0), GATE(PCLK_PWM, "pclk_pwm", "mout_aclk_peric0_66_user", ENABLE_PCLK_PERIC0, 21, 0, 0), diff --git a/include/dt-bindings/clock/exynos7-clk.h b/include/dt-bindings/clock/exynos7-clk.h index f255bb7..8e4681b0 100644 --- a/include/dt-bindings/clock/exynos7-clk.h +++ b/include/dt-bindings/clock/exynos7-clk.h @@ -55,7 +55,8 @@ #define PCLK_HSI2C11 9 #define PCLK_PWM 10 #define SCLK_PWM 11 -#define PERIC0_NR_CLK 12 +#define PCLK_ADCIF 12 +#define PERIC0_NR_CLK 13 /* PERIC1 */ #define PCLK_UART1 1