Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / phy / qualcomm / phy-qcom-qmp-pcs-ufs-v4.h
bloba1c7d3d171504fc903e6f64a85ae08078dc2722c
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (c) 2017, The Linux Foundation. All rights reserved.
4 */
6 #ifndef QCOM_PHY_QMP_PCS_UFS_V4_H_
7 #define QCOM_PHY_QMP_PCS_UFS_V4_H_
9 /* Only for QMP V4 PHY - UFS PCS registers */
10 #define QPHY_V4_PCS_UFS_PHY_START 0x000
11 #define QPHY_V4_PCS_UFS_POWER_DOWN_CONTROL 0x004
12 #define QPHY_V4_PCS_UFS_SW_RESET 0x008
13 #define QPHY_V4_PCS_UFS_TIMER_20US_CORECLK_STEPS_MSB 0x00c
14 #define QPHY_V4_PCS_UFS_TIMER_20US_CORECLK_STEPS_LSB 0x010
15 #define QPHY_V4_PCS_UFS_PLL_CNTL 0x02c
16 #define QPHY_V4_PCS_UFS_TX_LARGE_AMP_DRV_LVL 0x030
17 #define QPHY_V4_PCS_UFS_TX_SMALL_AMP_DRV_LVL 0x038
18 #define QPHY_V4_PCS_UFS_BIST_FIXED_PAT_CTRL 0x060
19 #define QPHY_V4_PCS_UFS_TX_HSGEAR_CAPABILITY 0x074
20 #define QPHY_V4_PCS_UFS_RX_HSGEAR_CAPABILITY 0x0b4
21 #define QPHY_V4_PCS_UFS_DEBUG_BUS_CLKSEL 0x124
22 #define QPHY_V4_PCS_UFS_LINECFG_DISABLE 0x148
23 #define QPHY_V4_PCS_UFS_RX_MIN_HIBERN8_TIME 0x150
24 #define QPHY_V4_PCS_UFS_RX_SIGDET_CTRL2 0x158
25 #define QPHY_V4_PCS_UFS_TX_PWM_GEAR_BAND 0x160
26 #define QPHY_V4_PCS_UFS_TX_HS_GEAR_BAND 0x168
27 #define QPHY_V4_PCS_UFS_READY_STATUS 0x180
28 #define QPHY_V4_PCS_UFS_TX_MID_TERM_CTRL1 0x1d8
29 #define QPHY_V4_PCS_UFS_MULTI_LANE_CTRL1 0x1e0
31 #endif