OpenCloudOS-Kernel/drivers/net/ethernet/ti
Grygorii Strashko 0a0ea06872 net: davinci_mdio: allow to create phys from dt
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().

Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-16 23:33:16 -07:00
..
Kconfig net: davinci_mdio: reuse for keystone2 arch 2014-07-16 23:33:16 -07:00
Makefile drivers: net: cpsw-phy-sel: Add new driver for phy mode selection for cpsw 2013-09-24 10:33:07 -04:00
cpmac.c net: cpmac: fix in debug messages 2014-07-10 16:55:22 -07:00
cpsw-phy-sel.c drivers: net: cpsw-phy-sel: add am43xx platform support 2014-05-13 00:11:00 -04:00
cpsw.c drivers: net: cpsw: disable coalesce when rx_coalesce_usecs is zero 2014-07-15 23:13:57 -07:00
cpsw.h drivers: net: cpsw-phy-sel: Add new driver for phy mode selection for cpsw 2013-09-24 10:33:07 -04:00
cpsw_ale.c drivers: net: cpsw: enable promiscuous mode support 2014-01-23 13:12:14 -08:00
cpsw_ale.h drivers: net: cpsw: enable promiscuous mode support 2014-01-23 13:12:14 -08:00
cpts.c ptp: Classify ptp over ip over vlan packets 2014-07-07 16:57:18 -07:00
cpts.h ti: Remove extern from function prototypes 2013-09-24 12:54:10 -07:00
davinci_cpdma.c drivers: net: davinci_cpdma: double free on error 2014-06-11 15:39:19 -07:00
davinci_cpdma.h net/davinci_cpdma: remove unused argument in cpdma_chan_submit() 2013-04-25 04:11:50 -04:00
davinci_emac.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-06-03 23:32:12 -07:00
davinci_mdio.c net: davinci_mdio: allow to create phys from dt 2014-07-16 23:33:16 -07:00
tlan.c tlan: Isolate external PHY when using internal PHY 2014-07-07 17:06:52 -07:00
tlan.h tlan: Don't scream if no link 2014-07-07 17:06:52 -07:00