37 lines · c
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 0x00011#define QPHY_V5_PCS_USB3_AUTONOMOUS_MODE_STATUS 0x00412#define QPHY_V5_PCS_USB3_AUTONOMOUS_MODE_CTRL 0x00813#define QPHY_V5_PCS_USB3_AUTONOMOUS_MODE_CTRL2 0x00c14#define QPHY_V5_PCS_USB3_LFPS_RXTERM_IRQ_SOURCE_STATUS 0x01015#define QPHY_V5_PCS_USB3_LFPS_RXTERM_IRQ_CLEAR 0x01416#define QPHY_V5_PCS_USB3_LFPS_DET_HIGH_COUNT_VAL 0x01817#define QPHY_V5_PCS_USB3_LFPS_TX_ECSTART 0x01c18#define QPHY_V5_PCS_USB3_LFPS_PER_TIMER_VAL 0x02019#define QPHY_V5_PCS_USB3_LFPS_TX_END_CNT_U3_START 0x02420#define QPHY_V5_PCS_USB3_LFPS_CONFIG1 0x02821#define QPHY_V5_PCS_USB3_RXEQTRAINING_LOCK_TIME 0x02c22#define QPHY_V5_PCS_USB3_RXEQTRAINING_WAIT_TIME 0x03023#define QPHY_V5_PCS_USB3_RXEQTRAINING_CTLE_TIME 0x03424#define QPHY_V5_PCS_USB3_RXEQTRAINING_WAIT_TIME_S2 0x03825#define QPHY_V5_PCS_USB3_RXEQTRAINING_DFE_TIME_S2 0x03c26#define QPHY_V5_PCS_USB3_RCVR_DTCT_DLY_U3_L 0x04027#define QPHY_V5_PCS_USB3_RCVR_DTCT_DLY_U3_H 0x04428#define QPHY_V5_PCS_USB3_ARCVR_DTCT_EN_PERIOD 0x04829#define QPHY_V5_PCS_USB3_ARCVR_DTCT_CM_DLY 0x04c30#define QPHY_V5_PCS_USB3_TXONESZEROS_RUN_LENGTH 0x05031#define QPHY_V5_PCS_USB3_ALFPS_DEGLITCH_VAL 0x05432#define QPHY_V5_PCS_USB3_SIGDET_STARTUP_TIMER_VAL 0x05833#define QPHY_V5_PCS_USB3_TEST_CONTROL 0x05c34#define QPHY_V5_PCS_USB3_RXTERMINATION_DLY_SEL 0x06035 36#endif37