From patchwork Tue Jul 1 05:55:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 365869 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B948F1400B0 for ; Tue, 1 Jul 2014 16:01:30 +1000 (EST) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X1r4H-0004nu-MS; Tue, 01 Jul 2014 05:57:25 +0000 Received: from mail-yh0-x22b.google.com ([2607:f8b0:4002:c01::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X1r44-0004WG-AV for linux-arm-kernel@lists.infradead.org; Tue, 01 Jul 2014 05:57:13 +0000 Received: by mail-yh0-f43.google.com with SMTP id a41so5650965yho.2 for ; Mon, 30 Jun 2014 22:56:51 -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:in-reply-to:references; bh=2sAIE7+82b1z/z2GZV9w7FFqI3SfuZN/1GrTZsG/onQ=; b=l0L50hB84UVOS4mLUqffustEZlPX4ImDmB3zTOBJdA1BhbwcNfb+NzD85DG/+cpqMo Bc44kl60Tu8fP33fqKf3rXcHiPEO15qKSb9H7f6NjYacxaQTSmol2FhAzZyytFPEcepx rcyNQ74uo1PON7xUdf0T64e7Ih38Zl7RukpdHWE3IlduZNja1/N/hlhcxfM3Ugj7ezea yoCJT9HuKNBJyd6Pow7OmnJn8EKK4/d1L7hXK/Vdg73vGI/R7gyMTR0IuqDcjYiYesWf P3fpTy9/fHjWAZo3dmgDG/4XqprhTlB9oRaPRlGRqxVH/j8OZvYj7nQOwL3+Rh++22Mw MFMQ== X-Received: by 10.236.2.165 with SMTP id 25mr10682589yhf.136.1404194211005; Mon, 30 Jun 2014 22:56:51 -0700 (PDT) Received: from localhost.localdomain ([177.194.40.193]) by mx.google.com with ESMTPSA id s22sm24506679yha.8.2014.06.30.22.56.48 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Jun 2014 22:56:50 -0700 (PDT) From: Fabio Estevam To: shawn.guo@freescale.com Subject: [PATCH 3/5] ARM: imx: clk-imx6sx: Remove SSI IPG clocks Date: Tue, 1 Jul 2014 02:55:27 -0300 Message-Id: <1404194129-25543-3-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1404194129-25543-1-git-send-email-festevam@gmail.com> References: <1404194129-25543-1-git-send-email-festevam@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140630_225712_481293_1F5049DD X-CRM114-Status: GOOD ( 10.37 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain Cc: Fabio Estevam , b42378@freescale.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" 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 Looking at the CCGR5 register we see that that each SSI has its corresponding clock gate field. There are no SSI IPG clock gate field, so remove these SSI IPG variants as they point to the same SSI clock fields and have no use in the kernel. Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/clk-imx6sx.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-imx/clk-imx6sx.c b/arch/arm/mach-imx/clk-imx6sx.c index 2e96103..1b198ea 100644 --- a/arch/arm/mach-imx/clk-imx6sx.c +++ b/arch/arm/mach-imx/clk-imx6sx.c @@ -409,9 +409,6 @@ static void __init imx6sx_clocks_init(struct device_node *ccm_node) clks[IMX6SX_CLK_SPBA] = imx_clk_gate2("spba", "ipg", base + 0x7c, 12); clks[IMX6SX_CLK_AUDIO] = imx_clk_gate2_shared("audio", "audio_podf", base + 0x7c, 14, &share_count_audio); clks[IMX6SX_CLK_SPDIF] = imx_clk_gate2_shared("spdif", "spdif_podf", base + 0x7c, 14, &share_count_audio); - clks[IMX6SX_CLK_SSI1_IPG] = imx_clk_gate2("ssi1_ipg", "ipg", base + 0x7c, 18); - clks[IMX6SX_CLK_SSI2_IPG] = imx_clk_gate2("ssi2_ipg", "ipg", base + 0x7c, 20); - clks[IMX6SX_CLK_SSI3_IPG] = imx_clk_gate2("ssi3_ipg", "ipg", base + 0x7c, 22); clks[IMX6SX_CLK_SSI1] = imx_clk_gate2("ssi1", "ssi1_podf", base + 0x7c, 18); clks[IMX6SX_CLK_SSI2] = imx_clk_gate2("ssi2", "ssi2_podf", base + 0x7c, 20); clks[IMX6SX_CLK_SSI3] = imx_clk_gate2("ssi3", "ssi3_podf", base + 0x7c, 22);