netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: fugang.duan@nxp.com
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, martin.fuzzey@flowbird.group,
	robh+dt@kernel.org, shawnguo@kernel.org,
	devicetree@vger.kernel.org, fugang.duan@nxp.com
Subject: [PATCH net 2/4] dt-bindings: fec: update the gpr property
Date: Wed, 20 May 2020 16:31:54 +0800	[thread overview]
Message-ID: <1589963516-26703-3-git-send-email-fugang.duan@nxp.com> (raw)
In-Reply-To: <1589963516-26703-1-git-send-email-fugang.duan@nxp.com>

From: Fugang Duan <fugang.duan@nxp.com>

Update the gpr property to define gpr register offset and
bit in DT, since different instance have different gpr bit,
and differnet SOC may have different gpr reigster offset.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
---
 Documentation/devicetree/bindings/net/fsl-fec.txt | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/fsl-fec.txt b/Documentation/devicetree/bindings/net/fsl-fec.txt
index 26c492a..c2ea818 100644
--- a/Documentation/devicetree/bindings/net/fsl-fec.txt
+++ b/Documentation/devicetree/bindings/net/fsl-fec.txt
@@ -23,7 +23,12 @@ Optional properties:
   the hardware workaround for ERR006687 applied and does not need a software
   workaround.
 - gpr: phandle of SoC general purpose register mode. Required for wake on LAN
-  on some SoCs
+  on some SoCs. Register bits of stop mode control, the format is
+	<&gpr req_gpr req_bit>.
+	 gpr is the phandle to general purpose register node.
+	 req_gpr is the gpr register offset for ENET stop request.
+	 req_bit is the gpr bit offset for ENET stop request.
+
  -interrupt-names:  names of the interrupts listed in interrupts property in
   the same order. The defaults if not specified are
   __Number of interrupts__   __Default__
-- 
2.7.4


  parent reply	other threads:[~2020-05-20  8:37 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-20  8:31 [PATCH net 0/4] net: ethernet: fec: move GPR reigster offset and bit into DT fugang.duan
2020-05-20  8:31 ` [PATCH net 1/4] net: ethernet: fec: move GPR register " fugang.duan
2020-05-20 16:54   ` Jakub Kicinski
2020-05-21  2:40     ` [EXT] " Andy Duan
2020-05-23  9:55   ` Fuzzey, Martin
2020-05-25  2:36     ` [EXT] " Andy Duan
2020-05-20  8:31 ` fugang.duan [this message]
2020-05-23 10:15   ` [PATCH net 2/4] dt-bindings: fec: update the gpr property Fuzzey, Martin
2020-05-25  3:16     ` [EXT] " Andy Duan
2020-05-20  8:31 ` [PATCH net 3/4] ARM: dts: imx6: update fec gpr property to match new format fugang.duan
2020-05-20 17:03   ` Andrew Lunn
2020-05-21  3:15     ` [EXT] " Andy Duan
2020-05-21 13:07       ` Andrew Lunn
2020-05-22  1:01         ` Andy Duan
2020-05-22 18:02           ` Fuzzey, Martin
2020-05-22 23:50             ` Andrew Lunn
2020-05-25  2:32               ` Andy Duan
2020-05-25  2:29             ` Andy Duan
2020-05-20  8:31 ` [PATCH net 4/4] ARM: dts: imx6qdl-sabresd: enable fec wake-on-lan fugang.duan

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=1589963516-26703-3-git-send-email-fugang.duan@nxp.com \
    --to=fugang.duan@nxp.com \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=martin.fuzzey@flowbird.group \
    --cc=netdev@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=shawnguo@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).