linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] Add DT property to disable hibernation mode
@ 2022-08-12 14:50 wei.fang
  2022-08-12 14:50 ` [PATCH net 1/2] dt: ar803x: Document disable-hibernation property wei.fang
  2022-08-12 14:50 ` [PATCH net 2/2] net: phy: at803x: Add disable hibernation mode support wei.fang
  0 siblings, 2 replies; 22+ messages in thread
From: wei.fang @ 2022-08-12 14:50 UTC (permalink / raw)
  To: andrew, hkallweit1, linux, davem, edumazet, kuba, pabeni,
	robh+dt, krzysztof.kozlowski+dt, f.fainelli, netdev, devicetree,
	linux-kernel

From: Wei Fang <wei.fang@nxp.com>

The patches add the ability to disable the hibernation mode of AR803x
PHYs. Hibernation mode defaults to enabled after hardware reset on
these PHYs. If the AR803x PHYs enter hibernation mode, they will not
provide any clock. For some MACs, they might need the clocks which
provided by the PHYs to support their own hardware logic.
So, the patches add the supoort to disable hibernation mode by adding
a boolean:
	qca,disable-hibernation
If one wished to disable hibernation mode to better match with the
specifical MAC, just add this property in the phy node of DT.

Wei Fang (2):
  dt: ar803x: Document disable-hibernation property
  net: phy: at803x: Add disable hibernation mode support

 .../devicetree/bindings/net/qca,ar803x.yaml   |  6 +++++
 drivers/net/phy/at803x.c                      | 25 +++++++++++++++++++
 2 files changed, 31 insertions(+)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2022-08-18  2:01 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-12 14:50 [PATCH net 0/2] Add DT property to disable hibernation mode wei.fang
2022-08-12 14:50 ` [PATCH net 1/2] dt: ar803x: Document disable-hibernation property wei.fang
2022-08-12  7:27   ` Krzysztof Kozlowski
2022-08-12  9:02     ` Wei Fang
2022-08-12 11:25       ` Krzysztof Kozlowski
2022-08-12 11:36         ` Russell King (Oracle)
2022-08-12 12:04           ` Krzysztof Kozlowski
2022-08-12 12:30             ` Russell King (Oracle)
2022-08-12 12:36               ` Krzysztof Kozlowski
2022-08-12 14:34                 ` Russell King (Oracle)
2022-08-15  8:51         ` Wei Fang
2022-08-15  9:19           ` Russell King (Oracle)
2022-08-12 14:15   ` Andrew Lunn
2022-08-15  6:49     ` Wei Fang
2022-08-18  1:20       ` Andrew Lunn
2022-08-18  1:29         ` Wei Fang
2022-08-18  1:44           ` Andrew Lunn
2022-08-18  1:50             ` Wei Fang
2022-08-18  2:01             ` Wei Fang
2022-08-12 15:13   ` Rob Herring
2022-08-12 15:36   ` Andrew Lunn
2022-08-12 14:50 ` [PATCH net 2/2] net: phy: at803x: Add disable hibernation mode support wei.fang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).