Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754674AbbBOEYd (ORCPT ); Sat, 14 Feb 2015 23:24:33 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:37266 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754451AbbBOEYc (ORCPT ); Sat, 14 Feb 2015 23:24:32 -0500 Date: Sat, 14 Feb 2015 20:31:39 -0800 (PST) Message-Id: <20150214.203139.1139744729261595659.davem@davemloft.net> To: sylvain.rochet@finsecur.com Cc: f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, nicolas.ferre@atmel.com, alexandre.belloni@free-electrons.com, voice.shen@atmel.com, josh.wu@atmel.com, ludovic.desroches@atmel.com, boris.brezillon@free-electrons.com Subject: Re: [PATCH] net: phy: micrel: disable NAND-tree for KSZ8021,KSZ8031,KSZ8051,KSZ8081 From: David Miller In-Reply-To: <1423859733-21456-1-git-send-email-sylvain.rochet@finsecur.com> References: <1423859733-21456-1-git-send-email-sylvain.rochet@finsecur.com> X-Mailer: Mew version 6.4 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.7 (shards.monkeyblade.net [149.20.54.216]); Sat, 14 Feb 2015 20:24:31 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1067 Lines: 24 From: Sylvain Rochet Date: Fri, 13 Feb 2015 21:35:33 +0100 > NAND-tree is used to check wiring between MAC and PHY using NAND gates > on the PHY side, hence the name. > > NAND-tree initial status is latched at reset by probing the IRQ pin. > However some devices are sharing the PHY IRQ pin with other peripherals > such as Atmel SAMA5D[34]x-EK boards when using the optional TM7000 > display module, therefore they are switching the PHY in NAND-tree test > mode depending on the current IRQ line status at reset. > > This patch ensure PHY is not in NAND-tree test mode for all Micrel PHYs > using IRQ line as a NAND-tree toggle mode at reset. > > Signed-off-by: Sylvain Rochet > Signed-off-by: Boris Brezillon Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/