diff options
author | Richard Zhu <hongxing.zhu@nxp.com> | 2018-08-03 12:45:42 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:33:04 +0800 |
commit | ac645caad0ba31902fe3fbbdde479ee1881e9c74 (patch) | |
tree | 056d826f27b2e561c96b6fc2f6f1463288a8d5ce /drivers/pci | |
parent | f194a827e14525626f0c9fb53f93513739d38b78 (diff) |
MLK-19113-2 PCI: imx: enable the l1.1 aspm on imx8mm
Enable the L1.1 ASPM support on iMX8MM, and
verified the EVK board.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/dwc/pci-imx6.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/pci/dwc/pci-imx6.c b/drivers/pci/dwc/pci-imx6.c index d22eff8879c7..29bcfee0c812 100644 --- a/drivers/pci/dwc/pci-imx6.c +++ b/drivers/pci/dwc/pci-imx6.c @@ -1621,7 +1621,9 @@ static int imx_pcie_host_init(struct pcie_port *pp) * controlled by HW when link is up. * Otherwise, turn off the REF_CLK to save power consumption. */ - if (imx_pcie->variant == IMX8MQ) { + switch (imx_pcie->variant) { + case IMX8MQ: + case IMX8MM: if (imx_pcie->ctrl_id == 0) val = IOMUXC_GPR14; else @@ -1630,6 +1632,9 @@ static int imx_pcie_host_init(struct pcie_port *pp) regmap_update_bits(imx_pcie->iomuxc_gpr, val, IMX8MQ_GPR_PCIE_CLK_REQ_OVERRIDE_EN, 0); + break; + default: + break; } if (ret < 0) return ret; |