netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Supporting C45 PHY without ID registers
@ 2016-06-27 23:36 Moritz Fischer
  2016-06-28  0:56 ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: Moritz Fischer @ 2016-06-27 23:36 UTC (permalink / raw)
  To: netdev

Hi all,

I have a 10GigE PHY that I'm working with that has most of it's
functionality availabile via MDIO
in a clause 45 compliant fashion, however the usual probe method fails
since the id registers
are not implemented.

I hacked up drivers/of/of_mdio.c to include something similar to of_get_phy_id()
for c45 phys but I was wondering if someone else has a better idea
than this in my dt:

ethernet_phy1: ethernet-phy@4 {
    compatible = "ethernet-phy-id0000.0000",
                        "ethernet-phy-id4242.4242",
                        "ethernet-phy-id0000.0000",
                        "ethernet-phy-id4343.4343",
                        "ethernet-phy-ieee802.3-c45";
    reg = <4>;
};

Where I made up 42424242 and 43434343 as ids for my PCS / PMA. Ideas?

Cheers,

Moritz

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-28  1:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-27 23:36 Supporting C45 PHY without ID registers Moritz Fischer
2016-06-28  0:56 ` Andrew Lunn
2016-06-28  1:50   ` Moritz Fischer

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).