openwrt/target/linux/apm821xx/patches-5.4
Christian Lamparter a8ad881b83 apm821xx: fix WD MyBook Live DUO USB-Port
where to begin? the USB regulator settings were just
a part of the issue. With them changed, according to
the forum it still failed when a USB device was
connected to the port with:

dwc2 4bff80000.usbotg: dwc2_restore_global_registers: no global registers to restore
dwc2 4bff80000.usbotg: dwc2_exit_partial_power_down: failed to restore registers
dwc2 4bff80000.usbotg: exit partial_power_down failed
dwc2 4bff80000.usbotg: HC died; cleaning up

One clue was found upstream in
commit cc10ce0c51b1 ("usb: dwc2: disable power_down on Amlogic devices")

|Disable power_down by setting the parameter to
|DWC2_POWER_DOWN_PARAM_NONE. This fixes a problem on various Amlogic
|Meson SoCs where USB devices are only recognized when plugged in before
|booting Linux. A hot-plugged USB device was not detected even though the
|device got power (my USB thumb drive for example has an LED which lit
|up).
|[...]

the same method proposed there worked with APM821xx's USB IP-Core.

Link: https://forum.openwrt.org/t/wd-my-book-duo-usb/111926/2
Reported-by: thwe and takimata (openwrt forum)
Fixes: b70d3557e0 ("apm821xx: clean up gpio-hogs")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(cherry picked from commit 832b9cbd74)
2021-12-27 13:55:24 +01:00
..
100-dwc2-disable-powerdown.patch apm821xx: fix WD MyBook Live DUO USB-Port 2021-12-27 13:55:24 +01:00
111-crypto-crypto4xx-reduce-memory-fragmentation.patch ath79: add support for kernel 5.4 2020-02-28 17:50:46 +01:00
112-crypto-crypto4xx-use-GFP_KERNEL-for-big-allocations.patch ath79: add support for kernel 5.4 2020-02-28 17:50:46 +01:00
201-add-amcc-apollo3g-support.patch ath79: add support for kernel 5.4 2020-02-28 17:50:46 +01:00
300-fix-atheros-nics-on-apm82181.patch
301-fix-memory-map-wndr4700.patch kernel: Update kernel 5.4 to version 5.4.50 2020-07-04 21:12:42 +02:00
801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch kernel: bump 5.4 to 5.4.163 2021-12-12 20:08:17 +01:00
802-usb-xhci-force-msi-renesas-xhci.patch kernel: bump 5.4 to 5.4.163 2021-12-12 20:08:17 +01:00
803-hwmon-tc654-add-detection-routine.patch ath79: add support for kernel 5.4 2020-02-28 17:50:46 +01:00
804-hwmon-tc654-add-thermal_cooling-device.patch ath79: add support for kernel 5.4 2020-02-28 17:50:46 +01:00
900-powerpc-bootwrapper-force-gzip-as-mkimage-s-compress.patch ath79: add support for kernel 5.4 2020-02-28 17:50:46 +01:00