From patchwork Thu Sep 27 10:28:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmavathi Venna X-Patchwork-Id: 1512821 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 781893FC71 for ; Thu, 27 Sep 2012 10:28:37 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1THBI0-0003bA-VA; Thu, 27 Sep 2012 10:25:53 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1THBGC-0002ec-A1 for linux-arm-kernel@lists.infradead.org; Thu, 27 Sep 2012 10:24:02 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MB0001II7JFQBH0@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 27 Sep 2012 19:23:59 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.123]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id FB.03.03783.F3924605; Thu, 27 Sep 2012 19:23:59 +0900 (KST) X-AuditID: cbfee61a-b7f726d000000ec7-bb-5064293f948d Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 6B.03.03783.F3924605; Thu, 27 Sep 2012 19:23:59 +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:59 +0900 (KST) From: Padmavathi Venna To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 5/5] ARM: Exynos: Avoid passing the clks through platform data Date: Thu, 27 Sep 2012 15:58:26 +0530 Message-id: <1348741706-29497-6-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+NgFrrFLMWRmVeSWpSXmKPExsWyRsSkWtdeMyXA4NhNUYtNj6+xOjB6bF5S H8AYxWWTkpqTWZZapG+XwJXRPPMNW8Ehnoqni9+zNDB+5uxi5OCQEDCR+H6DrYuRE8gUk7hw bz2QzcUhJLCUUeL0gnZmiISJxJNrLawQiemMEv/3LICq2sokcevvJ0aQSWwCOhItZ11ATBEB b4nl1xRBSpgF2hkl1j++zwgySFjAT+Lc0a0sIDaLgKpE66zjYAt4BZwlug9fZIFYpiBxbOpX VhCbU8BFYtbHu2C2EFDN7ocnWCF6BSS+TT7EAvGArMSmA8wguyQErrNJrPs1mR1ijqTEwRU3 WCYwCi9gZFjFKJpakFxQnJSea6hXnJhbXJqXrpecn7uJERiAp/89k9rBuLLB4hCjAAejEg9v gHtygBBrYllxZe4hRgkOZiUR3ijVlAAh3pTEyqrUovz4otKc1OJDjD5Al0xklhJNzgdGR15J vKGxibmpsamlkZGZqSkOYSVxXuFPgQFCAumJJanZqakFqUUw45g4OKUaGF3V6+69d1Bh38Rx fd/FZ3LbbBZN0+CvsD31/Zp1Ja/R9b5S52WifzuVzk2wnndmSdHKuU+60z5dF/Tam+c+e5LY dudHBUVTr+ku2zDh8hS/4LTChusr3+h6fqqafN4k6CPT9Kyfv9pdWR8kdH5+tMjuxUO1oNZ+ /jSuC2fcma7qHTjWF8sXt0aJpTgj0VCLuag4EQCZjTjvbQIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupikeLIzCtJLcpLzFFi42I5/e+xoK69ZkqAQcNCHotNj6+xOjB6bF5S H8AY1cBok5GamJJapJCal5yfkpmXbqvkHRzvHG9qZmCoa2hpYa6kkJeYm2qr5OIToOuWmQM0 VUmhLDGnFCgUkFhcrKRvh2lCaIibrgVMY4Sub0gQXI+RARpIWMOY0TzzDVvBIZ6Kp4vfszQw fubsYuTkkBAwkXhyrYUVwhaTuHBvPVsXIxeHkMB0Ron/exZAOVuZJG79/cTYxcjBwSagI9Fy 1gXEFBHwllh+TRGkhFmgnVFi/eP7jCCDhAX8JM4d3coCYrMIqEq0zjrODGLzCjhLdB++yAKx TEHi2NSvYIs5BVwkZn28C2YLAdXsfniCdQIj7wJGhlWMoqkFyQXFSem5hnrFibnFpXnpesn5 uZsYwQH+TGoH48oGi0OMAhyMSjy8Ae7JAUKsiWXFlbmHGCU4mJVEeKNUUwKEeFMSK6tSi/Lj i0pzUosPMfoAXTWRWUo0OR8YfXkl8YbGJuamxqaWJhYmZpY4hJXEeYU/BQYICaQnlqRmp6YW pBbBjGPi4JRqYDxt16l7Lmadzrr5s++tn5axJoWvwd2KL+rK1U/XCqZ8+t/D9UB3y5Ujs4vr g59Pe37ozbmIlxqvhK5NmifN+GBZ0sVU3WadXdoxlVnsZZUPjopzXq2w9dS5+CfntLfZq/MO 920U7TreJS5p+VWnNE3wD8tmjj1ndizedLtvZQ3vha0h34Ut7j9WYinOSDTUYi4qTgQA+vS9 KJ0CAAA= 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.24 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-exynos/dev-audio.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/arch/arm/mach-exynos/dev-audio.c b/arch/arm/mach-exynos/dev-audio.c index b33a5b6..dab1303 100644 --- a/arch/arm/mach-exynos/dev-audio.c +++ b/arch/arm/mach-exynos/dev-audio.c @@ -23,11 +23,6 @@ #include #include -static const char *rclksrc[] = { - [0] = "busclk", - [1] = "i2sclk", -}; - static int exynos4_cfg_i2s(struct platform_device *pdev) { /* configure GPIO for i2s port */ @@ -55,7 +50,6 @@ static struct s3c_audio_pdata i2sv5_pdata = { .i2s = { .quirks = QUIRK_PRI_6CHAN | QUIRK_SEC_DAI | QUIRK_NEED_RSTCLR, - .src_clk = rclksrc, .idma_addr = EXYNOS4_AUDSS_INT_MEM, }, }, @@ -78,17 +72,11 @@ struct platform_device exynos4_device_i2s0 = { }, }; -static const char *rclksrc_v3[] = { - [0] = "sclk_i2s", - [1] = "no_such_clock", -}; - static struct s3c_audio_pdata i2sv3_pdata = { .cfg_gpio = exynos4_cfg_i2s, .type = { .i2s = { .quirks = QUIRK_NO_MUXPSR, - .src_clk = rclksrc_v3, }, }, };