From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: dts: marvell: 8040-mcbin: Enable 1GB Ethernet
Date: Tue, 6 Jun 2017 14:10:25 +0200 [thread overview]
Message-ID: <20170606121025.GD18198@lunn.ch> (raw)
In-Reply-To: <3e387cee-0107-8c29-d99a-abd61bdef9c2@arm.com>
On Tue, Jun 06, 2017 at 09:21:58AM +0100, Marc Zyngier wrote:
> Hi Andrew,
>
> On 05/06/17 22:16, Andrew Lunn wrote:
> >> +&cps_eth1 {
> >> + status = "okay";
> >> + phy = <&phy0>;
> >> + phy-mode = "sgmii";
> >> +};
> >
> > Hi Marc
> >
> > Documentation/devicetree/bindings/net/ethernet.txt says:
> >
> > - phy-handle: phandle, specifies a reference to a node representing a PHY
> > device; this property is described in ePAPR and so preferred;
> > - phy: the same as "phy-handle" property, not recommended for new bindings.
>
> Happy to amend the patch, though armada-8040-db.dts is already using
> "phy" (and not "phy-handle"). Should that one be fixed as well in the
> name of consistency? Also,
> Documentation/devicetree/bindings/net/marvell-pp2.txt only mentions the
> "phy" property. If feels a bit odd not to at least recommend the new
> property in the binding documentation.
Ah. As Russell pointed out, parsing this property is done by the
driver, not a central helper. mvpp2 only supports phy, not phy-handle.
This is not a new binding, it has been around since the middle of
2014. So "phy" is O.K.
Sometime in the future, it would be nice to centralise the parsing of
this and phy-mode.
Andrew
next prev parent reply other threads:[~2017-06-06 12:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-05 20:01 [PATCH] arm64: dts: marvell: 8040-mcbin: Enable 1GB Ethernet Marc Zyngier
2017-06-05 21:16 ` Andrew Lunn
2017-06-06 8:21 ` Marc Zyngier
2017-06-06 12:10 ` Andrew Lunn [this message]
2017-06-06 9:02 ` Thomas Petazzoni
2017-06-06 9:06 ` Thomas Petazzoni
2017-06-06 9:18 ` Marc Zyngier
2017-06-06 9:36 ` Thomas Petazzoni
2017-06-06 9:57 ` Russell King - ARM Linux
2017-06-06 9:16 ` Marc Zyngier
2017-06-06 9:19 ` Thomas Petazzoni
2017-06-06 12:52 ` Thomas Petazzoni
2017-06-06 13:34 ` Russell King - ARM Linux
2017-06-06 13:48 ` Marc Zyngier
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=20170606121025.GD18198@lunn.ch \
--to=andrew@lunn.ch \
--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 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).