]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: introduce MDIO DM class for MDIO devices
authorAlex Marginean <alexm.osslist@gmail.com>
Mon, 3 Jun 2019 16:10:30 +0000 (19:10 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Jul 2019 18:32:25 +0000 (13:32 -0500)
commitc3452b50c3aaa0db2bb0bc68039fed4d40bedbc0
treef584c2b6965a2c920697f7c913790508af74da9f
parent149468699e8f631f69d55b5c86b430824fc32d69
net: introduce MDIO DM class for MDIO devices

Adds UCLASS_MDIO DM class supporting MDIO buses that are probed as
stand-alone devices.  Useful in particular for systems that support
DM_ETH and have a stand-alone MDIO hardware block shared by multiple
Ethernet interfaces.

Signed-off-by: Alex Marginean <alexm.osslist@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
cmd/mdio.c
drivers/net/Kconfig
include/dm/uclass-id.h
include/miiphy.h
net/Makefile
net/mdio-uclass.c [new file with mode: 0644]