xref: /linux/drivers/phy/qualcomm/phy-qcom-qmp-pcs-v5.h (revision 9f2c9170934eace462499ba0bfe042cc72900173)
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_V5_H_
7 #define QCOM_PHY_QMP_PCS_V5_H_
8 
9 /* Only for QMP V5 PHY - USB/PCIe PCS registers */
10 #define QPHY_V5_PCS_LOCK_DETECT_CONFIG1			0x0c4
11 #define QPHY_V5_PCS_LOCK_DETECT_CONFIG2			0x0c8
12 #define QPHY_V5_PCS_LOCK_DETECT_CONFIG3			0x0cc
13 #define QPHY_V5_PCS_LOCK_DETECT_CONFIG6			0x0d8
14 #define QPHY_V5_PCS_REFGEN_REQ_CONFIG1			0x0dc
15 #define QPHY_V5_PCS_G3S2_PRE_GAIN			0x170
16 #define QPHY_V5_PCS_RX_SIGDET_LVL			0x188
17 #define QPHY_V5_PCS_RCVR_DTCT_DLY_P1U2_L		0x190
18 #define QPHY_V5_PCS_RCVR_DTCT_DLY_P1U2_H		0x194
19 #define QPHY_V5_PCS_RATE_SLEW_CNTRL1			0x198
20 #define QPHY_V5_PCS_CDR_RESET_TIME			0x1b0
21 #define QPHY_V5_PCS_RX_CONFIG				0x1b0
22 #define QPHY_V5_PCS_ALIGN_DETECT_CONFIG1		0x1c0
23 #define QPHY_V5_PCS_ALIGN_DETECT_CONFIG2		0x1c4
24 #define QPHY_V5_PCS_PCS_TX_RX_CONFIG			0x1d0
25 #define QPHY_V5_PCS_EQ_CONFIG1				0x1dc
26 #define QPHY_V5_PCS_EQ_CONFIG2				0x1e0
27 #define QPHY_V5_PCS_EQ_CONFIG3				0x1e4
28 #define QPHY_V5_PCS_EQ_CONFIG5				0x1ec
29 
30 #endif
31