From patchwork Mon Feb 24 10:25:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerhard Sittig X-Patchwork-Id: 3708461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E042D9F2F7 for ; Mon, 24 Feb 2014 10:27:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 163E520149 for ; Mon, 24 Feb 2014 10:27:21 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2027720131 for ; Mon, 24 Feb 2014 10:27:20 +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 1WHskR-0006QV-7f; Mon, 24 Feb 2014 10:26: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 1WHskI-0007Pm-KN; Mon, 24 Feb 2014 10:26:46 +0000 Received: from mail-out.m-online.net ([212.18.0.9]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WHsk9-0007NG-8F for linux-arm-kernel@lists.infradead.org; Mon, 24 Feb 2014 10:26:39 +0000 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3fXfZH0gtpz4KSDK; Mon, 24 Feb 2014 11:26:15 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3fXfZH0Drqzbbgd; Mon, 24 Feb 2014 11:26:15 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 0NEiUrJNliGR; Mon, 24 Feb 2014 11:26:12 +0100 (CET) X-Auth-Info: Wc5E66YAws9AcSZEIrRhKL+wPKErFRtV0WUFil3QRJk= Received: from localhost (kons-4d03d85b.pool.mediaWays.net [77.3.216.91]) by mail.mnet-online.de (Postfix) with ESMTPA; Mon, 24 Feb 2014 11:26:12 +0100 (CET) From: Gerhard Sittig To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 2/3] dts: mpc512x: adjust clock specs for FEC nodes Date: Mon, 24 Feb 2014 11:25:56 +0100 Message-Id: <1393237557-31406-2-git-send-email-gsi@denx.de> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1393237557-31406-1-git-send-email-gsi@denx.de> References: <1393237557-31406-1-git-send-email-gsi@denx.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140224_052637_415803_52A0C24D X-CRM114-Status: GOOD ( 12.39 ) X-Spam-Score: 1.2 (+) Cc: Mark Rutland , Anatolij Gustschin , Mike Turquette , Pawel Moll , Ian Campbell , Gerhard Sittig , Rob Herring , Shawn Guo 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 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP a recent FEC binding document update that was motivated by i.MX development revealed that ARM and PowerPC implementations in Linux did not agree on the clock names to use for the FEC nodes change clock names from "per" to "ipg" in the FEC nodes of the mpc5121.dtsi include file such that the .dts specs comply with the common FEC binding this "incompatible" change does not break operation, because - COMMON_CLK support for MPC5121/23/25 and adjusted .dts files were only introduced in Linux v3.14-rc1, no mainline release provided these specs before - if this change won't make it for v3.14, the MPC512x CCF support provides full backwards compability, and keeps operating with device trees which lack clock specs or don't match in the names Signed-off-by: Gerhard Sittig --- arch/powerpc/boot/dts/mpc5121.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc5121.dtsi b/arch/powerpc/boot/dts/mpc5121.dtsi index 2c0e1552d20b..a5a375598ed8 100644 --- a/arch/powerpc/boot/dts/mpc5121.dtsi +++ b/arch/powerpc/boot/dts/mpc5121.dtsi @@ -281,7 +281,7 @@ #address-cells = <1>; #size-cells = <0>; clocks = <&clks MPC512x_CLK_FEC>; - clock-names = "per"; + clock-names = "ipg"; }; eth0: ethernet@2800 { @@ -291,7 +291,7 @@ local-mac-address = [ 00 00 00 00 00 00 ]; interrupts = <4 0x8>; clocks = <&clks MPC512x_CLK_FEC>; - clock-names = "per"; + clock-names = "ipg"; }; /* USB1 using external ULPI PHY */