diff options
author | David Daney <ddaney@caviumnetworks.com> | 2011-04-27 13:54:21 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-03 13:09:31 -0400 |
commit | bf5417152154038bbae429e2357731b1dad03328 (patch) | |
tree | 4fd2b96a78e1ff270160400af4dce67953bef622 /drivers/usb | |
parent | f5ced99725d05f521ef0f597e688c19835e59c55 (diff) |
usb: octeon2-common.c: Configure ports for proper electrical characteristics.
Additional PHY tuning is needed to obtain compliant 'eye' diagram
electrical characteristics.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/octeon2-common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/host/octeon2-common.c b/drivers/usb/host/octeon2-common.c index 5a0feed03561..aef6364d6314 100644 --- a/drivers/usb/host/octeon2-common.c +++ b/drivers/usb/host/octeon2-common.c | |||
@@ -176,8 +176,10 @@ end_clock: | |||
176 | for (i = 0; i <= 1; i++) { | 176 | for (i = 0; i <= 1; i++) { |
177 | port_ctl_status.u64 = | 177 | port_ctl_status.u64 = |
178 | cvmx_read_csr(CVMX_UCTLX_UPHY_PORTX_CTL_STATUS(i, 0)); | 178 | cvmx_read_csr(CVMX_UCTLX_UPHY_PORTX_CTL_STATUS(i, 0)); |
179 | /* Set txvreftune to 15 to obtain complient 'eye' diagram. */ | 179 | /* Set txvreftune to 15 to obtain compliant 'eye' diagram. */ |
180 | port_ctl_status.s.txvreftune = 15; | 180 | port_ctl_status.s.txvreftune = 15; |
181 | port_ctl_status.s.txrisetune = 1; | ||
182 | port_ctl_status.s.txpreemphasistune = 1; | ||
181 | cvmx_write_csr(CVMX_UCTLX_UPHY_PORTX_CTL_STATUS(i, 0), | 183 | cvmx_write_csr(CVMX_UCTLX_UPHY_PORTX_CTL_STATUS(i, 0), |
182 | port_ctl_status.u64); | 184 | port_ctl_status.u64); |
183 | } | 185 | } |