rv1126-uboot/drivers
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
..
adc dm: adc: decoupling regulator from adc uclass 2020-04-21 16:15:22 +08:00
ata
bios_emulator
block dm: blk: fix spi flash uclass different error when use mtd block 2019-10-09 09:13:21 +08:00
bootcount
clk UPSTREAM: clk: add clk_valid() 2020-06-02 16:07:42 +08:00
core core: dump: update "dm uclass" print format 2020-05-28 16:24:55 +08:00
cpu cpu: rockchip amp: add read_rockchip_image() 2020-01-09 14:31:59 +08:00
crypto Merge branch 'next-dev' into thunder-boot 2020-04-02 09:02:11 +08:00
ddr
demo
dfu
dma UPSTREAM: Convert CONFIG_APBH_DMA et al to Kconfig 2019-07-05 19:33:35 +08:00
firmware
fpga
gpio gpio/rockchip: rk_gpio support v2 gpio controller 2020-05-28 19:20:09 +08:00
i2c dm: i2c: add alias seq print 2019-09-20 15:54:43 +08:00
input Merge branch 'next-dev' into thunder-boot 2020-04-23 14:13:56 +08:00
irq irq: use CONFIG_ROCKCHIP_GPIO_V2 instead of CONFIG_IRQ2GPIO_V2 2020-05-28 19:20:09 +08:00
led
mailbox
memory
misc misc: otp: use buffer to store capability 2020-04-24 10:23:25 +08:00
mmc mmc: dw_mmc: set DWMCI_CARDTHRCTL 2020-06-02 09:49:38 +08:00
mtd mtd: mtd_blk: map the part address if dev is mtd_blk 2020-05-26 22:13:07 +08:00
net UPSTREAM: net: Add eth phy generic driver for shared MDIO 2020-06-02 16:10:47 +08:00
nvme
pch
pci
pcmcia
phy Merge branch 'next-dev' into thunder-boot 2020-04-16 15:48:00 +08:00
pinctrl pinctrl: export pinctrl_get_pins_count as generic API 2020-05-28 19:20:09 +08:00
power Revert "regulator: pwm: remove init voltage setting" 2020-05-27 15:45:58 +08:00
pwm
qe
ram ram: ramdisk_ro: add u-boot device definition 2020-04-26 15:14:11 +08:00
remoteproc
reset UPSTREAM: reset: fix reset_get_bulk when phandle error 2020-02-27 17:51:21 +08:00
rkflash rkflash: enable reinit SNOR from snor flash packet 2020-04-23 10:19:50 +08:00
rknand drivers: rknand: zftl: strengthen the parameter judgment for write loader API 2020-04-20 20:04:59 +08:00
rtc
scsi
serial dm: serial: allow skip console serial init 2020-05-22 16:46:40 +08:00
soc
sound
spi UPSTREAM: spi: Avoid using malloc() in a critical function 2020-05-21 17:14:01 +08:00
spmi
sysreset dm: sysreset: disable psci sysreset for SPL and TPL 2020-04-22 18:07:21 +08:00
thermal
timer
tpm
usb gadget: rockusb: support usbplug download mode 2020-05-22 16:47:41 +08:00
video drm/rockchip: filter the edid modes accordinig to vop max output resolution 2020-05-13 09:04:23 +08:00
watchdog
Kconfig
Makefile drivers: Makefile: build block drivers if enable CONFIG_SPL_MTD_SUPPORT 2020-04-17 14:39:39 +08:00