u-boot/net
Ye Li 5fe419ef2a 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>
2020-05-10 13:24:48 +02:00
..
arp.c net: Don't overwrite waiting packets with asynchronous replies 2018-10-10 12:29:01 -05:00
arp.h net: Don't overwrite waiting packets with asynchronous replies 2018-10-10 12:29:01 -05:00
bootp.c env: Move env_get_ulong() to env.h 2019-08-11 16:43:41 -04:00
bootp.h net: Use packed structures for networking 2017-08-07 15:18:31 -05:00
cdp.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
cdp.h SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
dns.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
dns.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
eth_common.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
eth_internal.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
eth_legacy.c net: Always build the string_to_enetaddr() helper 2019-12-09 09:47:41 -06:00
eth-uclass.c net: Add eth phy generic driver for shared MDIO 2020-05-10 13:24:48 +02:00
fastboot.c net: fastboot: Fix build when FASTBOOT_FLASH is disabled 2018-07-02 14:14:20 -05:00
Kconfig net: tftp: Add help for CONFIG_TFTP_BLOCKSIZE 2020-04-27 14:55:29 -04:00
link_local.c common: Move random-number functions into their own header 2019-12-02 18:23:07 -05:00
link_local.h net: Add link-local addressing support 2012-05-23 17:53:08 -05:00
Makefile net: Move the checksum functions to lib/ 2019-12-15 11:43:57 +08:00
mdio-mux-uclass.c net: add MDIO_MUX DM class 2019-07-18 16:37:13 -05:00
mdio-uclass.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
net_rand.h net: Get mac address from driver as seed 2017-08-07 15:18:28 -05:00
net.c net: convert NET_MAXDEFRAG to Kconfig 2020-02-13 10:10:50 -05:00
nfs.c common: Move the image globals into image.h 2020-01-17 14:02:35 -05:00
nfs.h net: nfs: remove superfluous packed attribute 2019-09-04 11:37:19 -05:00
pcap.c net: introduce packet capture support 2019-09-04 11:37:19 -05:00
ping.c net: Consolidate UDP header functions 2018-10-10 12:29:02 -05:00
ping.h SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
rarp.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rarp.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sntp.c dm: net: rtc: Support using driver model for rtc in sntp 2015-05-05 20:58:40 -06:00
sntp.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tftp.c net: tftp: remove TFTP_MTU_BLOCKSIZE 2020-04-27 14:55:29 -04:00
wol.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
wol.h net: Add new wol command - Wake on LAN 2018-07-02 14:14:20 -05:00