diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2022-11-10 22:22:46 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-01-12 22:48:42 +0530 |
commit | 83cb72b4e343b35f1b86d2f64bd8a764b492ece6 (patch) | |
tree | ad51bc2a1801a41ad4a51ed725e221188579fc9a /drivers/phy/qualcomm/phy-qcom-qmp-pcs-v2.h | |
parent | 5c45d28845e2a7a812b15f1f56e9a3f92a0f8125 (diff) | |
download | lwn-83cb72b4e343b35f1b86d2f64bd8a764b492ece6.tar.gz lwn-83cb72b4e343b35f1b86d2f64bd8a764b492ece6.zip |
phy: qcom-qmp-usb: rework regs layout arrays
Use symbolic names for the values inside reg layout arrays. New register
names are added following the PCS register layout that is used by the
particular PHY.
Note: ipq8074 tables appear to use a mixture of v2 and v3 registers.
This might need additional fixes.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20221110192248.873973-12-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 | 3 |
1 files changed, 3 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 c7e8e2a28e6e..bf36399d0057 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-pcs-v2.h +++ b/drivers/phy/qualcomm/phy-qcom-qmp-pcs-v2.h @@ -28,7 +28,10 @@ #define QPHY_V2_PCS_FLL_CNT_VAL_L 0x0c8 #define QPHY_V2_PCS_FLL_CNT_VAL_H_TOL 0x0cc #define QPHY_V2_PCS_FLL_MAN_CODE 0x0d0 +#define QPHY_V2_PCS_AUTONOMOUS_MODE_CTRL 0x0d4 +#define QPHY_V2_PCS_LFPS_RXTERM_IRQ_CLEAR 0x0d8 #define QPHY_V2_PCS_LFPS_RXTERM_IRQ_STATUS 0x178 +#define QPHY_V2_PCS_USB_PCS_STATUS 0x17c /* USB */ #define QPHY_V2_PCS_PLL_LOCK_CHK_DLY_TIME_AUXCLK_LSB 0x1a8 #define QPHY_V2_PCS_OSC_DTCT_ACTIONS 0x1ac #define QPHY_V2_PCS_RX_SIGDET_LVL 0x1d8 |