apm821xx: switch to pending xhci-pci-renesas solution master
authorChristian Lamparter <chunkeey@gmail.com>
Fri, 24 Jan 2020 20:02:04 +0000 (21:02 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 24 Jan 2020 22:58:20 +0000 (23:58 +0100)
commitb5670c762457015489afe4c406bfbced99c0613a
tree38f0292ee18df26c5904906a51d1585b91770f90
parentdf43542d0c69949221483ae29f28c1f6e942eba3
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]