tn3399_openwrt/target/linux/apm821xx
Christian Lamparter 832b9cbd74 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>
2021-12-27 13:55:10 +01:00
..
base-files apm821xx: MBL: MR24: fetch IP address over dhcp by default 2021-11-01 00:56:51 +01:00
dts apm821xx: fix WD MyBook Live DUO USB-Port 2021-12-27 13:55:10 +01:00
image apm821xx: MX60(W): re-enable + allow bigger future kernels 2021-10-22 21:25:18 +02:00
nand apm821xx: move CONFIG_DMA* to the generic apm821xx config 2021-10-10 16:44:15 +02:00
patches-5.10 apm821xx: fix WD MyBook Live DUO USB-Port 2021-12-27 13:55:10 +01:00
sata apm821xx: disable and move kernel CONFIG_ symbols 2021-10-10 16:47:41 +02:00
config-5.10 kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
Makefile apm821xx: switch to Kernel 5.10 2021-10-10 16:44:15 +02:00