From patchwork Mon May 6 15:33:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 2524601 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id 830CDDF230 for ; Mon, 6 May 2013 15:37:57 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UZNSB-000741-DQ; Mon, 06 May 2013 15:35:55 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UZNRT-0007VH-98; Mon, 06 May 2013 15:35:07 +0000 Received: from mail-bk0-x22b.google.com ([2a00:1450:4008:c01::22b]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UZNQn-0007Pv-Hx for linux-arm-kernel@lists.infradead.org; Mon, 06 May 2013 15:34:36 +0000 Received: by mail-bk0-f43.google.com with SMTP id jm19so1673758bkc.30 for ; Mon, 06 May 2013 08:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=P4sklcHlc7/q8aDEDe6KYOZb10GTZYPXUZLO9+wxdSE=; b=MCoc43Lk+WodCMGxzSPVcfB3M89kaIm6K9Oowyyx09ibbvxXJee0IJe9U+NUqnrhwI 9PtiNSFKRaE/npfe197eSaOD9S7eYOM5uZ/6MqfJJY2wr6HhnbgLd3VT0cV8HFpAQlZx HlhkO5oxV8n3FUpp7ZeqgihL/slntMAucyeGxdHW2lWn4qxYBZnA5pgFek6OWHnbgYE7 kxv/8eNIkhN2aFZb5aBpUqt50iUctIrnaVtvse8PxA9szK4oaPLzPaU7vKXMpGpagj7l GPFxvnPcHSkXffyDMgZLYVohJ4E7406EgvkP3BgzZtELXwiPHo3sXgZALunCD8xtp6uu 2xEg== X-Received: by 10.204.173.9 with SMTP id n9mr8698526bkz.47.1367854446873; Mon, 06 May 2013 08:34:06 -0700 (PDT) Received: from topkick.lan (dslc-082-083-251-181.pools.arcor-ip.net. [82.83.251.181]) by mx.google.com with ESMTPSA id jz9sm5540182bkb.1.2013.05.06.08.34.04 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 May 2013 08:34:05 -0700 (PDT) Received: from edge.wm.mst.uni-hannover.de (phire.mst.uni-hannover.de [130.75.30.51]) by topkick.lan (Postfix) with ESMTPSA id 999AA605E1; Mon, 6 May 2013 17:33:33 +0200 (CEST) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH v3 7/7] ARM: kirkwood: remove legacy clk alias for mv643xx_eth Date: Mon, 6 May 2013 17:33:40 +0200 Message-Id: <1367854420-8006-8-git-send-email-sebastian.hesselbarth@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1367854420-8006-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1365071235-11611-1-git-send-email-florian@openwrt.org> <1367854420-8006-1-git-send-email-sebastian.hesselbarth@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130506_113425_814585_244EA304 X-CRM114-Status: GOOD ( 14.71 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (sebastian.hesselbarth[at]gmail.com) -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: Andrew Lunn , linux-doc@vger.kernel.org, Jamie Lentin , linux-kernel@vger.kernel.org, Nigel Roberts , Arnaud Patard , Valentin Longchamp , Russell King , Simon Guinot , Grant Likely , Lennert Buytenhek , Eric Hutter , Jason Cooper , Nobuhiro Iwamatsu , devicetree-discuss@lists.ozlabs.org, Arnaud Ebalard , Rob Herring , Joshua Coombs , Florian Fainelli , linux-arm-kernel@lists.infradead.org, Thomas Petazzoni , Jean-Francois Moine , Simon Baatz , netdev@vger.kernel.org, Alan M Butler , Willy Tarreau , Michael Walle , Rob Landley , David Miller , Stefan Peter X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org With all boards converted to DT enabled mv643xx_eth we can now remove the clock alias for gbe clocks. Signed-off-by: Sebastian Hesselbarth --- Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: Lennert Buytenhek Cc: David Miller Cc: Florian Fainelli Cc: Arnaud Patard Cc: Russell King Cc: Jason Cooper Cc: Andrew Lunn Cc: Jean-Francois Moine Cc: Thomas Petazzoni Cc: Simon Guinot Cc: Jamie Lentin Cc: Michael Walle Cc: Eric Hutter Cc: Joshua Coombs Cc: Willy Tarreau Cc: Simon Baatz Cc: Alan M Butler Cc: Nigel Roberts Cc: Valentin Longchamp Cc: Stefan Peter Cc: Arnaud Ebalard Cc: Nobuhiro Iwamatsu Cc: netdev@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-doc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm/mach-kirkwood/board-dt.c | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c index 7904758..f474cb9 100644 --- a/arch/arm/mach-kirkwood/board-dt.c +++ b/arch/arm/mach-kirkwood/board-dt.c @@ -42,7 +42,6 @@ static void __init kirkwood_legacy_clk_init(void) struct device_node *np = of_find_compatible_node( NULL, NULL, "marvell,kirkwood-gating-clock"); struct of_phandle_args clkspec; - struct clk *clk; clkspec.np = np; clkspec.args_count = 1; @@ -58,21 +57,6 @@ static void __init kirkwood_legacy_clk_init(void) clkspec.args[0] = CGC_BIT_SDIO; orion_clkdev_add(NULL, "mvsdio", of_clk_get_from_provider(&clkspec)); - - /* - * The ethernet interfaces forget the MAC address assigned by - * u-boot if the clocks are turned off. Until proper DT support - * is available we always enable them for now. - */ - clkspec.args[0] = CGC_BIT_GE0; - clk = of_clk_get_from_provider(&clkspec); - orion_clkdev_add(NULL, "mv643xx_eth_port.0", clk); - clk_prepare_enable(clk); - - clkspec.args[0] = CGC_BIT_GE1; - clk = of_clk_get_from_provider(&clkspec); - orion_clkdev_add(NULL, "mv643xx_eth_port.1", clk); - clk_prepare_enable(clk); } static void __init kirkwood_of_clk_init(void)