diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2023-03-08 09:24:23 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-03-20 13:44:55 +0100 |
commit | 364c748d5e085a4cf425bbca90482e8df77d022e (patch) | |
tree | 0720ffc8fbda19744850e581038eda1e7d335a01 /drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v4_20.h | |
parent | phy: qcom-qmp-pcie: Split out EP related init sequence for SDX55 (diff) | |
download | linux-364c748d5e085a4cf425bbca90482e8df77d022e.tar.xz linux-364c748d5e085a4cf425bbca90482e8df77d022e.zip |
phy: qcom-qmp-pcie: Add RC init sequence for SDX55
Add PCIe RC init sequence making use of the common init sequence. The RC
mode additionally requires REFCLK_DRV_DSBL bit to set during powerup and
powerdown.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20230308082424.140224-13-manivannan.sadhasivam@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v4_20.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v4_20.h b/drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v4_20.h index af273602998e..ac872a9eff9a 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v4_20.h +++ b/drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v4_20.h @@ -6,6 +6,8 @@ #ifndef QCOM_PHY_QMP_PCS_PCIE_V4_20_H_ #define QCOM_PHY_QMP_PCS_PCIE_V4_20_H_ +#define QPHY_V4_20_PCS_PCIE_ENDPOINT_REFCLK_DRIVE 0x01c +#define QPHY_V4_20_PCS_PCIE_OSC_DTCT_ACTIONS 0x090 #define QPHY_V4_20_PCS_PCIE_EQ_CONFIG1 0x0a0 #define QPHY_V4_20_PCS_PCIE_G3_RXEQEVAL_TIME 0x0f0 #define QPHY_V4_20_PCS_PCIE_G4_RXEQEVAL_TIME 0x0f4 |