From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH/RFC 2/3] ethernet: add a PHY reset GPIO DT binding to sh_eth Date: Fri, 25 Jan 2013 11:21:37 -0700 Message-ID: <20130125182137.GB7393@obsidianresearch.com> References: <1359043653-11374-1-git-send-email-g.liakhovetski@gmx.de> <1359043653-11374-3-git-send-email-g.liakhovetski@gmx.de> <7921225.sfO3PIeLVS@avalon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org To: Guennadi Liakhovetski Cc: Laurent Pinchart , linux-sh@vger.kernel.org, netdev@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, Magnus Damm , Simon Horman , linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org On Fri, Jan 25, 2013 at 11:34:55AM +0100, Guennadi Liakhovetski wrote: > > Is there no need to reset the phy at runtime ? > > No idea, I'm not developing the driver, I'm just porting one specific > feature from one API to another with no functional changes (apart from > postponing setting the GPIO). Generally Linux relies on resetting the phy via the inband MDIO method, which is what Linux does. It is pretty much never required to reset via the hard pin - but you do need to generate a robust reset edge on the reset pin once after power up. Jason