From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH] net: fec: fix enet_out clock handling Date: Sat, 28 Nov 2015 17:43:37 +0100 Message-ID: <20151128164337.GF32356@lunn.ch> References: <1448631550-943-1-git-send-email-LW@KARO-electronics.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Lothar Wa?mann , "David S. Miller" , Fabio Estevam , Kevin Hao , Lucas Stach , Philippe Reynes , Russell King , Uwe Kleine-K?nig , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , Stefan Agner To: Duan Andy Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org > When MAC is not ready with clocks disabled, it is not necessary to > supply clock for PHY. In fact, PHY also is not ready, why does it > need clock ? How about the case of the "PHY" is actually a switch? You can use the MDIO bus separate from the MAC, you can configure the switch while the MAC is down, etc. Packets can be flowing in and out of switch ports, while the MAC is down. You only need the MAC up when the host wants to send packets. Andrew