]> git.baikalelectronics.ru Git - kernel.git/commit
usb: ehci: Add new EHCI driver for Broadcom STB SoC's
authorAl Cooper <alcooperx@gmail.com>
Tue, 12 May 2020 15:00:18 +0000 (11:00 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 May 2020 12:28:01 +0000 (14:28 +0200)
commit8fe1afd2d4496b3015d4cbaddea1728d30589744
tree815d59845ef468db4884ec2bdd214315fb33d522
parent1f55ca4881b4d48002975a0b577ba3d2247a33d3
usb: ehci: Add new EHCI driver for Broadcom STB SoC's

Add a new EHCI driver for Broadcom STB SoC's. A new EHCI driver
was created instead of adding support to the existing ehci platform
driver because of the code required to work around bugs in the EHCI
controller. The primary workaround is for a bug where the Core
violates the SOF interval between the first two SOFs transmitted after
resume. This only happens if the resume occurs near the end of a
microframe. The fix is to intercept the ehci-hcd request to complete
RESUME and align it to the start of the next microframe.

Signed-off-by: Al Cooper <alcooperx@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20200512150019.25903-5-alcooperx@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-brcm.c [new file with mode: 0644]