]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/usb/Kconfig
dm: usb: Add a uclass for USB controllers
[karo-tx-uboot.git] / drivers / usb / Kconfig
index b4a94427034c2cdb03aadeb6aa8dcac1894528f8..a4414efab753fed89dd0b8f6b848d21656399da3 100644 (file)
@@ -35,6 +35,20 @@ config USB
 
 if USB
 
+config DM_USB
+       bool "Enable driver model for USB"
+       depends on USB && DM
+       help
+         Enable driver model for USB. The USB interface is then implemented
+         by the USB uclass. Multiple USB controllers of different types
+         (XHCI, EHCI) can be attached and used. The 'usb' command works as
+         normal. OCHI is not supported at present.
+
+         Much of the code is shared but with this option enabled the USB
+         uclass takes care of device enumeration. USB devices can be
+         declared with the USB_DEVICE() macro and will be automatically
+         probed when found on the bus.
+
 source "drivers/usb/host/Kconfig"
 
 config USB_STORAGE