mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
arm64: dts: rockchip: rk3566: disable usb2 lpm for xhci
The xHCI specification 1.1 does not require xHCI-compliant controllers to always enable hardware USB2 LPM. However, the current xHCI driver always enable it when seeing HLC=1. On rk3566 platforms, the xHCI USB2 LPM is enabled by default. And we found that a lot of USB Disks have USB2 HW LPM broken issue when connected to rk3566 USB2 OTG interface. Here are a part of special USB Disks with USB2 HW LPM broken: 1. idVendor=325d, idProduct=6410, Manufacturer: aigo 2. idVendor=21c4, idProduct=0cd1, Manufacturer: Lexar 3. idVendor=0951, idProduct=1666, Manufacturer: Kingston When use dd command to write to these USB Disks, it may fail with the following log: [ 2844.700148] usb 7-1: reset high-speed USB device number 4 using xhci-hcd [ 2889.072272] usb 7-1: reset high-speed USB device number 4 using xhci-hcd [ 2921.498045] usb 7-1: reset high-speed USB device number 4 using xhci-hcd ...... [ 2953.923773] usb 7-1: reset high-speed USB device number 4 using xhci-hcd Theoretically, we can add USB_QUIRK_NO_LPM individually for these special USB Disks, however, it's diffcult to cover all USB Disks. So it's better to disable the USB2 LPM for xHCI on rk3566 platforms. Change-Id: I2c180b68f41a4d25a4c860c32550f3a406eb2028 Signed-off-by: William Wu <william.wu@rock-chips.com>
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
extcon = <&usb2phy0>;
|
||||
maximum-speed = "high-speed";
|
||||
snps,dis_u2_susphy_quirk;
|
||||
snps,usb2-lpm-disable;
|
||||
};
|
||||
|
||||
/delete-node/ &combphy0_us;
|
||||
|
||||
Reference in New Issue
Block a user