[PATCH 0/5] usb: dwc3: xhci: Add quirk for defective Port Enable/disable
From: Roger Quadros
Date: Fri Mar 18 2016 - 08:34:11 EST
Hi,
Some devices from Texas Instruments suffer from
a silicon bug where XHCI Port Enabled/Disabled bit
should not be used to silence an erroneous device.
The bug is so that if port is disabled with PED
bit, an IRQ for device removal (or attachment)
will never fire.
Just for the sake of completeness, the actual
problem lies with SNPS DWC3 USB IP and this affects
all known versions up to 3.00a
We add a BROKEN_PE quirk in xhci.h to deal with this issue
and add a corresponding bit in xhci platform_data.
I've only updated Felipe's e-mail id in the patches
and re-based them to v4.5 + balbi/next.
--
cheers,
-roger
Felipe Balbi (5):
usb: xhci: add quirk flag for broken PED bits
usb: dwc3: core: define macros for newest revisions
usb: host: xhci: add broken pe quirk flag to pdata
usb: host: xhci-plat: enable BROKEN_PE quirk if platform requested
usb: dwc3: host: pass BROKEN_PE flag for known broken revisions
drivers/usb/dwc3/core.h | 2 ++
drivers/usb/dwc3/host.c | 12 ++++++++++++
drivers/usb/host/xhci-hub.c | 6 ++++++
drivers/usb/host/xhci-plat.c | 3 +++
drivers/usb/host/xhci.h | 2 ++
include/linux/usb/xhci_pdriver.h | 2 ++
6 files changed, 27 insertions(+)
--
2.5.0