apm821xx: switch to pending xhci-pci-renesas solution oldmaster
authorChristian Lamparter <chunkeey@gmail.com>
Fri, 24 Jan 2020 20:02:04 +0000 (21:02 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Tue, 11 Aug 2020 17:10:56 +0000 (19:10 +0200)
commit3a64cca266ba7ad1023e69366b6695e41886ab86
treea8a7731af422b53dae8a74c44120a6af6eb86de9
parentbde605ec01bce4699d12a0ed52349fca5abffe74
apm821xx: switch to pending xhci-pci-renesas solution

This patch replaces most of the out-of-tree xhci firmware
loader for the particular xhci chip from Renesas on the
WNDR4700's PCB.

What remains is a check in xhci-pci main driver which
guards against a 10 second delay during boot of the WNDR4700.
This is because the xhci-pci will still try to bud-in, but it
doesn't do anything useful, if the firmware isn't loaded, but
waste time and fail eventually:

[  375.481868] xhci_hcd 0000:45:00.0: xHCI Host Controller
[  375.487149] xhci_hcd 0000:45:00.0: new USB bus registered, assigned bus number 1
[  385.494590] xhci_hcd 0000:45:00.0: can't setup: -110
[  385.499558] xhci_hcd 0000:45:00.0: USB bus 1 deregistered
[  385.504963] xhci_hcd 0000:45:00.0: init 0000:45:00.0 fail, -110
[  385.510889] xhci_hcd: probe of 0000:45:00.0 failed with error -110

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
package/kernel/linux/modules/usb.mk
target/linux/apm821xx/patches-5.4/100-usb-xhci-export-few-functions.patch [new file with mode: 0644]
target/linux/apm821xx/patches-5.4/101-usb-renesas-xhci-Add-the-renesas-xhci-driver.patch [new file with mode: 0644]
target/linux/apm821xx/patches-5.4/102-usb-renesas-xhci-Add-ROM-loader-for-uPD720201.patch [new file with mode: 0644]
target/linux/apm821xx/patches-5.4/103-usb-renesas-xhci-allow-multiple-firmware-versions.patch [new file with mode: 0644]
target/linux/apm821xx/patches-5.4/104-usb-xhci-provide-a-debugfs-hook-for-erasing-rom.patch [new file with mode: 0644]
target/linux/apm821xx/patches-5.4/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch [deleted file]
target/linux/apm821xx/patches-5.4/801-usb-xhci-handle-uPD720201-and-uPD720202-w-o-ROM.patch [new file with mode: 0644]