msm: ep_pcie: disable debouncers

Disable debouncers for PCIe endpoint mode.

Change-Id: I504418193920861296d995bd898f01307e6dc518
Signed-off-by: Yan He <yanhe@codeaurora.org>
This commit is contained in:
Yan He 2015-05-29 14:31:29 -07:00 committed by David Keitel
parent a0ad90f548
commit f31be11ecb
2 changed files with 4 additions and 0 deletions

View file

@ -24,6 +24,7 @@
#include <linux/msm_ep_pcie.h>
#define PCIE20_PARF_SYS_CTRL 0x00
#define PCIE20_PARF_DB_CTRL 0x10
#define PCIE20_PARF_PM_CTRL 0x20
#define PCIE20_PARF_PM_STTS 0x24
#define PCIE20_PARF_PHY_CTRL 0x40

View file

@ -489,6 +489,9 @@ static void ep_pcie_core_init(struct ep_pcie_dev_t *dev)
/* Disable the DBI Wakeup */
ep_pcie_write_mask(dev->parf + PCIE20_PARF_SYS_CTRL, BIT(11), 0);
/* Disable the debouncers */
ep_pcie_write_reg(dev->parf, PCIE20_PARF_DB_CTRL, 0x73);
/* Disable core clock CGC */
ep_pcie_write_mask(dev->parf + PCIE20_PARF_SYS_CTRL, 0, BIT(6));