]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: net: ar803x: add disable-hibernation-mode propetry
authorWei Fang <wei.fang@nxp.com>
Thu, 18 Aug 2022 03:00:53 +0000 (11:00 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 18 Aug 2022 21:16:33 +0000 (14:16 -0700)
commit435a4a62c03bc3f609d739f4dd4e842c39688e78
treec8ebd4aab9f426f25aa2bd8ea87fd193225c0570
parent8ad5ab56a0d7a9f3e22623384456efc478ca9a19
dt-bindings: net: ar803x: add disable-hibernation-mode propetry

The hibernation mode of Atheros AR803x PHYs defaults to be
enabled after hardware reset. When the cable is unplugged,
the PHY will enter hibernation mode after about 10 seconds
and the PHY clocks will be stopped to save power.
However, some MACs need the phy output clock for proper
functioning of their logic. For instance, stmmac needs the
RX_CLK of PHY for software reset to complete.
Therefore, add a DT property to configure the PHY to disable
this hardware hibernation mode.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/qca,ar803x.yaml