162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2022, The Linux Foundation. All rights reserved. 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef QCOM_PHY_QMP_PCS_USB_V6_H_ 762306a36Sopenharmony_ci#define QCOM_PHY_QMP_PCS_USB_V6_H_ 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci/* Only for QMP V6 PHY - USB3 have different offsets than V5 */ 1062306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_LOCK_DETECT_CONFIG1 0xc4 1162306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_LOCK_DETECT_CONFIG2 0xc8 1262306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_LOCK_DETECT_CONFIG3 0xcc 1362306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_LOCK_DETECT_CONFIG6 0xd8 1462306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_REFGEN_REQ_CONFIG1 0xdc 1562306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_POWER_STATE_CONFIG1 0x90 1662306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_RX_SIGDET_LVL 0x188 1762306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_RCVR_DTCT_DLY_P1U2_L 0x190 1862306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_RCVR_DTCT_DLY_P1U2_H 0x194 1962306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_CDR_RESET_TIME 0x1b0 2062306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_ALIGN_DETECT_CONFIG1 0x1c0 2162306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_ALIGN_DETECT_CONFIG2 0x1c4 2262306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_PCS_TX_RX_CONFIG 0x1d0 2362306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_EQ_CONFIG1 0x1dc 2462306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_EQ_CONFIG5 0x1ec 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_USB3_POWER_STATE_CONFIG1 0x00 2762306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_USB3_LFPS_DET_HIGH_COUNT_VAL 0x18 2862306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_USB3_RXEQTRAINING_DFE_TIME_S2 0x3c 2962306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_USB3_RCVR_DTCT_DLY_U3_L 0x40 3062306a36Sopenharmony_ci#define QPHY_USB_V6_PCS_USB3_RCVR_DTCT_DLY_U3_H 0x44 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci#endif 33