]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: add lpm erratum support
authorHuang Rui <ray.huang@amd.com>
Tue, 28 Oct 2014 11:54:26 +0000 (19:54 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:03:36 +0000 (10:03 -0600)
commit7013fa454940814f1766a4ef3a3ff09d82ddbf9c
tree097bf706580823890264c4bb319f87fa1521a93a
parented3d3292ca1d1fe77c06ce040e10fb56059da39a
usb: dwc3: add lpm erratum support

When parameter DWC_USB3_LPM_ERRATA_ENABLE is enabled in Andvanced
Configuration of coreConsultant, it supports of xHCI BESL Errata Dated
10/19/2011 is enabled in host mode. In device mode it adds the capability
to send NYET response threshold based on the BESL value received in the LPM
token, and the threhold is configurable for each soc platform.

This patch adds an entry that soc platform is able to define the lpm
capacity with their own device tree or bus glue layer.

[ balbi@ti.com : added devicetree documentation, spelled threshold
completely, made sure threshold is only applied to
proper core revisions. ]

Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Documentation/devicetree/bindings/usb/dwc3.txt
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h
drivers/usb/dwc3/gadget.c
drivers/usb/dwc3/platform_data.h