rv1126-uboot/include
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
..
andestech
android_avb lib: avb: implement get_preloaded_partition callback 2019-12-20 12:39:41 +08:00
asm-generic common: board_f: save U-Boot fdt blob 2020-02-28 11:17:03 +08:00
bedbug
cavium
configs rockchip: rv1126: support usbplug 2020-05-22 16:58:04 +08:00
cramfs
dm UPSTREAM: net: Add eth phy generic driver for shared MDIO 2020-06-02 16:10:47 +08:00
drm
dt-bindings rockchip: dts: rv1126: sync from kernel-4.19 2020-05-28 19:12:02 +08:00
environment/ti
faraday
fsl-mc
jffs2
linux UPSTREAM: linux/mii.h: Sync with Linux kernel v4.17 2020-06-02 16:07:42 +08:00
lzma
mtd
net
optee_include
pcmcia
power pmic: rk8xx: update reg count for RK817/809 2020-03-25 21:12:48 +08:00
rockchip dm: crypto: add zero hash support 2020-04-01 17:31:06 +08:00
samsung
spmi
synopsys
tee
test
u-boot include: rsa: fix compile error 2020-03-28 18:16:08 +08:00
usb UPSTREAM: usb: xhci: move xhci.h to include usb 2020-01-07 17:25:01 +08:00
zfs
.gitignore
ACEX1K.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
SA-1100.h
_exports.h
adc.h
addr_map.h
ahci.h
ali512x.h
altera.h
amp.h
android_ab.h
android_bootloader.h android: add function android_bcb_write 2019-11-22 08:41:53 +08:00
android_bootloader_message.h
android_cmds.h
android_image.h UPSTREAM: Update include/android_image.h from AOSP 2019-09-06 11:45:32 +08:00
ansi.h
api.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h
atf_common.h
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
atsha204a-i2c.h
attestation_key.h
autoboot.h
axp152.h
axp209.h
axp221.h
axp809.h
axp818.h
axp_pmic.h
backlight.h
bcd.h
bidram.h bidram: fix compile error 2020-05-22 16:46:40 +08:00
bios_emul.h
bitfield.h
blk.h
bmp_layout.h
boot_fit.h
boot_rkimg.h include: boot_rkimg: define more partition name 2020-05-22 16:39:51 +08:00
bootcount.h
bootm.h common: fit: support spl fit image check by tools/fit_check_sign 2020-03-29 09:57:04 +08:00
bootretry.h
bootstage.h
bouncebuf.h
bus_vcxk.h
bzlib.h
cbfs.h
charset.h
circbuf.h
cli.h
cli_hush.h
clk-uclass.h
clk.h UPSTREAM: clk: add clk_valid() 2020-06-02 16:07:42 +08:00
cmd_spl.h
command.h common: add U_BOOT_CMD_ALWAYS() support 2020-05-22 16:46:40 +08:00
common.h common: add autoboot_command_fail_handle() callback 2020-03-28 18:21:16 +08:00
common_timing_params.h
compiler.h
config_defaults.h
config_distro_bootcmd.h
config_distro_defaults.h
config_fallbacks.h
config_fsl_chain_trust.h
config_phylib_all_drivers.h
config_uncmd_spl.h
console.h
cortina.h
cpsw.h
cpu.h
crc.h
cros_ec.h
cros_ec_message.h
crypto.h dm: crypto: add API for multi regions checksum 2020-03-24 21:00:10 +08:00
ddr_spd.h
debug_uart.h
dfu.h
dialog_pmic.h
display.h
display_options.h
div64.h
dm-demo.h
dm.h
dm9000.h
dma.h
dp83848.h
drm_modes.h drm/rockchip: add picture aspect ratio define 2019-08-29 18:10:28 +08:00
ds1722.h
dt-structs.h
dt_table.h
dvfs.h
dw_hdmi.h
dwc3-omap-uboot.h
dwc3-uboot.h usb: dwc3: add dis-u1u2-quirk to reject enter U1 and U2 2020-01-15 08:17:17 +08:00
dwc_ahsata.h
dwmmc.h mmc: dw_mmc: set DWMCI_CARDTHRCTL 2020-06-02 09:49:38 +08:00
e500.h
ec_commands.h
edid.h
eeprom_field.h
eeprom_layout.h
efi.h
efi_api.h UPSTREAM: efi_loader: add device-path utils 2020-01-06 11:45:12 +08:00
efi_loader.h UPSTREAM: efi_loader: refactor boot device and loaded_image handling 2020-01-06 11:45:12 +08:00
elf.h UPSTREAM: riscv: Modify generic codes to support RISC-V 2020-04-14 12:45:33 +08:00
env_attr.h
env_callback.h
env_default.h
env_flags.h
environment.h env: add board env set api 2020-02-25 14:18:15 +08:00
errno.h
eth_phy.h UPSTREAM: net: Add eth phy generic driver for shared MDIO 2020-06-02 16:10:47 +08:00
ethsw.h
exports.h UPSTREAM: phy: Break include cycle 2020-06-02 16:07:42 +08:00
ext4fs.h
ext_common.h
exynos_lcd.h
fastboot.h fastboot: add Android-Q feature support 2019-10-28 09:45:19 +08:00
fat.h
fb_mmc.h
fb_nand.h
fdt.h
fdt_simplefb.h
fdt_support.h
fdtdec.h
fis.h
flash.h
fm_eth.h
fpga.h
fs.h
fs_internal.h
fsl_csu.h
fsl_dcu_fb.h
fsl_ddr.h
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h
fsl_ddrc_version.h
fsl_devdis.h
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h
fsl_esdhc.h
fsl_fman.h
fsl_ifc.h
fsl_immap.h
fsl_lpuart.h
fsl_mdio.h
fsl_memac.h
fsl_mmdc.h
fsl_pmic.h
fsl_qe.h
fsl_sec.h
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h
fsl_usb.h
fsl_validate.h
fsl_wdog.h
fuse.h
g_dnl.h
gdsys_fpga.h
generic-phy.h
gt64120.h
hash.h
hexdump.h
hw_sha.h
hwconfig.h
i2c.h
i2c_eeprom.h
i2s.h
i8042.h
ide.h
image-android-dt.h
image-sparse.h
image.h common: image-fit: correct fit_set_totalsize() 2020-06-01 14:44:48 +08:00
imx_thermal.h
imximage.h
init_helpers.h
initcall.h
input.h
inttypes.h
io-domain.h power: io-domain: initialize all io-domain 2019-07-25 16:23:07 +08:00
iomem.h
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
irq-generic.h irq: virq: add parent irq enable/disable management 2019-10-23 11:12:30 +08:00
irq-platform.h include: add rv1126 IRQ definitions 2020-03-05 14:33:07 +08:00
key.h dm: key: allow power key to skip irq handler init 2019-08-09 17:32:47 +08:00
key_matrix.h
keyboard.h
keymaster.h
kgdb.h
lattice.h
lcd.h
lcd_console.h
lcdvideo.h
ld9040.h
led-display.h
led.h
libata.h
libtizen.h
linker_lists.h
linux_logo.h
lmb.h
log.h
lxt971a.h
lynxkdi.h
mailbox-uclass.h
mailbox.h
malloc.h
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
memalign.h
memblk.h sysmem: simplify the memblk name 2020-02-28 11:22:04 +08:00
membuff.h
menu.h
micrel.h
mii_phy.h
miiphy.h UPSTREAM: net: introduce MDIO DM class for MDIO devices 2020-06-02 16:10:47 +08:00
mipi_display.h
misc.h misc: add a common api to get device by capability 2020-04-23 16:17:06 +08:00
mk48t59.h
mmc.h mmc: add func mmc_gpio_init_direct in spl 2020-02-24 14:03:43 +08:00
mpc8xx.h UPSTREAM: powerpc: mpc8xx: Change CONFIG_8xx to CONFIG_MPC8xx 2019-07-23 17:15:32 +08:00
mpc8xx_irq.h
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
msc01.h
mtd.h
mtd_blk.h mtd: mtd_blk: map the part address if dev is mtd_blk 2020-05-26 22:13:07 +08:00
mtd_node.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
nand.h
net.h
netdev.h UPSTREAM: net: dwc_et_qos: update weak function board_interface_eth_init 2020-06-02 16:10:47 +08:00
ns16550.h
ns87308.h
nuvoton_nct6102d.h
nvme.h
of_live.h
onenand_uboot.h
optee_test.h
os.h
palmas.h
panel.h
part.h disk: part: support get part info in spl 2019-07-29 15:35:17 +08:00
part_efi.h
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h
pch.h
pci.h
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pcmcia.h
pe.h
phy.h UPSTREAM: net: add comments to phy APIs 2020-06-02 16:07:42 +08:00
phy_interface.h UPSTREAM: phy: Break include cycle 2020-06-02 16:07:42 +08:00
phys2bus.h
physmem.h
post.h
power-domain-uclass.h
power-domain.h
ppc_asm.tmpl UPSTREAM: powerpc: mpc8xx: Change CONFIG_8xx to CONFIG_MPC8xx 2019-07-23 17:15:32 +08:00
ppc_defs.h
ps2mult.h
pwm.h
pwrseq.h
pxa_lcd.h
qfw.h
radeon.h
ram.h
ramdisk.h
rc.h
rc4.h
regmap.h
reiserfs.h
relocate.h
remoteproc.h
reset-uclass.h
reset.h UPSTREAM: reset: fix bulk API when DM_RESET is disabled 2020-01-07 17:24:50 +08:00
rk_timer_irq.h include: add rv1126 IRQ definitions 2020-03-05 14:33:07 +08:00
rknand.h
rksfc.h
rockchip-otp-v2.h misc: otp: support rockchip secure otp version 2 driver 2020-04-22 18:08:19 +08:00
rockchip-otp.h rockchip: otp: add secure_conf_base & otp_mask_base to platdata 2019-08-21 12:58:49 +08:00
rockchip_debugger.h
rockchip_ir.h
rockusb.h
rtc.h
rtc_def.h
s6e63d6.h
s_record.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandboxblockdev.h
sandboxfs.h
sata.h
scf0403_lcd.h
scsi.h
sdhci.h
sdp.h UPSTREAM: usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP 2020-01-07 17:24:58 +08:00
search.h
serial.h dm: serial: add "serial_dev_" API for normal serial device 2019-12-20 20:54:18 +08:00
sh_pfc.h
sh_tmu.h
sja1000.h
slre.h
smbios.h
smsc_lpc47m.h
smsc_sio1007.h
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi-mem.h
spi.h
spi_flash.h
spl.h fit: add rollback index protect support 2020-04-09 18:26:22 +08:00
spl_ab.h common: spl: ab: update new function to support ab system 2020-05-06 11:59:29 +08:00
spl_rkfw.h common: spl: fix cherry-pick sync conflict 2020-04-07 21:00:48 +08:00
splash.h
stacktrace.h
status_led.h
stdio.h
stdio_dev.h
stdlib.h
stratixII.h
sy8106a.h
sym53c8xx.h
syscon.h
sysmem.h sysmem: fix compile error 2020-05-22 16:46:40 +08:00
sysreset.h dm: sysreset: support mode args for reboot/reset command 2019-11-12 19:34:04 +08:00
tables_csum.h
tca642x.h
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
time.h
timer.h
timestamp.h
tmu.h
tpm.h
tps6586x.h
trace.h
tsec.h
tsi108.h
tsi148.h
twl4030.h
twl6030.h
ubi_uboot.h
ubifs_uboot.h
ubispl.h
uboot_aes.h
universe.h
usb.h UPSTREAM: usb: Add nonblock argument to submit_int_msg 2020-01-07 17:25:00 +08:00
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h
version.h
video.h
video_bridge.h video/drm: Add bridge get_timing interface 2019-09-17 10:37:51 +08:00
video_console.h
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h
video_font_data.h
video_logo.h
video_rockchip.h video/drm: rockchip_display: add return value for automatic test 2019-08-06 10:23:50 +08:00
virtex2.h
vsc7385.h
vsc9953.h
vsprintf.h
vxworks.h
w83c553f.h
wait_bit.h
watchdog.h UPSTREAM: powerpc: mpc8xx: Change CONFIG_8xx to CONFIG_MPC8xx 2019-07-23 17:15:32 +08:00
wdt.h
winbond_w83627.h
write_keybox.h common: write keybox: always write storage flag to security sorage 2019-11-27 11:31:04 +08:00
xilinx.h
xyzModem.h
zfs_common.h
zynqmppl.h
zynqpl.h