From patchwork Thu Jul 26 11:20:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martin X-Patchwork-Id: 1242311 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 C6A0B3FC5A for ; Thu, 26 Jul 2012 12:00:18 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SuMa5-0001OP-B9; Thu, 26 Jul 2012 11:50:13 +0000 Received: from mail-we0-f177.google.com ([74.125.82.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SuM81-0003NP-6R for linux-arm-kernel@lists.infradead.org; Thu, 26 Jul 2012 11:21:16 +0000 Received: by weyr3 with SMTP id r3so1372745wey.36 for ; Thu, 26 Jul 2012 04:20:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=g8Oa3d49by9sqw0BQWM7K9xMIadv7x4eK6zwiBlKDCU=; b=Q24K5rQpDfW8dQemB8alZKP2akdPWWmgik8ci9EdFj5iE8JZHfG3S586PDiLl/RklY yuS330uK6lZBsLHwiMcUModdtyP6x/YGmp9Sc9BT71sR8zphnuaocM6Y2PEEWinHSizE JuS+sbYeJt/Qp3jpjx9sYUTuxmLm8mIa1OmQMQn7HWPwl83485GjcrTE4goZA91prvGk VhDk8b6yPJm1OJrVU01h7sCwkxJf+qBem4bMn9Vp6Kk+S0+3SvvnxpQfzl2I+z4F8VLa USij0yo+FPKK64EBbWPU3VDzrUlwDJttgkNe8bJtjUZnKwZ+G3Er2C2DWnI/4aZi/eUh 6M7w== Received: by 10.180.100.37 with SMTP id ev5mr12694348wib.5.1343301649687; Thu, 26 Jul 2012 04:20:49 -0700 (PDT) Received: from piscis.vsilicon.net (96.252.106.212.dynamic.jazztel.es. [212.106.252.96]) by mx.google.com with ESMTPS id o2sm11826677wiz.11.2012.07.26.04.20.47 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Jul 2012 04:20:49 -0700 (PDT) From: Javier Martin To: linux-media@vger.kernel.org Subject: [PATCH 1/4] i.MX27: Fix emma-prp and csi clocks. Date: Thu, 26 Jul 2012 13:20:34 +0200 Message-Id: <1343301637-19676-2-git-send-email-javier.martin@vista-silicon.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1343301637-19676-1-git-send-email-javier.martin@vista-silicon.com> References: <1343301637-19676-1-git-send-email-javier.martin@vista-silicon.com> X-Gm-Message-State: ALoCoQnxi8Cb1jNy8JaIJmDNljYIJzn4Uzw55sdnMBVq8K6DDfn8go9mTh3wPmcZ6RVnNUl+QmWO X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.177 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: fabio.estevam@freescale.com, sakari.ailus@maxwell.research.nokia.com, kernel@pengutronix.de, mchehab@infradead.org, kyungmin.park@samsung.com, laurent.pinchart@ideasonboard.com, s.nawrocki@samsung.com, linux@arm.linux.org.uk, g.liakhovetski@gmx.de, linux-arm-kernel@lists.infradead.org, Javier Martin 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 Naming of emma-prp related clocks for the i.MX27 is not correct. Signed-off-by: Javier Martin --- arch/arm/mach-imx/clk-imx27.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk-imx27.c index b1d343c..6e9cb02 100644 --- a/arch/arm/mach-imx/clk-imx27.c +++ b/arch/arm/mach-imx/clk-imx27.c @@ -223,7 +223,7 @@ int __init mx27_clocks_init(unsigned long fref) clk_register_clkdev(clk[per3_gate], "per", "imx-fb.0"); clk_register_clkdev(clk[lcdc_ipg_gate], "ipg", "imx-fb.0"); clk_register_clkdev(clk[lcdc_ahb_gate], "ahb", "imx-fb.0"); - clk_register_clkdev(clk[csi_ahb_gate], NULL, "mx2-camera.0"); + clk_register_clkdev(clk[csi_ahb_gate], "ahb", "mx2-camera.0"); clk_register_clkdev(clk[usb_div], "per", "fsl-usb2-udc"); clk_register_clkdev(clk[usb_ipg_gate], "ipg", "fsl-usb2-udc"); clk_register_clkdev(clk[usb_ahb_gate], "ahb", "fsl-usb2-udc"); @@ -250,8 +250,10 @@ int __init mx27_clocks_init(unsigned long fref) clk_register_clkdev(clk[i2c2_ipg_gate], NULL, "imx-i2c.1"); clk_register_clkdev(clk[owire_ipg_gate], NULL, "mxc_w1.0"); clk_register_clkdev(clk[kpp_ipg_gate], NULL, "imx-keypad"); - clk_register_clkdev(clk[emma_ahb_gate], "ahb", "imx-emma"); - clk_register_clkdev(clk[emma_ipg_gate], "ipg", "imx-emma"); + clk_register_clkdev(clk[emma_ahb_gate], "emma-ahb", "mx2-camera.0"); + clk_register_clkdev(clk[emma_ipg_gate], "emma-ipg", "mx2-camera.0"); + clk_register_clkdev(clk[emma_ahb_gate], "ahb", "m2m-emmaprp.0"); + clk_register_clkdev(clk[emma_ipg_gate], "ipg", "m2m-emmaprp.0"); clk_register_clkdev(clk[iim_ipg_gate], "iim", NULL); clk_register_clkdev(clk[gpio_ipg_gate], "gpio", NULL); clk_register_clkdev(clk[brom_ahb_gate], "brom", NULL);