net: phy: micrel: lan8814 cable improvement errata
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Mon, 4 Mar 2024 09:15:48 +0000 (10:15 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 5 Mar 2024 19:17:46 +0000 (11:17 -0800)
commitad080db4483b46576ccaa68136a1e7918faa8a18
treeb810eb18ca02f54289046bb93631a17828fe4554
parente9097f8e1e768a359f2484329191ece2922330ec
net: phy: micrel: lan8814 cable improvement errata

When the length of the cable is more than 100m and the lan8814 is
configured to run in 1000Base-T Slave then the register of the device
needs to be optimized.

Workaround this by setting the measure time to a value of 0xb. This
value can be set regardless of the configuration.

This issue is described in 'LAN8814 Silicon Errata and Data Sheet
Clarification' and according to that, this will not be corrected in a
future silicon revision.

Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Link: https://lore.kernel.org/r/20240304091548.1386022-3-horatiu.vultur@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/micrel.c