mbox series

[V3,net,0/2] Add DT property to disable hibernation mode

Message ID 20220818030054.1010660-1-wei.fang@nxp.com (mailing list archive)
Headers show
Series Add DT property to disable hibernation mode | expand

Message

Wei Fang Aug. 18, 2022, 3 a.m. UTC
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 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   |  8 ++++++
 drivers/net/phy/at803x.c                      | 25 +++++++++++++++++++
 2 files changed, 33 insertions(+)

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 18, 2022, 11:40 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 18 Aug 2022 11:00:52 +0800 you wrote:
> 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 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.
> 
> [...]

Here is the summary with links:
  - [V3,net,1/2] dt-bindings: net: ar803x: add disable-hibernation-mode propetry
    https://git.kernel.org/netdev/net-next/c/2e7f089914b9
  - [V3,net,2/2] net: phy: at803x: add disable hibernation mode support
    https://git.kernel.org/netdev/net-next/c/9ecf04016c87

You are awesome, thank you!