Re: [PATCH net 1/2] of: of_mdio: Add a whitelist of PHY compatibilities.

2016-01-27 Thread Andrew Lunn
On Wed, Jan 27, 2016 at 04:51:38PM +0300, Sergei Shtylyov wrote: > Hello. > > On 01/27/2016 03:11 AM, Andrew Lunn wrote: > > >Some phy nodes list a compatible value indicating the PHY make/model. > >This is never used to match the device to the driver. However it does > >confuse the code to separ

Re: [PATCH net 1/2] of: of_mdio: Add a whitelist of PHY compatibilities.

2016-01-27 Thread Sergei Shtylyov
Hello. On 01/27/2016 03:11 AM, Andrew Lunn wrote: Some phy nodes list a compatible value indicating the PHY make/model. This is never used to match the device to the driver. However it does confuse the code to separate a PHY from a generic MDIO device like a switch. Generic MDIO devices must ha

Re: [PATCH net 1/2] of: of_mdio: Add a whitelist of PHY compatibilities.

2016-01-27 Thread Aaro Koskinen
Hi, On Wed, Jan 27, 2016 at 01:11:38AM +0100, Andrew Lunn wrote: > Some phy nodes list a compatible value indicating the PHY make/model. > This is never used to match the device to the driver. However it does > confuse the code to separate a PHY from a generic MDIO device like a > switch. Generic

[PATCH net 1/2] of: of_mdio: Add a whitelist of PHY compatibilities.

2016-01-26 Thread Andrew Lunn
Some phy nodes list a compatible value indicating the PHY make/model. This is never used to match the device to the driver. However it does confuse the code to separate a PHY from a generic MDIO device like a switch. Generic MDIO devices must have a compatible value, PHYs can list clause 22 or 45,