net: phy: mdio-bcm-unimac: Allow specifying platform data
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 31 Jul 2017 19:04:25 +0000 (12:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Jul 2017 21:40:58 +0000 (14:40 -0700)
commitf248aff86d1fd6e60b656c2af278f1723c3b84c2
tree47d87274ab2d2658febf12073c6c6e6697119045
parente23597f7524ba11ddecc6bb3d9b31e5285fd3b45
net: phy: mdio-bcm-unimac: Allow specifying platform data

In preparation for having the bcmgenet driver migrate over the
mdio-bcm-unimac driver, add a platform data structure which allows
passing integrating specific details like bus name, wait function to
complete MDIO operations and PHY mask.

We also define what the platform device name contract is by defining
UNIMAC_MDIO_DRV_NAME and moving it to the platform_data header.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
drivers/net/phy/mdio-bcm-unimac.c
include/linux/platform_data/mdio-bcm-unimac.h [new file with mode: 0644]