On Mon, Feb 11, 2019 at 05:44:00PM +0100, Marco Felsch wrote: > This patch backports linux commit e1b505a60366 ("net: phy: micrel: add > 125MHz reference clock workaround"). > > 8<--------------------- The original commit message ------------------- > > net: phy: micrel: add 125MHz reference clock workaround > > The micrel KSZ9031 phy has a optional clock pin (CLK125_NDO) which can be > used as reference clock for the MAC unit. The clock signal must meet the > RGMII requirements to ensure the correct data transmission between the > MAC and the PHY. The KSZ9031 phy does not fulfill the duty cycle > requirement if the phy is configured as slave. For a complete > describtion look at the errata sheets: DS80000691D or DS80000692D. > > The errata sheet recommends to force the phy into master mode whenever > there is a 1000Base-T link-up as work around. Only set the > "micrel,force-master" property if you use the phy reference clock provided > by CLK125_NDO pin as MAC reference clock in your application. > > Attenation, this workaround is only usable if the link partner can > be configured to slave mode for 1000Base-T. > > Signed-off-by: Markus Niebel <Markus.Niebel@xxxxxx> > [m.felsch@xxxxxxxxxxxxxx: fix dt-binding documentation] > [m.felsch@xxxxxxxxxxxxxx: use already existing result var for read/write] > [m.felsch@xxxxxxxxxxxxxx: add error handling] > [m.felsch@xxxxxxxxxxxxxx: add more comments] > Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> > Reviewed-by: Andrew Lunn <andrew@xxxxxxx> > Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> > 8<--------------------------------------------------------------------- > > Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> > --- Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox