drivers: usb: fsl: Workaround for USB erratum-A005275
authorNikhil Badola <nikhil.badola@freescale.com>
Thu, 6 Aug 2015 09:21:27 +0000 (14:51 +0530)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 13 Oct 2015 02:46:05 +0000 (03:46 +0100)
commit79fcb25fc499554d030d562c33a6f1adc72c2ebd
treec9612d7aaea6e60919a5d93f41fce20075ede8d9
parent090e974e340408eaa8d42afe3bb2016be8f3523e
drivers: usb: fsl: Workaround for USB erratum-A005275

commit f8786a91548df6930643a052e40e5c0b7a8403a5 upstream.

Incoming packets in high speed are randomly corrupted by h/w
resulting in multiple errors. This workaround makes FS as
default mode in all affected socs by disabling HS chirp
signalling.This errata does not affect FS and LS mode.

Forces all HS devices to connect in FS mode for all socs
affected by this erratum:
P3041 and P2041 rev 1.0 and 1.1
P5020 and P5010 rev 1.0 and 2.0
P5040, P1010 and T4240 rev 1.0

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/host/ehci-fsl.c
drivers/usb/host/ehci-hub.c
drivers/usb/host/ehci.h
drivers/usb/host/fsl-mph-dr-of.c
include/linux/fsl_devices.h