rv1126-uboot/net
Ye Li 70664e19a3 UPSTREAM: net: Add eth phy generic driver for shared MDIO
For dual ethernet controllers, the HW design may connect ETH phys to
one MDIO ports. So two different ethernet drivers have to share MDIO bus.
Since two ethernet drivers are independent, we can't ensure their probe
order.

To resolve this problem, introduce an eth phy generic driver and uclass.

After eth-uclass binds, we search the mdio node and binds the phy node
with the eth-phy-generic driver.

When one eth driver get its phy device, the parent of phy device will
probe prior than phy device. So this ensure the eth driver ownes the
MDIO bus will be probed before using its MDIO.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: Ice83493e9e1caf3842f9ce0c129e29ad46cc0532
2020-06-02 16:10:47 +08:00
..
Kconfig Kconfig: spl: Add SPL support options to Kconfig 2016-09-16 17:03:39 -04:00
Makefile UPSTREAM: net: introduce MDIO DM class for MDIO devices 2020-06-02 16:10:47 +08:00
arp.c env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
arp.h net/arp: account for ARP delay, avoid duplicate packets on timeout 2015-10-28 14:57:37 -05:00
bootp.c env: Rename getenv_hex(), getenv_yesno(), getenv_ulong() 2017-08-16 08:30:32 -04:00
bootp.h net: Use packed structures for networking 2017-08-07 15:18:31 -05:00
cdp.c net: cosmetic: Fix checkpatch.pl failures in net.c 2015-04-18 11:11:35 -06:00
cdp.h net: cosmetic: Clean up CDP variables and functions 2015-04-18 11:11:34 -06:00
checksum.c net: Add a separate file for IP checksumming 2015-01-23 21:44:59 -07:00
dns.c env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
dns.h net: Use packed structures for networking 2017-08-07 15:18:31 -05:00
eth-uclass.c UPSTREAM: net: Add eth phy generic driver for shared MDIO 2020-06-02 16:10:47 +08:00
eth_common.c env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
eth_internal.h env: Rename eth_setenv_enetaddr() to eth_env_set_enetaddr() 2017-08-16 08:23:56 -04:00
eth_legacy.c env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
fastboot.c fastboot: Handle getvar for partition-size 2017-11-14 10:55:47 +08:00
link_local.c env: Rename some other getenv()-related functions 2017-08-16 08:31:11 -04:00
link_local.h
mdio-uclass.c UPSTREAM: net: introduce MDIO DM class for MDIO devices 2020-06-02 16:10:47 +08:00
net.c Add support for fastboot command over UDP 2017-11-14 10:55:44 +08:00
net_rand.h net: Get mac address from driver as seed 2017-08-07 15:18:28 -05:00
nfs.c Revert "net: nfs: Use the tx buffer to construct rpc msgs" 2016-09-09 13:13:41 -05:00
nfs.h net: nfs: Drop CONFIG_NFS_READ_SIZE 2017-09-07 13:23:52 -05:00
ping.c net: cosmetic: Fix checkpatch.pl failures in net.c 2015-04-18 11:11:35 -06:00
ping.h SPDX License cleanup for LiMon imported files 2014-10-10 09:44:43 -04:00
rarp.c net: tftp: Move tftp.h file from ./net to ./include/net 2015-09-07 13:41:04 +02:00
rarp.h net: cosmetic: Clean up RARP variables and functions 2015-04-18 11:11:33 -06:00
sntp.c dm: net: rtc: Support using driver model for rtc in sntp 2015-05-05 20:58:40 -06:00
sntp.h net: Use packed structures for networking 2017-08-07 15:18:31 -05:00
tftp.c UPSTREAM: net/tftp: fix build if CMD_BOOTEFI is not set 2018-01-16 18:16:48 +08:00