mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 19:21:28 +02:00
pci:msm: Configure PCIe RC mode for RUMI
Add PCIe RC mode support to RUMI. Change-Id: I211ac7aa4c546a2ce50d5df855112e3f90607700 Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com> Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
This commit is contained in:
parent
d45e5fa01c
commit
7a0bc21b15
|
|
@ -1378,6 +1378,9 @@ static void msm_pcie_rumi_init(struct msm_pcie_dev_t *pcie_dev)
|
|||
|
||||
PCIE_DBG(pcie_dev, "PCIe: RC%d: enter.\n", pcie_dev->rc_idx);
|
||||
|
||||
/* configure PCIe to RC mode */
|
||||
msm_pcie_write_reg(pcie_dev->rumi, 0x54, 0x7c70);
|
||||
|
||||
val = readl_relaxed(pcie_dev->rumi + phy_ctrl_offs) | 0x1000;
|
||||
msm_pcie_write_reg(pcie_dev->rumi, phy_ctrl_offs, val);
|
||||
usleep_range(10000, 10001);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user