Skip to content
Commit 03e97220 authored by Lucas Stach's avatar Lucas Stach Committed by Shawn Guo
Browse files

ARM: clk-imx6q: parent lvds_sel input from upstream clock gates



The i.MX6 reference manual doesn't make a clear distinction
between the fixed clock divider and the enable gate for the
pcie and sata reference clocks. This lead to the lvds mux
inputs in the imx6q clk driver to be parented from the
ref clock (which is the divider) instead of the actual gate,
which in turn prevents the upstream clock to actually be
enabled when lvds clk out is active.

This fixes a hard machine hang regression in kernel 3.16 for
boards where only pcie is active but no sata, as with this
kernel version the imx6-pcie driver is no longer enabling
the upstream clock directly but only lvds clk out.

Reported-by: default avatarArne Ruhnau <arne.ruhnau@target-sg.com>
Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Tested-by: default avatarArne Ruhnau <arne.ruhnau@target-sg.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@freescale.com>
parent 4c834452
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment