ipq40xx: net: phy: ar40xx: remove PHY handling
authorRobert Marko <robert.marko@sartura.hr>
Thu, 8 Oct 2020 10:20:39 +0000 (12:20 +0200)
committerPetr Štetiar <ynezz@true.cz>
Wed, 23 Dec 2020 15:36:08 +0000 (16:36 +0100)
commit26b1f72381fbf96102c2c7c44a929881c70b15b9
tree1d9d125169fe613d480c9e6d84b4ea5b2a6e0c8f
parentb5c93edd7485e8c07b34cb96e180245080454960
ipq40xx: net: phy: ar40xx: remove PHY handling

Since we now have proper PHY driver for the QCA807x PHY-s, lets remove
PHY handling from AR40xx.

This removes PHY driver, PHY GPIO driver and PHY init code.
AR40xx still needs to handle PSGMII calibration as that requires R/W
from the switch, so I am unable to move it into PHY driver.

This also converted the AR40xx driver to use OF_MDIO to find the MDIO
bus as it now cant be set through the PHY driver.
So lets depend on OF_MDIO in KConfig.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
target/linux/ipq40xx/files/drivers/net/phy/ar40xx.c
target/linux/ipq40xx/patches-5.4/705-net-add-qualcomm-ar40xx-phy.patch