From patchwork Sun Aug 19 14:09:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 178562 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A89C32C00A6 for ; Mon, 20 Aug 2012 00:12:35 +1000 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T36CB-0000sr-0m; Sun, 19 Aug 2012 14:09:39 +0000 Received: from mail-yx0-f177.google.com ([209.85.213.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1T36Bv-0000ox-Vn for linux-arm-kernel@lists.infradead.org; Sun, 19 Aug 2012 14:09:24 +0000 Received: by yenq9 with SMTP id q9so5064592yen.36 for ; Sun, 19 Aug 2012 07:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=xRNzoMhRPhIWZm8Qz6/vXjJHofyB0FPRVQrqNrVoqhU=; b=QWdsmxt5MOLNWIsmC6Cju11TaFrPo9syA6tQ1t/Orx8r7zcbYEMNLS4RjHBqPdlE0a R2Dpb60KiYeZ97fMtH4owslNZezd4F6JrISPMw/vElTcAjk1XnG6XBVt0cVCC2vB7Oj8 H/66MmEuuh65dwuvJPsCc26ZlIxfxI0E3EiaVHe3KqqasifliFAlEm6e98DhjKMeAM59 iu1/pkQ/Qzwp/qMx+tvo6vczrjz+0FtKl0AXyYa3zOoHwrA0y7/j3EIAuPAXRd1R+upm 1ZGYV9RPfnieEROK//p8uurngcI+AORaqiSMIQIBr3jWQvafm5aU17HJRTKLUY433O4S aZ+Q== Received: by 10.101.134.32 with SMTP id l32mr5263956ann.12.1345385362672; Sun, 19 Aug 2012 07:09:22 -0700 (PDT) Received: from localhost.localdomain ([189.101.148.2]) by mx.google.com with ESMTPS id a4sm11755398anm.14.2012.08.19.07.09.20 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 19 Aug 2012 07:09:22 -0700 (PDT) From: Fabio Estevam To: kernel@pengutronix.de Subject: [PATCH 2/2] ARM: clk-imx25: Fix SSI clock registration Date: Sun, 19 Aug 2012 11:09:06 -0300 Message-Id: <1345385346-25412-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1345385346-25412-1-git-send-email-festevam@gmail.com> References: <1345385346-25412-1-git-send-email-festevam@gmail.com> X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.213.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] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Fabio Estevam , broonie@opensource.wolfsonmicro.com, linux-arm-kernel@lists.infradead.org, u.kleine-koenig@pengutronix.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list 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+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Fabio Estevam SSI block has two types of clock: ipg: bus clock, the clock needed for accessing registers. per: peripheral clock, the clock needed for generating the bit rate. Currently SSI driver only supports slave mode and only need to handle the ipg clock, because the peripheral clock comes from the master codec. Only register the ipg clock and do not register the peripheral clock for ssi. Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/clk-imx25.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-imx/clk-imx25.c b/arch/arm/mach-imx/clk-imx25.c index fdd8cc8..5ff9534 100644 --- a/arch/arm/mach-imx/clk-imx25.c +++ b/arch/arm/mach-imx/clk-imx25.c @@ -222,10 +222,8 @@ int __init mx25_clocks_init(void) clk_register_clkdev(clk[lcdc_ipg], "ipg", "imx-fb.0"); clk_register_clkdev(clk[lcdc_ahb], "ahb", "imx-fb.0"); clk_register_clkdev(clk[wdt_ipg], NULL, "imx2-wdt.0"); - clk_register_clkdev(clk[ssi1_ipg_per], "per", "imx-ssi.0"); - clk_register_clkdev(clk[ssi1_ipg], "ipg", "imx-ssi.0"); - clk_register_clkdev(clk[ssi2_ipg_per], "per", "imx-ssi.1"); - clk_register_clkdev(clk[ssi2_ipg], "ipg", "imx-ssi.1"); + clk_register_clkdev(clk[ssi1_ipg], NULL, "imx-ssi.0"); + clk_register_clkdev(clk[ssi2_ipg], NULL, "imx-ssi.0"); clk_register_clkdev(clk[esdhc1_ipg_per], "per", "sdhci-esdhc-imx25.0"); clk_register_clkdev(clk[esdhc1_ipg], "ipg", "sdhci-esdhc-imx25.0"); clk_register_clkdev(clk[esdhc1_ahb], "ahb", "sdhci-esdhc-imx25.0");