net: phy: micrel: Add config_init for LAN8814
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Thu, 23 Dec 2021 08:28:26 +0000 (09:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Dec 2021 10:48:34 +0000 (10:48 +0000)
commit7467d716583eec12ae84a33fb1fb27d22333fc64
treec5f452a4900967f6c7022a0e5ae8f5fe7e6246d7
parent24d8a9001a91716d9399d1606b32ec27e9f6d125
net: phy: micrel: Add config_init for LAN8814

Add config_init for LAN8814. This function is required for the following
reasons:
- we need to make sure that the PHY is reset,
- disable ANEG with QSGMII PCS Host side
- swap the MDI-X A,B transmit so that there will not be any link flip-flaps
  when the PHY gets a link.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c