Skip to content

Commit 8114f34

Browse files
lumagvinodkoul
authored andcommitted
phy: qualcomm: qmp-pcie: define several new registers
Define several registers to be used by PCIe QMP PHYs on v6 platforms. Signed-off-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent f9d35dd commit 8114f34

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@
1414
#define QPHY_PCIE_V6_PCS_PCIE_ENDPOINT_REFCLK_DRIVE 0x20
1515
#define QPHY_PCIE_V6_PCS_PCIE_OSC_DTCT_ACTIONS 0x94
1616

17+
#define QPHY_PCIE_V6_PCS_LANE1_INSIG_SW_CTRL2 0x024
18+
#define QPHY_PCIE_V6_PCS_LANE1_INSIG_MX_CTRL2 0x028
19+
1720
#endif

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#define QPHY_V6_PCS_LOCK_DETECT_CONFIG3 0x0cc
1818
#define QPHY_V6_PCS_LOCK_DETECT_CONFIG6 0x0d8
1919
#define QPHY_V6_PCS_REFGEN_REQ_CONFIG1 0x0dc
20+
#define QPHY_V6_PCS_G12S1_TXDEEMPH_M6DB 0x168
21+
#define QPHY_V6_PCS_G3S2_PRE_GAIN 0x170
2022
#define QPHY_V6_PCS_RX_SIGDET_LVL 0x188
2123
#define QPHY_V6_PCS_RCVR_DTCT_DLY_P1U2_L 0x190
2224
#define QPHY_V6_PCS_RCVR_DTCT_DLY_P1U2_H 0x194

drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v6.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#ifndef QCOM_PHY_QMP_QSERDES_TXRX_USB_V6_H_
77
#define QCOM_PHY_QMP_QSERDES_TXRX_USB_V6_H_
88

9+
#define QSERDES_V6_TX_BIST_MODE_LANENO 0x00
910
#define QSERDES_V6_TX_CLKBUF_ENABLE 0x08
1011
#define QSERDES_V6_TX_TX_EMP_POST1_LVL 0x0c
1112
#define QSERDES_V6_TX_TX_DRV_LVL 0x14

0 commit comments

Comments
 (0)