* [U-Boot] Which entry in drivers/net/phy/realtek.c matches my device? @ 2016-03-20 7:52 Michael Haas 2016-03-21 12:32 ` Chen-Yu Tsai 0 siblings, 1 reply; 2+ messages in thread From: Michael Haas @ 2016-03-20 7:52 UTC (permalink / raw) To: u-boot Hello all, I'd like to add some device-specific hacks to realtek.c. I'm using the Olimex A20-OlinuXino-Lime2 which uses the RTL8211CL PHY. Which of the various phy_driver structs is responsible for that device? I presume it's keyed off the .uid, but I'm not sure how to find the ID of the specific PHY used on my device. Thanks! Michael ^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] Which entry in drivers/net/phy/realtek.c matches my device? 2016-03-20 7:52 [U-Boot] Which entry in drivers/net/phy/realtek.c matches my device? Michael Haas @ 2016-03-21 12:32 ` Chen-Yu Tsai 0 siblings, 0 replies; 2+ messages in thread From: Chen-Yu Tsai @ 2016-03-21 12:32 UTC (permalink / raw) To: u-boot Hi, On Sun, Mar 20, 2016 at 3:52 PM, Michael Haas <haas@computerlinguist.org> wrote: > Hello all, > > I'd like to add some device-specific hacks to realtek.c. I'm using the > Olimex A20-OlinuXino-Lime2 which uses the RTL8211CL PHY. > > Which of the various phy_driver structs is responsible for that device? > I presume it's keyed off the .uid, but I'm not sure how to find the ID > of the specific PHY used on my device. In Linux you can get the PHY id from /sys/class/mdio_bus/*/*/phy_id U-boot should have some MII / MDIO related commands you could use. The datasheet here: https://www.rom.by/files/rtl8211cl_datasheet_1.3.pdf also gives the PHY id, though I don't know how it maps to what the code expects. ChenYu > > Thanks! > > Michael > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-21 12:32 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-03-20 7:52 [U-Boot] Which entry in drivers/net/phy/realtek.c matches my device? Michael Haas 2016-03-21 12:32 ` Chen-Yu Tsai
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox