]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00174152 i.mx6/clock: set ddr clock parent to pll2_mfd_400M
authorJason Liu <r64343@freescale.com>
Thu, 9 Feb 2012 06:09:58 +0000 (14:09 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:52 +0000 (14:10 +0200)
commitf8aecebc7b06a3f489681ee8644f255d782171f7
tree881235b95c115b3b34da53787e7767fbeba6cf34
parent32db8b4e4386a70a0697f2e4e387a1654029636f
ENGR00174152 i.mx6/clock: set ddr clock parent to pll2_mfd_400M

on i.mx6dl, DDR clock is sourcing from pll2_mfd_400M, so, we need
set DDR/periph_clk parent to pll2_mfd_400M during clock init, which
will setup the clock usecount of pll2_mfd_400M correctly, otherwise,
when all the child device with clock source from pll2_mfd_400M turn
off, the pll2_mfd_400M will turns off automaticly, which will cause
system hang due to DDR clock is off when code is runing on it.

Signed-off-by: Jason Liu <r64343@freescale.com>
arch/arm/mach-mx6/clock.c