OSDN Git Service

phy: bcm-ns-usb3: add MDIO driver using proper bus layer
authorRafał Miłecki <rafal@milecki.pl>
Thu, 8 Jun 2017 20:04:28 +0000 (22:04 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 16 Jun 2017 07:52:26 +0000 (13:22 +0530)
commitaf850e14a7ae493e85090723eb9cf85dafb8b243
tree33d116dfaf18b08209826017d203ec27cc6197b8
parent91699e98f19a392dc59defd0731a0434f842f9d4
phy: bcm-ns-usb3: add MDIO driver using proper bus layer

As USB 3.0 PHY is attached to the MDIO bus this module should provide a
MDIO driver and use a proper bus layer. This is a proper (cleaner)
solution which doesn't require code to know this specific MDIO bus
details. It also allows reusing the driver with other MDIO buses.

For now keep platform device support in place. We may consider dropping
it once MDIO bindings gets used "everywhere".

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/broadcom/Kconfig
drivers/phy/broadcom/phy-bcm-ns-usb3.c