public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] usb: dwc3: xhci: Add quirk for defective Port Enable/disable
@ 2016-03-18 12:33 Roger Quadros
  2016-03-18 12:33 ` [PATCH 1/5] usb: xhci: add quirk flag for broken PED bits Roger Quadros
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Roger Quadros @ 2016-03-18 12:33 UTC (permalink / raw)
  To: balbi, mathias.nyman; +Cc: nsekhar, linux-usb, linux-kernel, Roger Quadros

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-18 13:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-18 12:33 [PATCH 0/5] usb: dwc3: xhci: Add quirk for defective Port Enable/disable Roger Quadros
2016-03-18 12:33 ` [PATCH 1/5] usb: xhci: add quirk flag for broken PED bits Roger Quadros
2016-03-18 12:33 ` [PATCH 2/5] usb: dwc3: core: define macros for newest revisions Roger Quadros
2016-03-18 12:33 ` [PATCH 3/5] usb: host: xhci: add broken pe quirk flag to pdata Roger Quadros
2016-03-18 12:33 ` [PATCH 4/5] usb: host: xhci-plat: enable BROKEN_PE quirk if platform requested Roger Quadros
2016-03-18 12:33 ` [PATCH 5/5] usb: dwc3: host: pass BROKEN_PE flag for known broken revisions Roger Quadros
2016-03-18 13:07 ` [PATCH 0/5] usb: dwc3: xhci: Add quirk for defective Port Enable/disable Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox