162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2023, Linaro Limited
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef QCOM_PHY_QMP_PCS_UFS_V6_H_
762306a36Sopenharmony_ci#define QCOM_PHY_QMP_PCS_UFS_V6_H_
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci/* Only for QMP V6 PHY - UFS PCS registers */
1062306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_PHY_START			0x000
1162306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_POWER_DOWN_CONTROL		0x004
1262306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_SW_RESET			0x008
1362306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_TIMER_20US_CORECLK_STEPS_MSB	0x00c
1462306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_TIMER_20US_CORECLK_STEPS_LSB	0x010
1562306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_PLL_CNTL			0x02c
1662306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_TX_LARGE_AMP_DRV_LVL		0x030
1762306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_TX_SMALL_AMP_DRV_LVL		0x038
1862306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_BIST_FIXED_PAT_CTRL		0x060
1962306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_TX_HSGEAR_CAPABILITY		0x074
2062306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_RX_HSGEAR_CAPABILITY		0x0bc
2162306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_DEBUG_BUS_CLKSEL		0x158
2262306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_LINECFG_DISABLE			0x17c
2362306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_RX_MIN_HIBERN8_TIME		0x184
2462306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_RX_SIGDET_CTRL2			0x18c
2562306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_TX_PWM_GEAR_BAND		0x178
2662306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_TX_HS_GEAR_BAND			0x174
2762306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_READY_STATUS			0x1a8
2862306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_TX_MID_TERM_CTRL1		0x1f4
2962306a36Sopenharmony_ci#define QPHY_V6_PCS_UFS_MULTI_LANE_CTRL1		0x1fc
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci#endif
32