1b7a2f882SDmitry Baryshkov /* SPDX-License-Identifier: GPL-2.0 */ 2b7a2f882SDmitry Baryshkov /* 3b7a2f882SDmitry Baryshkov * Copyright (c) 2017, The Linux Foundation. All rights reserved. 4b7a2f882SDmitry Baryshkov */ 5b7a2f882SDmitry Baryshkov 6b7a2f882SDmitry Baryshkov #ifndef QCOM_PHY_QMP_PCS_V5_H_ 7b7a2f882SDmitry Baryshkov #define QCOM_PHY_QMP_PCS_V5_H_ 8b7a2f882SDmitry Baryshkov 9b7a2f882SDmitry Baryshkov /* Only for QMP V5 PHY - USB/PCIe PCS registers */ 10*bbe207a1SDmitry Baryshkov #define QPHY_V5_PCS_SW_RESET 0x000 11*bbe207a1SDmitry Baryshkov #define QPHY_V5_PCS_PCS_STATUS1 0x014 12*bbe207a1SDmitry Baryshkov #define QPHY_V5_PCS_POWER_DOWN_CONTROL 0x040 13*bbe207a1SDmitry Baryshkov #define QPHY_V5_PCS_START_CONTROL 0x044 14c0c7769cSBjorn Andersson #define QPHY_V5_PCS_LOCK_DETECT_CONFIG1 0x0c4 15c0c7769cSBjorn Andersson #define QPHY_V5_PCS_LOCK_DETECT_CONFIG2 0x0c8 16c0c7769cSBjorn Andersson #define QPHY_V5_PCS_LOCK_DETECT_CONFIG3 0x0cc 17c0c7769cSBjorn Andersson #define QPHY_V5_PCS_LOCK_DETECT_CONFIG6 0x0d8 18b7a2f882SDmitry Baryshkov #define QPHY_V5_PCS_REFGEN_REQ_CONFIG1 0x0dc 19b7a2f882SDmitry Baryshkov #define QPHY_V5_PCS_G3S2_PRE_GAIN 0x170 20b7a2f882SDmitry Baryshkov #define QPHY_V5_PCS_RX_SIGDET_LVL 0x188 21c0c7769cSBjorn Andersson #define QPHY_V5_PCS_RCVR_DTCT_DLY_P1U2_L 0x190 22c0c7769cSBjorn Andersson #define QPHY_V5_PCS_RCVR_DTCT_DLY_P1U2_H 0x194 23b7a2f882SDmitry Baryshkov #define QPHY_V5_PCS_RATE_SLEW_CNTRL1 0x198 24c0c7769cSBjorn Andersson #define QPHY_V5_PCS_CDR_RESET_TIME 0x1b0 25a2e927b0SBjorn Andersson #define QPHY_V5_PCS_RX_CONFIG 0x1b0 26c0c7769cSBjorn Andersson #define QPHY_V5_PCS_ALIGN_DETECT_CONFIG1 0x1c0 27c0c7769cSBjorn Andersson #define QPHY_V5_PCS_ALIGN_DETECT_CONFIG2 0x1c4 28c0c7769cSBjorn Andersson #define QPHY_V5_PCS_PCS_TX_RX_CONFIG 0x1d0 29c0c7769cSBjorn Andersson #define QPHY_V5_PCS_EQ_CONFIG1 0x1dc 30b7a2f882SDmitry Baryshkov #define QPHY_V5_PCS_EQ_CONFIG2 0x1e0 31b7a2f882SDmitry Baryshkov #define QPHY_V5_PCS_EQ_CONFIG3 0x1e4 32c0c7769cSBjorn Andersson #define QPHY_V5_PCS_EQ_CONFIG5 0x1ec 33b7a2f882SDmitry Baryshkov 34b7a2f882SDmitry Baryshkov #endif 35