From: dinguyen@altera.com (Dinh.Nguyen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4] arm: socfpga: Add initial support for Altera's SOCFPGA HW
Date: Wed, 18 Jul 2012 12:53:31 -0600 [thread overview]
Message-ID: <1342637611.13680.2.camel@dinh-ubuntu> (raw)
In-Reply-To: <201207181242.44326.arnd@arndb.de>
On Wed, 2012-07-18 at 12:42 +0000, Arnd Bergmann wrote:
> On Wednesday 18 July 2012, Pavel Machek wrote:
> > From: Dinh Nguyen <dinguyen@altera.com>
> >
> > Adding core definitions for Altera's SOCFPGA ARM platform.
> >
>
> There are two small details I noticed. You can either send
> a replacement patch or fixups on top of this one.
>
> > + gmac0: stmmac at ff700000 {
> > + compatible = "st,spear600-gmac";
> > + reg = <0xff700000 0x2000>;
> > + interrupts = <0 115 4>;
> > + interrupt-names = "macirq";
> > + mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
> > + phy-mode = "gmii";
> > + };
>
> We've just discussed the stmmac driver in the spear1340 update
> series. My understanding is that there are multiple variants of this
> that we may need to distintinguish. I think it's better if you
> make the compatible string something that does not reference the
> spear600 specific variant, unless you are certain that it is in fact
> completely identical to that one.
>
> Ideally you would have the version of the stmmac macro encoded
> in there, in addition to a name identifying altera as the company
> who added this one, ordered from most specific to least specific.
>
> For instance, this could be
>
> compatible = "altr,socfpga-stmmac", "st,stmmac-v12.3.45", "st,stmmac";
>
> Looking at the driver, it seems that this should actually not be called
> stmmac in the devicetree but rather dwmac, so better make it
>
> compatible = "altr,socfpga-stmmac", "snps,dwmac-4.567", "snps,dwmac";
>
Is there already work to update the bindings to reflect this change in
stmmac driver? Or could I help with setting up some patches for it?
Dinh
next prev parent reply other threads:[~2012-07-18 18:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-18 10:25 [PATCH v4] arm: socfpga: Add initial support for Altera's SOCFPGA HW Pavel Machek
2012-07-18 12:42 ` Arnd Bergmann
2012-07-18 12:59 ` Dinh Nguyen
2012-07-18 18:53 ` Dinh.Nguyen [this message]
2012-07-18 19:28 ` Arnd Bergmann
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=1342637611.13680.2.camel@dinh-ubuntu \
--to=dinguyen@altera.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.