15b8154ceSAbel Vesa /* SPDX-License-Identifier: GPL-2.0 */ 25b8154ceSAbel Vesa /* 35b8154ceSAbel Vesa * Copyright (c) 2023, Linaro Limited 45b8154ceSAbel Vesa */ 55b8154ceSAbel Vesa 65b8154ceSAbel Vesa #ifndef QCOM_PHY_QMP_PCS_UFS_V6_H_ 75b8154ceSAbel Vesa #define QCOM_PHY_QMP_PCS_UFS_V6_H_ 85b8154ceSAbel Vesa 95b8154ceSAbel Vesa /* Only for QMP V6 PHY - UFS PCS registers */ 105b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_PHY_START 0x000 115b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_POWER_DOWN_CONTROL 0x004 125b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_SW_RESET 0x008 135b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_TIMER_20US_CORECLK_STEPS_MSB 0x00c 145b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_TIMER_20US_CORECLK_STEPS_LSB 0x010 157c4bf8cbSNeil Armstrong #define QPHY_V6_PCS_UFS_PCS_CTRL1 0x020 165b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_PLL_CNTL 0x02c 175b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_TX_LARGE_AMP_DRV_LVL 0x030 185b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_TX_SMALL_AMP_DRV_LVL 0x038 195b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_BIST_FIXED_PAT_CTRL 0x060 205b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_TX_HSGEAR_CAPABILITY 0x074 215b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_RX_HSGEAR_CAPABILITY 0x0bc 22b34ae859SCan Guo #define QPHY_V6_PCS_UFS_RX_HS_G5_SYNC_LENGTH_CAPABILITY 0x12c 235b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_DEBUG_BUS_CLKSEL 0x158 245b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_LINECFG_DISABLE 0x17c 255b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_RX_MIN_HIBERN8_TIME 0x184 265b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_RX_SIGDET_CTRL2 0x18c 275b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_TX_PWM_GEAR_BAND 0x178 285b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_TX_HS_GEAR_BAND 0x174 295b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_READY_STATUS 0x1a8 305b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_TX_MID_TERM_CTRL1 0x1f4 315b8154ceSAbel Vesa #define QPHY_V6_PCS_UFS_MULTI_LANE_CTRL1 0x1fc 32b34ae859SCan Guo #define QPHY_V6_PCS_UFS_RX_HSG5_SYNC_WAIT_TIME 0x220 33*b9251e64SNeil Armstrong #define QPHY_V6_PCS_UFS_TX_POST_EMP_LVL_S4 0x240 34*b9251e64SNeil Armstrong #define QPHY_V6_PCS_UFS_TX_POST_EMP_LVL_S5 0x244 35*b9251e64SNeil Armstrong #define QPHY_V6_PCS_UFS_TX_POST_EMP_LVL_S6 0x248 36*b9251e64SNeil Armstrong #define QPHY_V6_PCS_UFS_TX_POST_EMP_LVL_S7 0x24c 375b8154ceSAbel Vesa 385b8154ceSAbel Vesa #endif 39