Re: [PATCH 2/2] net: davinci_mdio: allow to create phys from dt

2014-07-10 Thread Mugunthan V N
On Wednesday 09 July 2014 06:40 PM, Grygorii Strashko wrote: This patch allows to create PHYs from DT in case if they are explicitly defined. The of_mdiobus_register() is used for such purposes. For backward compatibility, call of_mdiobus_register() only in case if at least one PHY's child

[PATCH 2/2] net: davinci_mdio: allow to create phys from dt

2014-07-09 Thread Grygorii Strashko
This patch allows to create PHYs from DT in case if they are explicitly defined. The of_mdiobus_register() is used for such purposes. For backward compatibility, call of_mdiobus_register() only in case if at least one PHY's child is defined in DT, otherwise rollback to mdiobus_register().

Re: [PATCH 2/2] net: davinci_mdio: allow to create phys from dt

2014-07-09 Thread Santosh Shilimkar
On Wednesday 09 July 2014 09:10 AM, Grygorii Strashko wrote: This patch allows to create PHYs from DT in case if they are explicitly defined. The of_mdiobus_register() is used for such purposes. For backward compatibility, call of_mdiobus_register() only in case if at least one PHY's child