Skip to content

Commit 5077b13

Browse files
lumagvinodkoul
authored andcommitted
phy: qcom-qmp-usb: move PCS v6 register to the proper header
The commit 39bbf82 ("phy: qcom-qmp: pcs-usb: Add v6 register offsets") incorrectly added plain PCS registers to the PCS_USB header. Move them to a proper location. Signed-off-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 579483e commit 5077b13

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

drivers/phy/qualcomm/phy-qcom-qmp-pcs-usb-v6.h

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,6 @@
77
#define QCOM_PHY_QMP_PCS_USB_V6_H_
88

99
/* Only for QMP V6 PHY - USB3 have different offsets than V5 */
10-
#define QPHY_V6_PCS_LOCK_DETECT_CONFIG1 0xc4
11-
#define QPHY_V6_PCS_LOCK_DETECT_CONFIG2 0xc8
12-
#define QPHY_V6_PCS_LOCK_DETECT_CONFIG3 0xcc
13-
#define QPHY_V6_PCS_LOCK_DETECT_CONFIG6 0xd8
14-
#define QPHY_V6_PCS_REFGEN_REQ_CONFIG1 0xdc
15-
#define QPHY_V6_PCS_POWER_STATE_CONFIG1 0x90
16-
#define QPHY_V6_PCS_RX_SIGDET_LVL 0x188
17-
#define QPHY_V6_PCS_RCVR_DTCT_DLY_P1U2_L 0x190
18-
#define QPHY_V6_PCS_RCVR_DTCT_DLY_P1U2_H 0x194
19-
#define QPHY_V6_PCS_CDR_RESET_TIME 0x1b0
20-
#define QPHY_V6_PCS_ALIGN_DETECT_CONFIG1 0x1c0
21-
#define QPHY_V6_PCS_ALIGN_DETECT_CONFIG2 0x1c4
22-
#define QPHY_V6_PCS_PCS_TX_RX_CONFIG 0x1d0
23-
#define QPHY_V6_PCS_EQ_CONFIG1 0x1dc
24-
#define QPHY_V6_PCS_EQ_CONFIG5 0x1ec
25-
2610
#define QPHY_V6_PCS_USB3_POWER_STATE_CONFIG1 0x00
2711
#define QPHY_V6_PCS_USB3_LFPS_DET_HIGH_COUNT_VAL 0x18
2812
#define QPHY_V6_PCS_USB3_RXEQTRAINING_DFE_TIME_S2 0x3c

drivers/phy/qualcomm/phy-qcom-qmp-pcs-v6.h

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,22 @@
77
#define QCOM_PHY_QMP_PCS_V6_H_
88

99
/* Only for QMP V6 PHY - USB/PCIe PCS registers */
10-
#define QPHY_V6_PCS_REFGEN_REQ_CONFIG1 0xdc
10+
#define QPHY_V6_PCS_POWER_STATE_CONFIG1 0x090
11+
#define QPHY_V6_PCS_LOCK_DETECT_CONFIG1 0x0c4
12+
#define QPHY_V6_PCS_LOCK_DETECT_CONFIG2 0x0c8
13+
#define QPHY_V6_PCS_LOCK_DETECT_CONFIG3 0x0cc
14+
#define QPHY_V6_PCS_LOCK_DETECT_CONFIG6 0x0d8
15+
#define QPHY_V6_PCS_REFGEN_REQ_CONFIG1 0x0dc
1116
#define QPHY_V6_PCS_RX_SIGDET_LVL 0x188
17+
#define QPHY_V6_PCS_RCVR_DTCT_DLY_P1U2_L 0x190
18+
#define QPHY_V6_PCS_RCVR_DTCT_DLY_P1U2_H 0x194
1219
#define QPHY_V6_PCS_RATE_SLEW_CNTRL1 0x198
13-
#define QPHY_V6_PCS_EQ_CONFIG2 0x1e0
20+
#define QPHY_V6_PCS_CDR_RESET_TIME 0x1b0
21+
#define QPHY_V6_PCS_ALIGN_DETECT_CONFIG1 0x1c0
22+
#define QPHY_V6_PCS_ALIGN_DETECT_CONFIG2 0x1c4
1423
#define QPHY_V6_PCS_PCS_TX_RX_CONFIG 0x1d0
24+
#define QPHY_V6_PCS_EQ_CONFIG1 0x1dc
25+
#define QPHY_V6_PCS_EQ_CONFIG2 0x1e0
26+
#define QPHY_V6_PCS_EQ_CONFIG5 0x1ec
1527

1628
#endif

0 commit comments

Comments
 (0)