Enable the L1.1 ASPM support on iMX8MM, and
verified the EVK board.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
rebase on v4.19
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
* 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
regmap_update_bits(imx_pcie->iomuxc_gpr, val,
IMX8MQ_GPR_PCIE_CLK_REQ_OVERRIDE_EN,
0);
+ break;
+ default:
+ break;
}
if (ret < 0)
return ret;