Skip to content
  • Shantur Rathore's avatar
    common: usb-hub: Reset USB 3.0 hubs only · 08e2cd6c
    Shantur Rathore authored and Marek Vasut's avatar Marek Vasut committed
    Additional testing of the changes introduced in commit 33e06dcb "common:
    usb-hub: Reset hub port before scanning") revealed that some USB 2.0 and 3.0
    flash drives didn't work in U-Boot on some Allwinner SoCs that support USB
    2.0 interfaces only.  More precisely, some of the tested USB 2.0 and 3.0
    flash drives failed to be detected and work on an OrangePi Zero 3, based on
    the Allwinner H616 SoC that supports USB 2.0 only, while the same USB flash
    drives worked just fine on a Pine64 H64, based on the Allwinner H6 SoC that
    supports both USB 2.0 and USB 3.0 interfaces.
    
    The USB ID of the above-mentioned USB 3.0 flash drive that failed to work is
    1f75:0917 (Innostor Technology Corporation IS917 Mass storage), it is 32 GB
    in size and sold under the PNY brand.  The mentioned USB 2.0 drive is some
    inexpensive no-name drive with an invalid USB ID.
    
    Resetting USB 3.0 hubs only, which this patch introduces to the USB hub
    resets, has been tested to work as expected, resolv...
    08e2cd6c