xref: /linux/drivers/phy/qualcomm/phy-qcom-qmp-pcs-v7.h (revision 06d07429858317ded2db7986113a9e0129cd599b)
1*7b98cf0eSAbel Vesa /* SPDX-License-Identifier: GPL-2.0 */
2*7b98cf0eSAbel Vesa /*
3*7b98cf0eSAbel Vesa  * Copyright (c) 2023, Linaro Limited
4*7b98cf0eSAbel Vesa  */
5*7b98cf0eSAbel Vesa 
6*7b98cf0eSAbel Vesa #ifndef QCOM_PHY_QMP_PCS_V7_H_
7*7b98cf0eSAbel Vesa #define QCOM_PHY_QMP_PCS_V7_H_
8*7b98cf0eSAbel Vesa 
9*7b98cf0eSAbel Vesa /* Only for QMP V7 PHY - USB/PCIe PCS registers */
10*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_SW_RESET			0x000
11*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_PCS_STATUS1			0x014
12*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_POWER_DOWN_CONTROL		0x040
13*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_START_CONTROL		0x044
14*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_POWER_STATE_CONFIG1		0x090
15*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_LOCK_DETECT_CONFIG1		0x0c4
16*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_LOCK_DETECT_CONFIG2		0x0c8
17*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_LOCK_DETECT_CONFIG3		0x0cc
18*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_LOCK_DETECT_CONFIG6		0x0d8
19*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_REFGEN_REQ_CONFIG1		0x0dc
20*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_RX_SIGDET_LVL		0x188
21*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_RCVR_DTCT_DLY_P1U2_L	0x190
22*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_RCVR_DTCT_DLY_P1U2_H	0x194
23*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_RATE_SLEW_CNTRL1		0x198
24*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_CDR_RESET_TIME		0x1b0
25*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_ALIGN_DETECT_CONFIG1	0x1c0
26*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_ALIGN_DETECT_CONFIG2	0x1c4
27*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_PCS_TX_RX_CONFIG		0x1d0
28*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_EQ_CONFIG1			0x1dc
29*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_EQ_CONFIG2			0x1e0
30*7b98cf0eSAbel Vesa #define QPHY_V7_PCS_EQ_CONFIG5			0x1ec
31*7b98cf0eSAbel Vesa 
32*7b98cf0eSAbel Vesa #endif
33