From patchwork Fri Mar 21 17:08:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hubert Chaumette X-Patchwork-Id: 332685 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:770:15f::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A771C2C00AF for ; Sat, 22 Mar 2014 04:09:30 +1100 (EST) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WR2wZ-0007aQ-Vf; Fri, 21 Mar 2014 17:09:20 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WR2wX-0004GI-Jg; Fri, 21 Mar 2014 17:09:17 +0000 Received: from smtp.adetelgroup.com ([94.247.26.71] helo=hbg-pa71.hmc-pa.adm) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WR2wT-0004FN-84 for linux-arm-kernel@lists.infradead.org; Fri, 21 Mar 2014 17:09:15 +0000 Received: from localhost (localhost [127.0.0.1]) by hbg-pa71.hmc-pa.adm (Postfix) with ESMTP id CC322452D7; Fri, 21 Mar 2014 18:08:44 +0100 (CET) Received: from hbg-pa71.hmc-pa.adm ([127.0.0.1]) by localhost (hbg-pa71.hmc-pa.adm [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 5IWYgsBlnIpP; Fri, 21 Mar 2014 18:08:44 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by hbg-pa71.hmc-pa.adm (Postfix) with ESMTP id 4D77844EBD; Fri, 21 Mar 2014 18:08:44 +0100 (CET) X-Virus-Scanned: amavisd-new at hbg-pa71.hmc-pa.adm Received: from hbg-pa71.hmc-pa.adm ([127.0.0.1]) by localhost (hbg-pa71.hmc-pa.adm [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id P101YqjZ9bsy; Fri, 21 Mar 2014 18:08:44 +0100 (CET) Received: from EMBLYSD005.adetel.com (226.94.7.109.rev.sfr.net [109.7.94.226]) by hbg-pa71.hmc-pa.adm (Postfix) with ESMTP id 128F443828; Fri, 21 Mar 2014 18:08:44 +0100 (CET) From: Hubert Chaumette To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: i.MX6: update KSZ9031 phy fixup Date: Fri, 21 Mar 2014 18:08:07 +0100 Message-Id: <1395421687-12934-1-git-send-email-hchaumette@adeneo-embedded.com> X-Mailer: git-send-email 1.9.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140321_130913_400290_8208F7EE X-CRM114-Status: UNSURE ( 6.80 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linux@arm.linux.org.uk, shawn.guo@linaro.org, Hubert Chaumette , linux-kernel@vger.kernel.org, kernel@pengutronix.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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 Update KSZ9031RN phy fixup for Congatec conga-QEVAL and conga-QMX6 combo : set RGMII GTX_CLK and RX_CLK pad skew to +0.96ns. Signed-off-by: Hubert Chaumette --- arch/arm/mach-imx/mach-imx6q.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 76e5db4..db307c2 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c @@ -77,6 +77,9 @@ static int ksz9031rn_phy_fixup(struct phy_device *dev) mmd_write_reg(dev, 2, 5, 0); mmd_write_reg(dev, 2, 8, 0x003ff); + /* For Congatec conga-QMX6 board */ + mmd_write_reg(dev, 0x02, 0x06, 0xffff); + return 0; }