Merge tag 'nfs-for-5.20-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
[linux-2.6-microblaze.git] / drivers / phy / qualcomm / phy-qcom-qmp-pcs-usb-v5.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2017, The Linux Foundation. All rights reserved.
4  */
5
6 #ifndef QCOM_PHY_QMP_PCS_USB_V5_H_
7 #define QCOM_PHY_QMP_PCS_USB_V5_H_
8
9 /* Only for QMP V5 PHY - USB3 have different offsets than V4 */
10 #define QPHY_V5_PCS_USB3_POWER_STATE_CONFIG1            0x000
11 #define QPHY_V5_PCS_USB3_AUTONOMOUS_MODE_STATUS         0x004
12 #define QPHY_V5_PCS_USB3_AUTONOMOUS_MODE_CTRL           0x008
13 #define QPHY_V5_PCS_USB3_AUTONOMOUS_MODE_CTRL2          0x00c
14 #define QPHY_V5_PCS_USB3_LFPS_RXTERM_IRQ_SOURCE_STATUS  0x010
15 #define QPHY_V5_PCS_USB3_LFPS_RXTERM_IRQ_CLEAR          0x014
16 #define QPHY_V5_PCS_USB3_LFPS_DET_HIGH_COUNT_VAL        0x018
17 #define QPHY_V5_PCS_USB3_LFPS_TX_ECSTART                0x01c
18 #define QPHY_V5_PCS_USB3_LFPS_PER_TIMER_VAL             0x020
19 #define QPHY_V5_PCS_USB3_LFPS_TX_END_CNT_U3_START       0x024
20 #define QPHY_V5_PCS_USB3_LFPS_CONFIG1                   0x028
21 #define QPHY_V5_PCS_USB3_RXEQTRAINING_LOCK_TIME         0x02c
22 #define QPHY_V5_PCS_USB3_RXEQTRAINING_WAIT_TIME         0x030
23 #define QPHY_V5_PCS_USB3_RXEQTRAINING_CTLE_TIME         0x034
24 #define QPHY_V5_PCS_USB3_RXEQTRAINING_WAIT_TIME_S2      0x038
25 #define QPHY_V5_PCS_USB3_RXEQTRAINING_DFE_TIME_S2       0x03c
26 #define QPHY_V5_PCS_USB3_RCVR_DTCT_DLY_U3_L             0x040
27 #define QPHY_V5_PCS_USB3_RCVR_DTCT_DLY_U3_H             0x044
28 #define QPHY_V5_PCS_USB3_ARCVR_DTCT_EN_PERIOD           0x048
29 #define QPHY_V5_PCS_USB3_ARCVR_DTCT_CM_DLY              0x04c
30 #define QPHY_V5_PCS_USB3_TXONESZEROS_RUN_LENGTH         0x050
31 #define QPHY_V5_PCS_USB3_ALFPS_DEGLITCH_VAL             0x054
32 #define QPHY_V5_PCS_USB3_SIGDET_STARTUP_TIMER_VAL       0x058
33 #define QPHY_V5_PCS_USB3_TEST_CONTROL                   0x05c
34 #define QPHY_V5_PCS_USB3_RXTERMINATION_DLY_SEL          0x060
35
36 #endif