]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/usb.h
dm: usb: Allow usb host drivers to implement usb_reset_root_port
[karo-tx-uboot.git] / include / usb.h
index 2bb6a063c6b82d2e90023da151cf8a72963bfc47..25f8543f8deee122d5a42116a609d27de5862c8d 100644 (file)
@@ -705,6 +705,11 @@ struct dm_usb_ops {
         * is read). This should be NULL for EHCI, which does not need this.
         */
        int (*alloc_device)(struct udevice *bus, struct usb_device *udev);
+
+       /**
+        * reset_root_port() - Reset usb root port
+        */
+       int (*reset_root_port)(struct udevice *bus, struct usb_device *udev);
 };
 
 #define usb_get_ops(dev)       ((struct dm_usb_ops *)(dev)->driver->ops)