Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: dts: imx28: fix enet flapping issue
The net system is (intentionally) designed to only ever issue a hardware reset once. While there have been some hacks over the years to try and bring in a runtime PHY reset control, for example to reduce power by turning everything off when the interface is down; these are unused by many drivers and look to be slowly ripped out over time. The FEC driver, while aware of the imx28 ENET_CLK out, still ends up turning it off at points. Because of the above design choice to only ever reset once, this means the PHY has its clock turned off and back on without a real reset. And in the case of the imx28 MAC, this defaults to 25 MHz, then goes to 50 MHz, when there is a MAC restart. By connecting the enet-out clock to the ethphy handle, this gets connected to the PHY driver which never turns it off. This keeps the clock refcount always positive, and the clock will never turn off. Testing has shown this to eliminate the ethernet PHY link cycling/flapping issue on out i.MX28 platforms. Signed-off-by: Kris Bahnsen <kris@embeddedTS.com>
- Loading branch information