aboutsummaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorAlex Marginean <alexm.osslist@gmail.com>2019-06-03 19:10:30 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2019-07-15 13:32:25 -0500
commitc3452b50c3aaa0db2bb0bc68039fed4d40bedbc0 (patch)
treef584c2b6965a2c920697f7c913790508af74da9f /include/dm
parent149468699e8f631f69d55b5c86b430824fc32d69 (diff)
downloadu-boot-c3452b50c3aaa0db2bb0bc68039fed4d40bedbc0.zip
u-boot-c3452b50c3aaa0db2bb0bc68039fed4d40bedbc0.tar.gz
u-boot-c3452b50c3aaa0db2bb0bc68039fed4d40bedbc0.tar.bz2
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>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/uclass-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index 5056a08..f9300a6 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -58,6 +58,7 @@ enum uclass_id {
UCLASS_LPC, /* x86 'low pin count' interface */
UCLASS_MAILBOX, /* Mailbox controller */
UCLASS_MASS_STORAGE, /* Mass storage device */
+ UCLASS_MDIO, /* MDIO bus */
UCLASS_MISC, /* Miscellaneous device */
UCLASS_MMC, /* SD / MMC card or chip */
UCLASS_MOD_EXP, /* RSA Mod Exp device */