phy-qcom-qmp-pcs-usb-v4.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (c) 2017, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef QCOM_PHY_QMP_PCS_USB_V4_H_
  6. #define QCOM_PHY_QMP_PCS_USB_V4_H_
  7. /* Only for QMP V4 PHY - USB3 PCS registers */
  8. #define QPHY_V4_PCS_USB3_POWER_STATE_CONFIG1 0x000
  9. #define QPHY_V4_PCS_USB3_AUTONOMOUS_MODE_STATUS 0x004
  10. #define QPHY_V4_PCS_USB3_AUTONOMOUS_MODE_CTRL 0x008
  11. #define QPHY_V4_PCS_USB3_AUTONOMOUS_MODE_CTRL2 0x00c
  12. #define QPHY_V4_PCS_USB3_LFPS_RXTERM_IRQ_SOURCE_STATUS 0x010
  13. #define QPHY_V4_PCS_USB3_LFPS_RXTERM_IRQ_CLEAR 0x014
  14. #define QPHY_V4_PCS_USB3_LFPS_DET_HIGH_COUNT_VAL 0x018
  15. #define QPHY_V4_PCS_USB3_LFPS_TX_ECSTART 0x01c
  16. #define QPHY_V4_PCS_USB3_LFPS_PER_TIMER_VAL 0x020
  17. #define QPHY_V4_PCS_USB3_LFPS_TX_END_CNT_U3_START 0x024
  18. #define QPHY_V4_PCS_USB3_RXEQTRAINING_LOCK_TIME 0x028
  19. #define QPHY_V4_PCS_USB3_RXEQTRAINING_WAIT_TIME 0x02c
  20. #define QPHY_V4_PCS_USB3_RXEQTRAINING_CTLE_TIME 0x030
  21. #define QPHY_V4_PCS_USB3_RXEQTRAINING_WAIT_TIME_S2 0x034
  22. #define QPHY_V4_PCS_USB3_RXEQTRAINING_DFE_TIME_S2 0x038
  23. #define QPHY_V4_PCS_USB3_RCVR_DTCT_DLY_U3_L 0x03c
  24. #define QPHY_V4_PCS_USB3_RCVR_DTCT_DLY_U3_H 0x040
  25. #define QPHY_V4_PCS_USB3_ARCVR_DTCT_EN_PERIOD 0x044
  26. #define QPHY_V4_PCS_USB3_ARCVR_DTCT_CM_DLY 0x048
  27. #define QPHY_V4_PCS_USB3_TXONESZEROS_RUN_LENGTH 0x04c
  28. #define QPHY_V4_PCS_USB3_ALFPS_DEGLITCH_VAL 0x050
  29. #define QPHY_V4_PCS_USB3_SIGDET_STARTUP_TIMER_VAL 0x054
  30. #define QPHY_V4_PCS_USB3_TEST_CONTROL 0x058
  31. #endif