]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: imx6: Delay enabling reference clock for SS until it stabilizes
authorTim Harvey <tharvey@gateworks.com>
Fri, 8 Aug 2014 06:36:40 +0000 (23:36 -0700)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:18:47 +0000 (21:18 -0600)
commitfaea9f45e8e60c47a4e47bb2d8596da3e50e0d57
tree1a3e9ba6d52e53b767d59323da7f2ebc077f75bf
parent502881abd5dfe6f5b96de8f19b519b813100ec29
PCI: imx6: Delay enabling reference clock for SS until it stabilizes

According to the IMX6 reference manuals, REF_SSP_EN (Reference clock enable
for SS function) must remain deasserted until the reference clock is
running at the appropriate frequency.

Delay enabling the reference clock for the SS function until it has
stabilized.  This prevents a high link failure rate (>5%) on certain IMX6
boards at various temperatures.

[bhelgaas: reword changelog slightly]
Tested-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Lucas Stach <l.stach@pengutronix.de>
(cherry picked from commit 3fce0e882f61513c45c67e15bd0fde03341b58a5)
drivers/pci/host/pci-imx6.c