From patchwork Tue Nov 6 04:48:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmavathi Venna X-Patchwork-Id: 1702721 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 515B53FCF7 for ; Tue, 6 Nov 2012 04:52:07 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TVb6Z-0003do-7C; Tue, 06 Nov 2012 04:49:39 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TVb6P-0003Yy-J4 for linux-arm-kernel@lists.infradead.org; Tue, 06 Nov 2012 04:49:35 +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 <0MD100240UQF4CD0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 06 Nov 2012 13:49:27 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 40.E9.12699.7D698905; Tue, 06 Nov 2012 13:49:27 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-01-509896d723c2 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 6F.D9.12699.7D698905; Tue, 06 Nov 2012 13:49:27 +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 <0MD100EM1UJ3W290@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 06 Nov 2012 13:49:27 +0900 (KST) From: Padmavathi Venna To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH V3 5/5] ARM: Exynos: Avoid passing the clks through platform data Date: Tue, 06 Nov 2012 10:18:37 +0530 Message-id: <1352177317-16395-6-git-send-email-padma.v@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1352177317-16395-1-git-send-email-padma.v@samsung.com> References: <1352177317-16395-1-git-send-email-padma.v@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJLMWRmVeSWpSXmKPExsWyRsSkVvf6tBkBBic/KltsenyN1YHRY/OS +gDGKC6blNSczLLUIn27BK6Mg+1XWAoO8VQ8v9/L3MD4mbOLkZNDQsBEYuLxGYwQtpjEhXvr 2boYuTiEBJYySjQum8IMU7T94112iMR0RomDZ1ugnK1MEvPPdgK1c3CwCehItJx1ATFFBLwl ll9TBDGZBXIkGttUQMYICwRL/Dv0HWwXi4CqxO7dh1hAbF4BZ4m7TWeZIFYpSByb+pUVxOYU cJFY07YcrEYIqGbW8ZXMEL0CEt8mg/RyANXLSmw6wAxyjITAdTaJlwu/Qp0sKXFwxQ2WCYzC CxgZVjGKphYkFxQnpeca6RUn5haX5qXrJefnbmIEht/pf8+kdzCuarA4xCjAwajEwysoNiNA iDWxrLgy9xCjBAezkggvx53pAUK8KYmVValF+fFFpTmpxYcYfYAumcgsJZqcD4yNvJJ4Q2MT c1NjU0sjIzNTUxzCSuK8zR4pAUIC6YklqdmpqQWpRTDjmDg4pRoYU/wPXuV4K9wxLdBe/pBh kqnnukdp35YoruhIrN9l8pYr6/ajT1N1zFN5wve8NN2+Rb9+eiP3nL+P+5ikv8RMfF++VLRN vUbiyBet439WMF5+fcr0n2jlGbMdUi5P3bKqX68qmxK1seWaNueDe6XB7689da8Q5nlrZSC2 pkqiPUbsAJdBX+dEJZbijERDLeai4kQAL0m6QGwCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgkeLIzCtJLcpLzFFi42I5/e+xoO71aTMCDJ7P5rPY9PgaqwOjx+Yl 9QGMUQ2MNhmpiSmpRQqpecn5KZl56bZK3sHxzvGmZgaGuoaWFuZKCnmJuam2Si4+AbpumTlA U5UUyhJzSoFCAYnFxUr6dpgmhIa46VrANEbo+oYEwfUYGaCBhDWMGQfbr7AUHOKpeH6/l7mB 8TNnFyMnh4SAicT2j3fZIWwxiQv31rN1MXJxCAlMZ5Q4eLaFHcLZyiQx/2wnYxcjBwebgI5E y1kXEFNEwFti+TVFEJNZIEeisU0FZIywQLDEv0PfGUFsFgFVid27D7GA2LwCzhJ3m84yQaxS kDg29SsriM0p4CKxpm05WI0QUM2s4yuZJzDyLmBkWMUomlqQXFCclJ5rpFecmFtcmpeul5yf u4kRHNzPpHcwrmqwOMQowMGoxMMrKDYjQIg1say4MvcQowQHs5IIL8ed6QFCvCmJlVWpRfnx RaU5qcWHGH2ArprILCWanA+MvLySeENjE3NTY1NLEwsTM0scwkrivM0eKQFCAumJJanZqakF qUUw45g4OKUaGBlzZGSF7glNsZtvKHy+bu1N53r+L7JXLxl/1v/lYrrSoJ/7ie2iroJ1GrWf ZmycfnHjx7Rnr1LdTqkxcGZ8fX/zka2hpbjxcs6s5naFvpWqdmLhR1bsWLA6fRf/7VUxLa/N jUPqwpe8/B2Vfz5lhs7Ei3n7T0oZOXpvcZr86tbFkAlz7ZZdklBiKc5INNRiLipOBABDoMjd mwIAAA== X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121105_234930_294539_63CFE35D X-CRM114-Status: GOOD ( 12.44 ) 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, olofj@google.com, ben-linux@fluff.org, padma.v@samsung.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 ae321c7..e7d46fd 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, }, }, };