提交 2e7f0899 编写于 作者: W Wei Fang 提交者: Jakub Kicinski

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: NWei Fang <wei.fang@nxp.com>
Reviewed-by: NRob Herring <robh@kernel.org>
Signed-off-by: NJakub Kicinski <kuba@kernel.org>
上级 fb8d784b
...@@ -40,6 +40,14 @@ properties: ...@@ -40,6 +40,14 @@ properties:
Only supported on the AR8031. Only supported on the AR8031.
type: boolean type: boolean
qca,disable-hibernation-mode:
description: |
Disable Atheros AR803X PHYs hibernation mode. If present, indicates
that the hardware of PHY will not enter power saving mode when the
cable is disconnected. And the RX_CLK always keeps outputting a
valid clock.
type: boolean
qca,smarteee-tw-us-100m: qca,smarteee-tw-us-100m:
description: EEE Tw parameter for 100M links. description: EEE Tw parameter for 100M links.
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册