[PATCH V2 net 0/2] Add DT property to disable hibernation mode

From: wei . fang
Date: Tue Aug 16 2022 - 22:03:23 EST


From: Wei Fang <wei.fang@xxxxxxx>

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 support to disable hibernation mode by adding
a boolean:
qca,disable-hibernation-mode
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-bindings: net: ar803x: add disable-hibernation-mode propetry
net: phy: at803x: add disable hibernation mode support

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

--
2.25.1