usb: dwc3: add Tx de-emphasis quirk
authorHuang Rui <ray.huang@amd.com>
Fri, 31 Oct 2014 03:11:12 +0000 (11:11 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:03:39 +0000 (10:03 -0600)
commit6b6a0c9a3ffa3107994d92d5758cbe274c5a97b6
tree766305f952fc54d7c68793f3fd469cdbc65f0791
parent2164a476205ccc62c5874f95f3504b657fff5c04
usb: dwc3: add Tx de-emphasis quirk

This patch adds Tx de-emphasis quirk, and the Tx de-emphasis value is
configurable according to PIPE3 specification.

Value Description
0 -6dB de-emphasis
1 -3.5dB de-emphasis
2 No de-emphasis
3 Reserved

It can be configured on DT or platform data.

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/platform_data.h