diff options
author | Richard Zhu <r65037@freescale.com> | 2014-07-09 16:40:13 +0800 |
---|---|---|
committer | Richard Zhu <r65037@freescale.com> | 2014-07-09 16:41:39 +0800 |
commit | 6e5694927530b4ea5de0c79860f6231351413234 (patch) | |
tree | 11cbc18158e6457e786c2d8f076d8ea9f719683c /drivers/pci | |
parent | 02a092b8e5dfd6226498b53fcd26fb350bd31e5c (diff) |
ENGR00322021-2 pcie:can't access pcie dbi register
fixed the but that the pcie dbi reg can't be accessed
on the 2014.04 version.
rootcause:
pcie phy test power down is set in 2014.04 version uboot.
solution:
clear the pcie phy test power down in the kernel pcie
driver initialization.
Signed-off-by: Richard Zhu <r65037@freescale.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/host/pci-imx6.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c index 9a378b33fefa..bfc34993e257 100644 --- a/drivers/pci/host/pci-imx6.c +++ b/drivers/pci/host/pci-imx6.c @@ -252,6 +252,9 @@ static int imx6_pcie_deassert_core_reset(struct pcie_port *pp) request_bus_freq(BUS_FREQ_HIGH); if (is_imx6sx_pcie(imx6_pcie)) { + regmap_update_bits(imx6_pcie->iomuxc_gpr, IOMUXC_GPR12, + IMX6Q_GPR12_PCIE_TEST_PD, 0 << 30); + ret = clk_prepare_enable(imx6_pcie->dis_axi); if (ret) { dev_err(pp->dev, "unable to enable dis_axi\n"); |