Skip to content

Commit 34d562b

Browse files
lumagvinodkoul
authored andcommitted
phy: qcom-qmp-combo: remove QPHY_PCS_LFPS_RXTERM_IRQ_STATUS reg
The QPHY_PCS_LFPS_RXTERM_IRQ_STATUS register is not used, remove it from register layout. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20230113212102.421491-1-dmitry.baryshkov@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 6900fdf commit 34d562b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/phy/qualcomm/phy-qcom-qmp-combo.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@
5959
/* QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR register bits */
6060
#define IRQ_CLEAR BIT(0)
6161

62-
/* QPHY_PCS_LFPS_RXTERM_IRQ_STATUS register bits */
63-
#define RCVR_DETECT BIT(0)
64-
6562
/* QPHY_V3_PCS_MISC_CLAMP_ENABLE register bits */
6663
#define CLAMP_EN BIT(0) /* enables i/o clamp_n */
6764

@@ -99,7 +96,6 @@ enum qphy_reg_layout {
9996
QPHY_PCS_STATUS,
10097
QPHY_PCS_AUTONOMOUS_MODE_CTRL,
10198
QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR,
102-
QPHY_PCS_LFPS_RXTERM_IRQ_STATUS,
10399
QPHY_PCS_POWER_DOWN_CONTROL,
104100
/* Keep last to ensure regs_layout arrays are properly initialized */
105101
QPHY_LAYOUT_SIZE
@@ -112,7 +108,6 @@ static const unsigned int qmp_v3_usb3phy_regs_layout[QPHY_LAYOUT_SIZE] = {
112108
[QPHY_PCS_POWER_DOWN_CONTROL] = 0x04,
113109
[QPHY_PCS_AUTONOMOUS_MODE_CTRL] = 0x0d8,
114110
[QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR] = 0x0dc,
115-
[QPHY_PCS_LFPS_RXTERM_IRQ_STATUS] = 0x170,
116111
};
117112

118113
static const unsigned int qmp_v4_usb3phy_regs_layout[QPHY_LAYOUT_SIZE] = {

0 commit comments

Comments
 (0)