Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1279502
| From | Duan Andy <fugang.duan@freescale.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | RE: [PATCH] net: fec: fix enet_out clock handling |
| Date | 2015-11-30 03:20 +0100 |
| Message-ID | <qAlUZ-5pM-3@gated-at.bofh.it> (permalink) |
| References | <qzrSO-3Uz-5@gated-at.bofh.it> <qzNzX-V2-1@gated-at.bofh.it> <qzQRc-2PH-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Andrew Lunn <andrew@lunn.ch> Sent: Sunday, November 29, 2015 12:44 AM > To: Duan Fugang-B38611 > Cc: Lothar Wa?mann; David S. Miller; Estevam Fabio-R49496; Kevin Hao; > Lucas Stach; Philippe Reynes; Russell King; Uwe Kleine-K?nig; linux- > kernel@vger.kernel.org; netdev@vger.kernel.org; Stefan Agner > Subject: Re: [PATCH] net: fec: fix enet_out clock handling > > > 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 Do you mean PHY switch also use the enet_out clock ? - If not, this topic is not related to the patch. - If so, we should add flag check, we can disable the enet_out clock when the phy is not switch or switch phy doesn't use the clock in real case, which can save power. And the patch title is not right, not "fix" since it is not a issue, just different usage for different cases. Regards, Andy -- 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/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] net: fec: fix enet_out clock handling Lothar Waßmann <LW@KARO-electronics.de> - 2015-11-27 15:10 +0100
Re: [PATCH] net: fec: fix enet_out clock handling Michael Heimpold <michael.heimpold@i2se.com> - 2015-11-27 16:30 +0100
RE: [PATCH] net: fec: fix enet_out clock handling Duan Andy <fugang.duan@freescale.com> - 2015-11-28 14:20 +0100
Re: [PATCH] net: fec: fix enet_out clock handling Andrew Lunn <andrew@lunn.ch> - 2015-11-28 17:50 +0100
Re: [PATCH] net: fec: fix enet_out clock handling Andrew Lunn <andrew@lunn.ch> - 2015-11-30 03:00 +0100
RE: [PATCH] net: fec: fix enet_out clock handling Duan Andy <fugang.duan@freescale.com> - 2015-11-30 03:20 +0100
Re: [PATCH] net: fec: fix enet_out clock handling Lothar Waßmann <LW@KARO-electronics.de> - 2015-11-30 08:00 +0100
RE: [PATCH] net: fec: fix enet_out clock handling Duan Andy <fugang.duan@freescale.com> - 2015-11-30 08:40 +0100
Re: [PATCH] net: fec: fix enet_out clock handling Andrew Lunn <andrew@lunn.ch> - 2015-11-30 03:10 +0100
Re: [PATCH] net: fec: fix enet_out clock handling Lothar Waßmann <LW@KARO-electronics.de> - 2015-11-30 06:40 +0100
csiph-web