diff options
author | Sean Cross <xobs@kosagi.com> | 2013-09-26 10:45:35 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-10-21 09:15:08 +0800 |
commit | 74b8031307c5d33d36742c26dd0921991bd5a255 (patch) | |
tree | 908e57a4984fda07c73080d0ff4ee201bf75591e /arch/arm/mach-imx/clk-imx6q.c | |
parent | bf22172158cd6dcc5be6dc286ff5c33794dd0ae8 (diff) | |
download | op-kernel-dev-74b8031307c5d33d36742c26dd0921991bd5a255.zip op-kernel-dev-74b8031307c5d33d36742c26dd0921991bd5a255.tar.gz |
ARM: imx6q: clock and Kconfig update for PCIe support
Update imx6q clock initialization and Kconfig for PCIe support.
Signed-off-by: Sean Cross <xobs@kosagi.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/clk-imx6q.c')
-rw-r--r-- | arch/arm/mach-imx/clk-imx6q.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c index e8e5bad..07bc0d8 100644 --- a/arch/arm/mach-imx/clk-imx6q.c +++ b/arch/arm/mach-imx/clk-imx6q.c @@ -623,6 +623,10 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node) if (ret) pr_warn("failed to set up CLKO: %d\n", ret); + /* All existing boards with PCIe use LVDS1 */ + if (IS_ENABLED(CONFIG_PCI_IMX6)) + clk_set_parent(clk[lvds1_sel], clk[sata_ref]); + /* Set initial power mode */ imx6q_set_lpm(WAIT_CLOCKED); |