summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2019-02-11 17:44:00 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-02-12 21:38:46 +0100
commit1714e048a62d214bf2cc298f519d8b78d90319b3 (patch)
tree09a7ace1b63fdf0f1f59f67fc12a3112101859af /commands
parent8a29e7b493c8c2aa57174c9e79c14b93c9807a4b (diff)
downloadbarebox-1714e048a62d214bf2cc298f519d8b78d90319b3.tar.gz
barebox-1714e048a62d214bf2cc298f519d8b78d90319b3.tar.xz
net: phy: micrel: backport ksz9031 125MHz ref-clk workaround
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@tqs.de> [m.felsch@pengutronix.de: fix dt-binding documentation] [m.felsch@pengutronix.de: use already existing result var for read/write] [m.felsch@pengutronix.de: add error handling] [m.felsch@pengutronix.de: add more comments] Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net> 8<--------------------------------------------------------------------- Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions