From patchwork Wed Dec 19 05:35:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmavathi Venna X-Patchwork-Id: 1894591 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id B608CDF230 for ; Wed, 19 Dec 2012 05:38: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 1TlCKC-0001qn-8A; Wed, 19 Dec 2012 05:36:12 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TlCJL-0001e5-LZ for linux-arm-kernel@lists.infradead.org; Wed, 19 Dec 2012 05:35:20 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MF900L5WJIF5EG0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 19 Dec 2012 14:35:13 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.124]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id E5.07.12699.11251D05; Wed, 19 Dec 2012 14:35:13 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-15-50d152114a0a Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 35.07.12699.01251D05; Wed, 19 Dec 2012 14:35:13 +0900 (KST) Received: from padma-linuxpc.sisodomain.com ([107.108.83.35]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MF900KQQJI8CS20@mmp1.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 19 Dec 2012 14:35:12 +0900 (KST) From: Padmavathi Venna To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, padma.kvr@gmail.com Subject: [PATCH 5/5] ARM: EXYNOS: Avoid passing the clks through platform data Date: Wed, 19 Dec 2012 11:05:53 +0530 Message-id: <1355895353-10316-6-git-send-email-padma.v@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1355895353-10316-1-git-send-email-padma.v@samsung.com> References: <1355895353-10316-1-git-send-email-padma.v@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrNLMWRmVeSWpSXmKPExsWyRsSkRlcw6GKAwYn7XBabHl9jdWD02Lyk PoAxissmJTUnsyy1SN8ugSvjx69jrAUfeCpen3zP0sA4h6uLkZNDQsBEYmbnLRYIW0ziwr31 bF2MXBxCAksZJV68nMwIU7R8QS8TRGIRo8Sj45eYIZytTBLzXlwDaufgYBPQkWg56wLSICKQ JPF8EUgDJwezQJ3E19ZlbCC2sICfxOc1u1lBbBYBVYm+s7PBNvMKOEtMeDyDHWKZgsSxqV/B ajgFXCTm3e0CqxECqpl6bzcTRK+AxLfJh8DWSgjISmw6AHaOhMBlNolpj6dBfSMpcXDFDZYJ jMILGBlWMYqmFiQXFCel5xrpFSfmFpfmpesl5+duYgSG4Ol/z6R3MK5qsDjEKMDBqMTDK7ni QoAQa2JZcWXuIUYJDmYlEV5e1YsBQrwpiZVVqUX58UWlOanFhxh9gC6ZyCwlmpwPjI+8knhD YxNzU2NTSyMjM1NTHMJK4rzNHikBQgLpiSWp2ampBalFMOOYODilGhhl7vFFxlsnr0sLOHfR bNcH8cXCxkbac9aEnJm8/4r0vCn1F+pVzRlrVid93KnqfL2dZf7/nMZW409J3q+v9WkINM0v ulV9ObWdL1P1/fQ9Ysdunthe/1B3FfcJ690PxdNuC2qfuLwtd1vPtFsrDS9If8tieub4Lu6m mmEtU0RsWKHNcZklDKeVWIozEg21mIuKEwF6kgQObgIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkkeLIzCtJLcpLzFFi42I5/e+xgK5g0MUAg8nJFpseX2N1YPTYvKQ+ gDGqgdEmIzUxJbVIITUvOT8lMy/dVsk7ON453tTMwFDX0NLCXEkhLzE31VbJxSdA1y0zB2io kkJZYk4pUCggsbhYSd8O04TQEDddC5jGCF3fkCC4HiMDNJCwhjHjx69jrAUfeCpen3zP0sA4 h6uLkZNDQsBEYvmCXiYIW0ziwr31bF2MXBxCAosYJR4dv8QM4Wxlkpj34hpLFyMHB5uAjkTL WReQBhGBJInniyCamQXqJL62LmMDsYUF/CQ+r9nNCmKzCKhK9J2dzQJi8wo4S0x4PIMdYpmC xLGpX8FqOAVcJObd7QKrEQKqmXpvN9MERt4FjAyrGEVTC5ILipPSc430ihNzi0vz0vWS83M3 MYLD+5n0DsZVDRaHGAU4GJV4eCVXXAgQYk0sK67MPcQowcGsJMLLq3oxQIg3JbGyKrUoP76o NCe1+BCjD9BVE5mlRJPzgbGXVxJvaGxibmpsamliYWJmiUNYSZy32SMlQEggPbEkNTs1tSC1 CGYcEwenVAPjDDf9JRsPHNg/4XbFhF0cTzYuTt9fuHtm/0SBqW/9Z99UOXHg3/6A4+y77lWV m1q2Gp3lYZqg9kDqwsKz+zTE1Xkazd09POTPRlcG/ZTYIaJwRmbr+upjzLn7+t3urnPfb31M KWbucoMAiR9K1ad+K/5lCt6ebqpieOfX37cKz0IOn+ry/hsdocRSnJFoqMVcVJwIANaVEmWc AgAA X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121219_003520_014592_9CC02123 X-CRM114-Status: GOOD ( 12.97 ) X-Spam-Score: -7.6 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.33 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.7 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: sbkim73@samsung.com, kgene.kim@samsung.com, broonie@opensource.wolfsonmicro.com, jhbird.choi@samsung.com, olof@lixom.net 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 Acked-by: Sangbeom Kim --- 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 a1cb42c..9d1a609 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, }, }, };