From patchwork Tue Nov 6 04:48:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmavathi Venna X-Patchwork-Id: 1702711 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 98024DF2A2 for ; Tue, 6 Nov 2012 04:51: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 1TVb5n-0003FK-5s; Tue, 06 Nov 2012 04:48:51 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TVb5j-0003Dm-5W for linux-arm-kernel@lists.infradead.org; Tue, 06 Nov 2012 04:48:48 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MD1007LGUOKANN0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 06 Nov 2012 13:48:46 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id B0.5D.01231.EA698905; Tue, 06 Nov 2012 13:48:46 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-e5-509896aec672 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 30.5D.01231.DA698905; Tue, 06 Nov 2012 13:48:45 +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:48:45 +0900 (KST) From: Padmavathi Venna To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH V3 4/5] ARM: S5PV210: Avoid passing the clks through platform data Date: Tue, 06 Nov 2012 10:18:36 +0530 Message-id: <1352177317-16395-5-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+NgFrrGLMWRmVeSWpSXmKPExsWyRsSkVnfdtBkBBod2cFtsenyN1YHRY/OS +gDGKC6blNSczLLUIn27BK6Mv1vvMBfc5KloOniKqYGxm6uLkZNDQsBE4sqR4+wQtpjEhXvr 2UBsIYGljBL7j/N2MXKA1Vybq9HFyAUUns4ocX/mfUaImq1MEo+bxEFq2AR0JFrOuoCYIgLe EsuvKYKYzAI5Eo1tKiDFwgIhEo+a5zOB2CwCqhILmx6ALeIVcJb4vryRCeIABYljU7+ygtic Ai4Sa9qWs0AscpaYdXwlM0SvgMS3yYdYIA6Tldh0gBnkMAmB62wSJ7/PYoSYIylxcMUNlgmM wgsYGVYxiqYWJBcUJ6XnGuoVJ+YWl+al6yXn525iBAbe6X/PpHYwrmywOMQowMGoxMO7U3hG gBBrYllxZe4hRgkOZiURXo470wOEeFMSK6tSi/Lji0pzUosPMfoAXTKRWUo0OR8YFXkl8YbG JuamxqaWRkZmpqY4hJXEeZs9UgKEBNITS1KzU1MLUotgxjFxcEo1MBoWWGbxXyxW1YpPPzFv etB12dVsp7Yn5Bv/2LNGIepc+IEV8ZftFp6er1Pg+ptP6Fz0UtFHuaUzzC/OfvLipcWkf1ra bU5WQmaqhctO8SQyVh3Ynlt0bnreySbDNTkdFUH9Oclt1RE9OXZXJuVNfX9B4cdLLUEpGSfD rCB1U2vlSGlW9mIvJZbijERDLeai4kQAAnThh2kCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpjkeLIzCtJLcpLzFFi42I5/e+xoO7aaTMCDM7+t7DY9PgaqwOjx+Yl 9QGMUQ2MNhmpiSmpRQqpecn5KZl56bZK3sHxzvGmZgaGuoaWFuZKCnmJuam2Si4+AbpumTlA U5UUyhJzSoFCAYnFxUr6dpgmhIa46VrANEbo+oYEwfUYGaCBhDWMGX+33mEuuMlT0XTwFFMD YzdXFyMHh4SAicS1uRpdjJxAppjEhXvr2boYuTiEBKYzStyfeZ8RJCEksJVJ4nGTOEg9m4CO RMtZFxBTRMBbYvk1RRCTWSBHorFNBaRYWCBE4lHzfCYQm0VAVWJh0wM2EJtXwFni+/JGJohN ChLHpn5lBbE5BVwk1rQtZ4FY5Cwx6/hK5gmMvAsYGVYxiqYWJBcUJ6XnGuoVJ+YWl+al6yXn 525iBAf2M6kdjCsbLA4xCnAwKvHw7hSeESDEmlhWXJl7iFGCg1lJhJfjzvQAId6UxMqq1KL8 +KLSnNTiQ4w+QFdNZJYSTc4HRl1eSbyhsYm5qbGppYmFiZklDmElcd5mj5QAIYH0xJLU7NTU gtQimHFMHJxSDYwOErdfNS5UCY2b8acsZW7c1SbGlVdtAtet57l7slCMazND0Ie1QLdqSydz +oue3fVVt/+5FMuNY8umXf9e8u/xxp8ijA8k3PS0l/jsDq5/ttVr6b9p3tPFUhRzvzfNuRl5 YNEkv8boEJMLfx/nVm71/sUpfHlR/vJDChci9k3kDHqpMvPeI1clluKMREMt5qLiRAAADuiw mQIAAA== X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121105_234847_803212_75B6B007 X-CRM114-Status: GOOD ( 13.42 ) 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.34 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-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[] = {