MLK-19932 PCI: imx: make sure the ref_clk is enabled
authorRichard Zhu <hongxing.zhu@nxp.com>
Mon, 14 Jan 2019 12:51:53 +0000 (18:21 +0530)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit03d3dc69c12202c472940fff0c4ea8ed53a902f8
treef58bee9f30940aba78a56d1fbc12577310acc617
parentf69ee9882c24db7d9dc1b36f195987c05bea86b1
MLK-19932 PCI: imx: make sure the ref_clk is enabled

In the EP RC validation system, EP wouldn't set RC's
CLK_REQ# to low, like one real inserted EP device to do.
Let RC to set the over ride low and enabled, make sure that
REF_CLK of RC side is turned on.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
(cherry picked from commit 9dbd35f429a8383b13ca758fd14c6dad926e16e6)
rebase on v4.19
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
drivers/pci/controller/dwc/pci-imx6.c