]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: ti: cpsw: enable 10Mbps link speed support in rgmii mode
authorGrygorii Strashko <grygorii.strashko@ti.com>
Thu, 19 Sep 2019 08:16:37 +0000 (11:16 +0300)
committerTom Rini <trini@konsulko.com>
Sun, 3 Nov 2019 14:36:06 +0000 (09:36 -0500)
commit60e81d0d2855690347bc479c9c20b4ad5de0b703
treeb54f9abd560dfe9001406b3ab61e7140ec0af4ca
parent3b3e8a37d36e7a413bacf560ed138c6680bcb89b
net: ti: cpsw: enable 10Mbps link speed support in rgmii mode

According to TRMs the 10Mbps link speed is supported in RGMII only when
CPSW2G MAC SL is configured for External Control ("in band") mode
CPSW_SL_MACCTRL.EXT_EN(18) = 1.

Hence update cpsw_slave_update_link() to follow documentation.

[1] https://patchwork.kernel.org/patch/10285239/
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
drivers/net/ti/cpsw.c