Re: [PATCH] net: phy: fixed-phy: Drop GPIO from fixed_phy_add()

2019-01-14 Thread Andrew Lunn
> struct phy_device *fixed_phy_register(unsigned int irq, > struct fixed_phy_status *status, > - int link_gpio, > struct device_node *np) > { > struct fixed_mdio_bus *fmb = &platform_fm

Re: [PATCH] net: phy: fixed-phy: Drop GPIO from fixed_phy_add()

2019-01-14 Thread Andrew Lunn
On Mon, Jan 14, 2019 at 09:02:25AM +0100, Linus Walleij wrote: > All users of the fixed_phy_add() pass -1 as GPIO number > to the fixed phy driver, and all users of fixed_phy_register() > pass -1 as GPIO number as well, except for the device > tree MDIO bus. > > Any new users should create a prope

Re: [PATCH] net: phy: fixed-phy: Drop GPIO from fixed_phy_add()

2019-01-14 Thread Andrew Lunn
On Mon, Jan 14, 2019 at 09:02:25AM +0100, Linus Walleij wrote: > All users of the fixed_phy_add() pass -1 as GPIO number > to the fixed phy driver, and all users of fixed_phy_register() > pass -1 as GPIO number as well, except for the device > tree MDIO bus. > > Any new users should create a prope

[PATCH] net: phy: fixed-phy: Drop GPIO from fixed_phy_add()

2019-01-14 Thread Linus Walleij
All users of the fixed_phy_add() pass -1 as GPIO number to the fixed phy driver, and all users of fixed_phy_register() pass -1 as GPIO number as well, except for the device tree MDIO bus. Any new users should create a proper device and pass the GPIO as a descriptor associated with the device so de