From patchwork Wed Dec 19 05:35:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmavathi Venna X-Patchwork-Id: 1894601 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 EEF323FC64 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 1TlCK0-0001mX-Va; Wed, 19 Dec 2012 05:36:01 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TlCJJ-0001e5-NI for linux-arm-kernel@lists.infradead.org; Wed, 19 Dec 2012 05:35:19 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MF900LXEJI7PBJ0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 19 Dec 2012 14:35:11 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.123]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 88.EE.01231.F0251D05; Wed, 19 Dec 2012 14:35:11 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-d7-50d1520f2180 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id D7.EE.01231.F0251D05; Wed, 19 Dec 2012 14:35:11 +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:11 +0900 (KST) From: Padmavathi Venna To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, padma.kvr@gmail.com Subject: [PATCH 4/5] ARM: S5PV210: Avoid passing the clks through platform data Date: Wed, 19 Dec 2012 11:05:52 +0530 Message-id: <1355895353-10316-5-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+NgFrrFLMWRmVeSWpSXmKPExsWyRsSkWpc/6GKAQcNnSYtNj6+xOjB6bF5S H8AYxWWTkpqTWZZapG+XwJVxcMlLpoJ23orH7UfYGxi3cHUxcnJICJhIdG6+ygJhi0lcuLee rYuRi0NIYCmjxOO9+5m6GDnAijY2WkHEFzFKTPh8ngXC2cokcWjKJbAiNgEdiZazLiCDRASS JJ4v6mUCsZkF6iS+ti5jA7GFBfwlvsxYyg5iswioSsy8MxUszivgLHHjbTsjxBEKEsemfmUF sTkFXCTm3e0CO04IqGbqvd1MEL0CEt8mH2KBuE1WYtMBZpBzJASus0l0XHrBBDFHUuLgihss ExiFFzAyrGIUTS1ILihOSs811CtOzC0uzUvXS87P3cQIDMDT/55J7WBc2WBxiFGAg1GJh7dg 1YUAIdbEsuLK3EOMEhzMSiK8vKoXA4R4UxIrq1KL8uOLSnNSiw8x+gBdMpFZSjQ5HxgdeSXx hsYm5qbGppZGRmampjiElcR5mz1SAoQE0hNLUrNTUwtSi2DGMXFwSjUwnt2h/GxL0aSDwXoL PJI/akzx2HZq29+Zf4Jf5TtsaA+t5tselqI7efbGuz8ibHy+/2XPrO1br9q14Wqi0CK7zo2Z W+In/FH+UmLq5fm8yv21xec/uownvTlP/FPsYRa4ZiegWSbqZ38p4mNF99TMp8ZZZw9PVZiu ocf05Yt3w8uPAif0e1rSlFiKMxINtZiLihMBcMwSwG0CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkkeLIzCtJLcpLzFFi42I5/e+xgC5/0MUAgys/eSw2Pb7G6sDosXlJ fQBjVAOjTUZqYkpqkUJqXnJ+SmZeuq2Sd3C8c7ypmYGhrqGlhbmSQl5ibqqtkotPgK5bZg7Q VCWFssScUqBQQGJxsZK+HaYJoSFuuhYwjRG6viFBcD1GBmggYQ1jxsElL5kK2nkrHrcfYW9g 3MLVxcjBISFgIrGx0aqLkRPIFJO4cG89WxcjF4eQwCJGiQmfz7NAOFuZJA5NucQE0sAmoCPR ctYFpEFEIEni+aJeJhCbWaBO4mvrMjYQW1jAX+LLjKXsIDaLgKrEzDtTweK8As4SN962M0Is U5A4NvUrK4jNKeAiMe9uFwuILQRUM/XebqYJjLwLGBlWMYqmFiQXFCel5xrqFSfmFpfmpesl 5+duYgSH9zOpHYwrGywOMQpwMCrx8BasuhAgxJpYVlyZe4hRgoNZSYSXV/VigBBvSmJlVWpR fnxRaU5q8SFGH6CrJjJLiSbnA2MvryTe0NjE3NTY1NLEwsTMEoewkjhvs0dKgJBAemJJanZq akFqEcw4Jg5OqQbGtZVfz87o51ZUyZQMWaMk9/zjmQnTa2eeje30Pbvmrvel6IaoxoIF/pxf /r/+fCd7yioDl8QlPqnrp6VyKdTu+qQt8ufyFrf38qKXEkMmPnY69OzQZ4aAjXm6Z5IvyIlb PU0/uOSSxjbNj0nabd4x/6VDvn83T71Yav/O7INNTmzc9V6WozpGSizFGYmGWsxFxYkA+kTw nZwCAAA= X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121219_003518_167253_57D562AA X-CRM114-Status: GOOD ( 13.37 ) 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-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 0a5480b..addfb16 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[] = {