aboutsummaryrefslogtreecommitdiff
path: root/include/dm/uclass-id.h
diff options
context:
space:
mode:
authorSimon Glass2015-03-25 12:22:10 -0600
committerSimon Glass2015-04-18 11:11:21 -0600
commit054fe48eb2c968e163e35156fac4c04a320c3744 (patch)
treee188e1d24aee81285ba19a7eb5327f41572477c3 /include/dm/uclass-id.h
parent361ad6afc479d8aac330525b98df7a36dea4116d (diff)
dm: usb: Add driver model support for hubs
Adjust the existing hub code to support driver model, and add a USB driver for hubs. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/dm/uclass-id.h')
-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 95bd2499569..967efec8c4b 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -41,6 +41,7 @@ enum uclass_id {
UCLASS_ETH, /* Ethernet device */
UCLASS_LPC, /* x86 'low pin count' interface */
UCLASS_USB, /* USB bus */
+ UCLASS_USB_HUB, /* USB hub */
UCLASS_COUNT,
UCLASS_INVALID = -1,