devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: wei.fang@nxp.com
To: andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk,
	davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
	pabeni@redhat.com, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, f.fainelli@gmail.com,
	netdev@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH V3 net 0/2] Add DT property to disable hibernation mode
Date: Thu, 18 Aug 2022 11:00:52 +0800	[thread overview]
Message-ID: <20220818030054.1010660-1-wei.fang@nxp.com> (raw)

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(+)

-- 
2.25.1


             reply	other threads:[~2022-08-18  3:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-18  3:00 wei.fang [this message]
2022-08-18  3:00 ` [PATCH V3 net 1/2] dt-bindings: net: ar803x: add disable-hibernation-mode propetry wei.fang
2022-08-18 16:35   ` Rob Herring
2022-08-18  3:00 ` [PATCH V3 net 2/2] net: phy: at803x: add disable hibernation mode support wei.fang
2022-08-18 19:29   ` Andrew Lunn
2022-08-18 19:58     ` Jakub Kicinski
2022-08-18 20:28       ` Andrew Lunn
2022-08-18 23:40 ` [PATCH V3 net 0/2] Add DT property to disable hibernation mode patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220818030054.1010660-1-wei.fang@nxp.com \
    --to=wei.fang@nxp.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=f.fainelli@gmail.com \
    --cc=hkallweit1@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).