Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f5fdbe8 authored by Tony Truong's avatar Tony Truong
Browse files

Revert "msm: pcie: update PCIe PHY sequence on MSM8992"



This reverts commit 7826fbda.
This change adds the support to enable vbg optimization for
all targets on this branch. There is no support to enable
or disable the vbg optimization. Not all targets support
vbg optimization.

Change-Id: I1d01cf579009cb3ca204a2e2fdd36bd51474b338
Signed-off-by: default avatarTony Truong <truong@codeaurora.org>
parent ce483cbe
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -60,7 +60,6 @@
#define QSERDES_COM_PLLLOCK_CMP1	0x090
#define QSERDES_COM_PLLLOCK_CMP2	0x094
#define QSERDES_COM_PLLLOCK_CMP_EN	0x09C
#define QSERDES_COM_BGTC		0x0A0
#define QSERDES_COM_DEC_START1	0x0AC
#define QSERDES_COM_RES_CODE_START_SEG1	0x0E0
#define QSERDES_COM_RES_CODE_CAL_CSR	0x0E8
@@ -985,10 +984,9 @@ static void pcie_phy_init(struct msm_pcie_dev_t *dev)
	msm_pcie_write_reg(dev->phy, QSERDES_COM_PLL_IP_SETP, 0x12);
	msm_pcie_write_reg(dev->phy, QSERDES_COM_PLL_CP_SETP, 0x0F);
	msm_pcie_write_reg(dev->phy, QSERDES_COM_PLL_IP_SETI, 0x01);
	msm_pcie_write_reg(dev->phy, QSERDES_COM_IE_TRIM, 0x03);
	msm_pcie_write_reg(dev->phy, QSERDES_COM_IP_TRIM, 0x00);
	msm_pcie_write_reg(dev->phy, QSERDES_COM_IE_TRIM, 0x0F);
	msm_pcie_write_reg(dev->phy, QSERDES_COM_IP_TRIM, 0x0F);
	msm_pcie_write_reg(dev->phy, QSERDES_COM_PLL_CNTRL, 0x46);
	msm_pcie_write_reg(dev->phy, QSERDES_COM_BGTC, 0xFF);

	/* CDR Settings */
	msm_pcie_write_reg(dev->phy, QSERDES_RX_CDR_CONTROL1, 0xF4);