From patchwork Wed Jan 30 01:26: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: 2064601 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 AB2533FDD1 for ; Wed, 30 Jan 2013 01:29:56 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U0MS9-0003gX-5V; Wed, 30 Jan 2013 01:27:05 +0000 Received: from mail-ea0-f175.google.com ([209.85.215.175]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U0MS6-0003fb-QC for linux-arm-kernel@lists.infradead.org; Wed, 30 Jan 2013 01:27:03 +0000 Received: by mail-ea0-f175.google.com with SMTP id d1so450178eab.6 for ; Tue, 29 Jan 2013 17:27:00 -0800 (PST) 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; bh=afcBL7E/pVpCeKZGfmwKif/lcCUMWu0PLG0ipxqLc58=; b=ijBvhiO0I/Ye3SGrNHai9rv8lGEAQTd4UtRxq8Nt3Z8eV3OLARToofMZ9i9OUB6jn/ 4tPeWtC8wjjtC6ZVZUWv/KrlpEAxki5ph/jQMbmwVeZbvql3tjZSN5uW3SJtfA9Qav/8 /mjSjWbX+fIrpmg8wY0N6VVpRnLkWciq8K7xBYI24uwoTxCTVcbWI/mfKIRfoSmu6S8L XMuHhkMxc6+xzpIqdq1Iaq3kBesKH6PrPxL/ZJu0gspluH0GkPOd6uhul16h74DeCyvh j6/+U3oImMDBzTb22vIIzmiYVR4ze7GxsT0dsw5R4QSY+05VTML2buIkpMgRFPMKROmv XhgQ== X-Received: by 10.14.219.72 with SMTP id l48mr9099211eep.37.1359509220847; Tue, 29 Jan 2013 17:27:00 -0800 (PST) Received: from nijin.lan (dslc-082-083-232-148.pools.arcor-ip.net. [82.83.232.148]) by mx.google.com with ESMTPS id b2sm22261095eep.9.2013.01.29.17.26.59 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Jan 2013 17:27:00 -0800 (PST) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH 1/2] ARM: kirkwood: provide ge clock aliases for shared smi Date: Wed, 30 Jan 2013 02:26:40 +0100 Message-Id: <1359509201-11674-1-git-send-email-sebastian.hesselbarth@gmail.com> X-Mailer: git-send-email 1.7.10.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130129_202702_987758_043C0CCA X-CRM114-Status: GOOD ( 11.79 ) 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 (sebastian.hesselbarth[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.215.175 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: Andrew Lunn , Russell King , Simon Baatz , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jason Cooper 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 DT support for mv643xx_eth will split smi driver from core gbe driver. Although different drivers, both use the same internal device and the same (gateable) clock. This patch provides a proper clock alias for the smi driver to not break non-DT kernels. Reported-by: Simon Baatz Signed-off-by: Sebastian Hesselbarth --- Cc: Simon Baatz Cc: Jason Cooper Cc: Andrew Lunn Cc: Russell King Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm/mach-kirkwood/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-kirkwood/common.c b/arch/arm/mach-kirkwood/common.c index bac21a5..502d80d 100644 --- a/arch/arm/mach-kirkwood/common.c +++ b/arch/arm/mach-kirkwood/common.c @@ -252,7 +252,9 @@ void __init kirkwood_clk_init(void) orion_clkdev_add(NULL, "orion_spi.0", runit); orion_clkdev_add(NULL, "orion_spi.1", runit); orion_clkdev_add(NULL, MV643XX_ETH_NAME ".0", ge0); + orion_clkdev_add(NULL, MV643XX_ETH_SHARED_NAME ".0", ge0); orion_clkdev_add(NULL, MV643XX_ETH_NAME ".1", ge1); + orion_clkdev_add(NULL, MV643XX_ETH_SHARED_NAME ".1", ge1); orion_clkdev_add(NULL, "orion_wdt", tclk); orion_clkdev_add("0", "sata_mv.0", sata0); orion_clkdev_add("1", "sata_mv.0", sata1);