From patchwork Thu Sep 27 10:28:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmavathi Venna X-Patchwork-Id: 1512831 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 692073FC71 for ; Thu, 27 Sep 2012 10:29:05 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1THBHZ-0003Lm-5e; Thu, 27 Sep 2012 10:25:26 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1THBG8-0002aX-2b for linux-arm-kernel@lists.infradead.org; Thu, 27 Sep 2012 10:23:57 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MB000MCY7JEX0E0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 27 Sep 2012 19:23:55 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.122]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 7B.B5.03860.B3924605; Thu, 27 Sep 2012 19:23:55 +0900 (KST) X-AuditID: cbfee61b-b7f2b6d000000f14-35-5064293b475e Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id AA.B5.03860.B3924605; Thu, 27 Sep 2012 19:23:55 +0900 (KST) Received: from padma-linuxpc.sisodomain.com ([107.108.83.35]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MB000LQ47J9RS40@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 27 Sep 2012 19:23:55 +0900 (KST) From: Padmavathi Venna To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 4/5] ARM: S5PV210: Avoid passing the clks through platform data Date: Thu, 27 Sep 2012 15:58:25 +0530 Message-id: <1348741706-29497-5-git-send-email-padma.v@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1348741706-29497-1-git-send-email-padma.v@samsung.com> References: <1348741706-29497-1-git-send-email-padma.v@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrNLMWRmVeSWpSXmKPExsWyRsSkStdaMyXA4NU6TYtNj6+xOjB6bF5S H8AYxWWTkpqTWZZapG+XwJVx6tBExoKbPBU3D7xhbWDs5upi5OSQEDCRuPdjExOELSZx4d56 ti5GLg4hgaWMEs8WbWaEKZr5/y8jRGI6o8T1LQeYIZytTBKT7m0GauHgYBPQkWg56wJiigh4 Syy/pghSwizQziix/vF9sEHCAv4SX2YsZQexWQRUJfqmPWEDsXkFnCXmTdoNdYWCxLGpX1lB bE4BF4lZH++C2UJANbsfnmCF6BWQ+Db5EAvILgkBWYlNEOdICFxnk9izahU7xBxJiYMrbrBM YBRewMiwilE0tSC5oDgpPddIrzgxt7g0L10vOT93EyMwBE//eya9g3FVg8UhRgEORiUe3gD3 5AAh1sSy4srcQ4wSHMxKIrxRqikBQrwpiZVVqUX58UWlOanFhxh9gC6ZyCwlmpwPjI+8knhD YxNzU2NTSyMjM1NTHMJK4rzCnwIDhATSE0tSs1NTC1KLYMYxcXBKNTBmzN+ychLnrjnPdJd7 S5S98DyX0P1b7XNmvaJF1RLfxozezOTrF3eFuZc+q/vdcsJ2xb+XJ/Xzerk2zTqspKK7SExc fmr45FsFESVej26v19sYesrofLt9xIX03CqOPU82mG5a6p67WfFr+IEuObZDv3MeG26okqnq M933LLX0wJbGwB03lfmUWIozEg21mIuKEwHM4GvubgIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupikeLIzCtJLcpLzFFi42I5/e+xoK61ZkqAwYf9IhabHl9jdWD02Lyk PoAxqoHRJiM1MSW1SCE1Lzk/JTMv3VbJOzjeOd7UzMBQ19DSwlxJIS8xN9VWycUnQNctMwdo qpJCWWJOKVAoILG4WEnfDtOE0BA3XQuYxghd35AguB4jAzSQsIYx49ShiYwFN3kqbh54w9rA 2M3VxcjJISFgIjHz/19GCFtM4sK99WxdjFwcQgLTGSWubznADOFsZZKYdG8zUIaDg01AR6Ll rAuIKSLgLbH8miJICbNAO6PE+sf3wQYJC/hLfJmxlB3EZhFQleib9oQNxOYVcJaYN2k3E8Qy BYljU7+ygticAi4Ssz7eBbOFgGp2PzzBOoGRdwEjwypG0dSC5ILipPRcI73ixNzi0rx0veT8 3E2M4AB/Jr2DcVWDxSFGAQ5GJR7eAPfkACHWxLLiytxDjBIczEoivFGqKQFCvCmJlVWpRfnx RaU5qcWHGH2ArprILCWanA+MvrySeENjE3NTY1NLEwsTM0scwkrivMKfAgOEBNITS1KzU1ML UotgxjFxcEo1MK5iW//U7rXG9p3VjY3ObQ2Td2db9G0Tz1y5pFTk3535Imo9H7+wxajGfTr6 ZGbjpQvJ7/x2KrMbmwgKTvfTdFfU72m58fv+xoRHC6edOMWUGXV/um7hg+ijd1ckrWLdNf3P Eg7RjOy7cgJP5m8L/8Y0vWWR09WjDZIWzXtipU59NWLUtXAPOqPEUpyRaKjFXFScCAAlVIhU nQIAAA== X-CFilter-Loop: Reflected X-Spam-Note: CRM114 invocation failed X-Spam-Score: -7.7 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.25 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.8 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: kgene.kim@samsung.com, padma.v@samsung.com, sbkim73@samsung.com, sangsu4u.park@samsung.com, ben-linux@fluff.org, olofj@google.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org I2S controller has an internal mux for RCLK source clks. The list of source clk names were passed through platform data in non-dt case. The variable holding the list of RCLK source clk names is not required, as the list of clks need to be registered with clkdev using generic connection id. This is required as part of adding DT support for I2S controller driver. Signed-off-by: Padmavathi Venna --- arch/arm/mach-s5pv210/dev-audio.c | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/arch/arm/mach-s5pv210/dev-audio.c b/arch/arm/mach-s5pv210/dev-audio.c index 8367749..ae8631c 100644 --- a/arch/arm/mach-s5pv210/dev-audio.c +++ b/arch/arm/mach-s5pv210/dev-audio.c @@ -20,11 +20,6 @@ #include #include -static const char *rclksrc[] = { - [0] = "busclk", - [1] = "i2sclk", -}; - static int s5pv210_cfg_i2s(struct platform_device *pdev) { /* configure GPIO for i2s port */ @@ -52,7 +47,6 @@ static struct s3c_audio_pdata i2sv5_pdata = { .i2s = { .quirks = QUIRK_PRI_6CHAN | QUIRK_SEC_DAI | QUIRK_NEED_RSTCLR, - .src_clk = rclksrc, .idma_addr = S5PV210_AUDSS_INT_MEM, }, }, @@ -75,18 +69,8 @@ struct platform_device s5pv210_device_iis0 = { }, }; -static const char *rclksrc_v3[] = { - [0] = "iis", - [1] = "audio-bus", -}; - static struct s3c_audio_pdata i2sv3_pdata = { .cfg_gpio = s5pv210_cfg_i2s, - .type = { - .i2s = { - .src_clk = rclksrc_v3, - }, - }, }; static struct resource s5pv210_iis1_resource[] = {