소스 검색

usb: Configure octeon2 glue logic for proper uSOF cycle period.

The reset value of the uSOF cycle period is incorrect.  Set it to
60,000 bits.  Without this, several commercial USB flash memory
devices and hubs fail to work properly.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Daney 14 년 전
부모
커밋
14be249c96
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      drivers/usb/host/octeon2-common.c

+ 3 - 0
drivers/usb/host/octeon2-common.c

@@ -183,6 +183,9 @@ end_clock:
 		cvmx_write_csr(CVMX_UCTLX_UPHY_PORTX_CTL_STATUS(i, 0),
 		cvmx_write_csr(CVMX_UCTLX_UPHY_PORTX_CTL_STATUS(i, 0),
 			       port_ctl_status.u64);
 			       port_ctl_status.u64);
 	}
 	}
+
+	/* Set uSOF cycle period to 60,000 bits. */
+	cvmx_write_csr(CVMX_UCTLX_EHCI_FLA(0), 0x20ull);
 exit:
 exit:
 	mutex_unlock(&octeon2_usb_clocks_mutex);
 	mutex_unlock(&octeon2_usb_clocks_mutex);
 }
 }