diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2022-11-10 22:22:38 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-01-12 22:48:41 +0530 |
commit | 027d16b51576c2d8d4270c9594d93b49c8e20350 (patch) | |
tree | 03636387b3c65b63a5d97e862a04a4057b2a5ad5 /drivers/phy/qualcomm/phy-qcom-qmp-pcs-v2.h | |
parent | phy: qcom-qmp: remove duplicate v5_5nm register definitions (diff) | |
download | linux-027d16b51576c2d8d4270c9594d93b49c8e20350.tar.gz linux-027d16b51576c2d8d4270c9594d93b49c8e20350.tar.bz2 linux-027d16b51576c2d8d4270c9594d93b49c8e20350.zip |
phy: qcom-qmp-pcie: rework regs layout arrays
Use symbolic names for the values inside reg layout arrays.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20221110192248.873973-4-dmitry.baryshkov@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/qualcomm/phy-qcom-qmp-pcs-v2.h')
-rw-r--r-- | drivers/phy/qualcomm/phy-qcom-qmp-pcs-v2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-pcs-v2.h b/drivers/phy/qualcomm/phy-qcom-qmp-pcs-v2.h index c8515f506872..2624a1ec3e73 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-pcs-v2.h +++ b/drivers/phy/qualcomm/phy-qcom-qmp-pcs-v2.h @@ -7,7 +7,9 @@ #define QCOM_PHY_QMP_PCS_V2_H_ /* Only for QMP V2 PHY - PCS registers */ +#define QPHY_V2_PCS_SW_RESET 0x000 #define QPHY_V2_PCS_POWER_DOWN_CONTROL 0x004 +#define QPHY_V2_PCS_START_CONTROL 0x008 #define QPHY_V2_PCS_TXDEEMPH_M6DB_V0 0x024 #define QPHY_V2_PCS_TXDEEMPH_M3P5DB_V0 0x028 #define QPHY_V2_PCS_TX_LARGE_AMP_DRV_LVL 0x034 @@ -43,4 +45,6 @@ #define QPHY_V2_PCS_L1SS_WAKEUP_DLY_TIME_AUXCLK_LSB 0x1dc #define QPHY_V2_PCS_L1SS_WAKEUP_DLY_TIME_AUXCLK_MSB 0x1e0 +#define QPHY_V2_PCS_PCI_PCS_STATUS 0x174 /* PCI */ + #endif |