Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (c) 2017, The Linux Foundation. All rights reserved.
0004  */
0005 
0006 #ifndef QCOM_PHY_QMP_PCS_USB_V4_H_
0007 #define QCOM_PHY_QMP_PCS_USB_V4_H_
0008 
0009 /* Only for QMP V4 PHY - USB3 PCS registers */
0010 #define QPHY_V4_PCS_USB3_POWER_STATE_CONFIG1        0x000
0011 #define QPHY_V4_PCS_USB3_AUTONOMOUS_MODE_STATUS     0x004
0012 #define QPHY_V4_PCS_USB3_AUTONOMOUS_MODE_CTRL       0x008
0013 #define QPHY_V4_PCS_USB3_AUTONOMOUS_MODE_CTRL2      0x00c
0014 #define QPHY_V4_PCS_USB3_LFPS_RXTERM_IRQ_SOURCE_STATUS  0x010
0015 #define QPHY_V4_PCS_USB3_LFPS_RXTERM_IRQ_CLEAR      0x014
0016 #define QPHY_V4_PCS_USB3_LFPS_DET_HIGH_COUNT_VAL    0x018
0017 #define QPHY_V4_PCS_USB3_LFPS_TX_ECSTART        0x01c
0018 #define QPHY_V4_PCS_USB3_LFPS_PER_TIMER_VAL     0x020
0019 #define QPHY_V4_PCS_USB3_LFPS_TX_END_CNT_U3_START   0x024
0020 #define QPHY_V4_PCS_USB3_RXEQTRAINING_LOCK_TIME     0x028
0021 #define QPHY_V4_PCS_USB3_RXEQTRAINING_WAIT_TIME     0x02c
0022 #define QPHY_V4_PCS_USB3_RXEQTRAINING_CTLE_TIME     0x030
0023 #define QPHY_V4_PCS_USB3_RXEQTRAINING_WAIT_TIME_S2  0x034
0024 #define QPHY_V4_PCS_USB3_RXEQTRAINING_DFE_TIME_S2   0x038
0025 #define QPHY_V4_PCS_USB3_RCVR_DTCT_DLY_U3_L     0x03c
0026 #define QPHY_V4_PCS_USB3_RCVR_DTCT_DLY_U3_H     0x040
0027 #define QPHY_V4_PCS_USB3_ARCVR_DTCT_EN_PERIOD       0x044
0028 #define QPHY_V4_PCS_USB3_ARCVR_DTCT_CM_DLY      0x048
0029 #define QPHY_V4_PCS_USB3_TXONESZEROS_RUN_LENGTH     0x04c
0030 #define QPHY_V4_PCS_USB3_ALFPS_DEGLITCH_VAL     0x050
0031 #define QPHY_V4_PCS_USB3_SIGDET_STARTUP_TIMER_VAL   0x054
0032 #define QPHY_V4_PCS_USB3_TEST_CONTROL           0x058
0033 
0034 #endif