From: jon.mason@broadcom.com (Jon Mason)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 4/7] Documentation: devicetree: net: add NS2 bindings to amac
Date: Wed, 2 Nov 2016 13:24:57 -0400 [thread overview]
Message-ID: <20161102172456.GA11881@broadcom.com> (raw)
In-Reply-To: <ab064a45-0172-fa28-4ac6-0d3159a26506@cogentembedded.com>
On Wed, Nov 02, 2016 at 08:18:51PM +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 11/02/2016 08:08 PM, Jon Mason wrote:
>
> >Clean-up the documentation to the bgmac-amac driver, per suggestion by
> >Rob Herring, and add details for NS2 support.
> >
> >Signed-off-by: Jon Mason <jon.mason@broadcom.com>
> >---
> > Documentation/devicetree/bindings/net/brcm,amac.txt | 16 +++++++++++-----
> > 1 file changed, 11 insertions(+), 5 deletions(-)
> >
> >diff --git a/Documentation/devicetree/bindings/net/brcm,amac.txt b/Documentation/devicetree/bindings/net/brcm,amac.txt
> >index ba5ecc1..2fefa1a 100644
> >--- a/Documentation/devicetree/bindings/net/brcm,amac.txt
> >+++ b/Documentation/devicetree/bindings/net/brcm,amac.txt
> >@@ -2,11 +2,17 @@ Broadcom AMAC Ethernet Controller Device Tree Bindings
> > -------------------------------------------------------------
> >
> > Required properties:
> >- - compatible: "brcm,amac" or "brcm,nsp-amac"
> >- - reg: Address and length of the GMAC registers,
> >- Address and length of the GMAC IDM registers
> >- - reg-names: Names of the registers. Must have both "amac_base" and
> >- "idm_base"
> >+ - compatible: "brcm,amac"
> >+ "brcm,nsp-amac"
> >+ "brcm,ns2-amac"
> >+ - reg: Address and length of the register set for the device. It
> >+ contains the information of registers in the same order as
> >+ described by reg-names
> >+ - reg-names: Names of the registers.
> >+ "amac_base": Address and length of the GMAC registers
> >+ "idm_base": Address and length of the GMAC IDM registers
> >+ "nicpm_base": Address and length of the NIC Port Manager
> >+ registers (required for Northstar2)
>
> Why this "_base" suffix? It looks redundant...
Yes. Rob Herring pointed out the same thing. It is ugly, but follows
the existing binding.
Thanks,
Jon
>
> [...]
>
> MBR, Sergei
>
WARNING: multiple messages have this Message-ID (diff)
From: Jon Mason <jon.mason@broadcom.com>
To: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Cc: David Miller <davem@davemloft.net>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Florian Fainelli <f.fainelli@gmail.com>,
rafal@milecki.pl, bcm-kernel-feedback-list@broadcom.com,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 4/7] Documentation: devicetree: net: add NS2 bindings to amac
Date: Wed, 2 Nov 2016 13:24:57 -0400 [thread overview]
Message-ID: <20161102172456.GA11881@broadcom.com> (raw)
In-Reply-To: <ab064a45-0172-fa28-4ac6-0d3159a26506@cogentembedded.com>
On Wed, Nov 02, 2016 at 08:18:51PM +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 11/02/2016 08:08 PM, Jon Mason wrote:
>
> >Clean-up the documentation to the bgmac-amac driver, per suggestion by
> >Rob Herring, and add details for NS2 support.
> >
> >Signed-off-by: Jon Mason <jon.mason@broadcom.com>
> >---
> > Documentation/devicetree/bindings/net/brcm,amac.txt | 16 +++++++++++-----
> > 1 file changed, 11 insertions(+), 5 deletions(-)
> >
> >diff --git a/Documentation/devicetree/bindings/net/brcm,amac.txt b/Documentation/devicetree/bindings/net/brcm,amac.txt
> >index ba5ecc1..2fefa1a 100644
> >--- a/Documentation/devicetree/bindings/net/brcm,amac.txt
> >+++ b/Documentation/devicetree/bindings/net/brcm,amac.txt
> >@@ -2,11 +2,17 @@ Broadcom AMAC Ethernet Controller Device Tree Bindings
> > -------------------------------------------------------------
> >
> > Required properties:
> >- - compatible: "brcm,amac" or "brcm,nsp-amac"
> >- - reg: Address and length of the GMAC registers,
> >- Address and length of the GMAC IDM registers
> >- - reg-names: Names of the registers. Must have both "amac_base" and
> >- "idm_base"
> >+ - compatible: "brcm,amac"
> >+ "brcm,nsp-amac"
> >+ "brcm,ns2-amac"
> >+ - reg: Address and length of the register set for the device. It
> >+ contains the information of registers in the same order as
> >+ described by reg-names
> >+ - reg-names: Names of the registers.
> >+ "amac_base": Address and length of the GMAC registers
> >+ "idm_base": Address and length of the GMAC IDM registers
> >+ "nicpm_base": Address and length of the NIC Port Manager
> >+ registers (required for Northstar2)
>
> Why this "_base" suffix? It looks redundant...
Yes. Rob Herring pointed out the same thing. It is ugly, but follows
the existing binding.
Thanks,
Jon
>
> [...]
>
> MBR, Sergei
>
next prev parent reply other threads:[~2016-11-02 17:24 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-02 17:08 [PATCH v5 0/7] add NS2 support to bgmac Jon Mason
2016-11-02 17:08 ` Jon Mason
2016-11-02 17:08 ` [PATCH v5 1/7] net: phy: broadcom: add bcm54xx_auxctl_read Jon Mason
2016-11-02 17:08 ` Jon Mason
2016-11-02 17:11 ` Florian Fainelli
2016-11-02 17:11 ` Florian Fainelli
2016-11-02 17:08 ` [PATCH v5 2/7] Documentation: devicetree: add PHY lane swap binding Jon Mason
2016-11-02 17:08 ` Jon Mason
2016-11-02 17:11 ` Florian Fainelli
2016-11-02 17:11 ` Florian Fainelli
2016-11-02 17:39 ` Andrew Lunn
2016-11-02 17:39 ` Andrew Lunn
2016-11-02 17:08 ` [PATCH v5 3/7] net: phy: broadcom: Add BCM54810 PHY entry Jon Mason
2016-11-02 17:08 ` Jon Mason
2016-11-02 17:12 ` Florian Fainelli
2016-11-02 17:12 ` Florian Fainelli
2016-11-02 18:37 ` Andrew Lunn
2016-11-02 18:37 ` Andrew Lunn
2016-11-02 17:08 ` [PATCH v5 4/7] Documentation: devicetree: net: add NS2 bindings to amac Jon Mason
2016-11-02 17:08 ` Jon Mason
2016-11-02 17:08 ` Jon Mason
2016-11-02 17:13 ` Florian Fainelli
2016-11-02 17:13 ` Florian Fainelli
2016-11-02 17:18 ` Sergei Shtylyov
2016-11-02 17:18 ` Sergei Shtylyov
2016-11-02 17:24 ` Jon Mason [this message]
2016-11-02 17:24 ` Jon Mason
2016-11-02 19:52 ` Sergei Shtylyov
2016-11-02 19:52 ` Sergei Shtylyov
2016-11-02 17:08 ` [PATCH v5 5/7] net: ethernet: bgmac: device tree phy enablement Jon Mason
2016-11-02 17:08 ` Jon Mason
2016-11-02 17:16 ` Florian Fainelli
2016-11-02 17:16 ` Florian Fainelli
2016-11-02 17:16 ` Florian Fainelli
2016-11-03 8:31 ` Rafal Milecki
2016-11-03 8:31 ` Rafal Milecki
2016-11-03 8:31 ` Rafal Milecki
2016-11-03 16:45 ` Jon Mason
2016-11-03 16:45 ` Jon Mason
2016-11-03 16:45 ` Jon Mason
2016-11-02 17:08 ` [PATCH v5 6/7] net: ethernet: bgmac: add NS2 support Jon Mason
2016-11-02 17:08 ` Jon Mason
2016-11-02 17:17 ` Florian Fainelli
2016-11-02 17:17 ` Florian Fainelli
2016-11-02 17:08 ` [PATCH v5 7/7] arm64: dts: NS2: add AMAC ethernet support Jon Mason
2016-11-02 17:08 ` Jon Mason
2016-11-02 17:08 ` Jon Mason
2016-11-02 17:17 ` Florian Fainelli
2016-11-02 17:17 ` Florian Fainelli
2016-11-03 20:02 ` [PATCH v5 0/7] add NS2 support to bgmac David Miller
2016-11-03 20:02 ` David Miller
2016-11-03 20:02 ` David Miller
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=20161102172456.GA11881@broadcom.com \
--to=jon.mason@broadcom.com \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.