]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00176160 [MX6]Correct PLL1 freq change flow
authorAnson Huang <b20788@freescale.com>
Tue, 6 Mar 2012 04:00:16 +0000 (12:00 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:12 +0000 (08:34 +0200)
commit7e29cbf71d77744ff255360f984801663ae23f73
treed9225b548f9f365ce9c9cece8fc5369e4a2b492b
parent7605bc6b0f6b7cccdc491a5cee13882c0ede6230
ENGR00176160 [MX6]Correct PLL1 freq change flow

Previous PLL1 freq change is done by switching CPU clock
to 400M pfd or 24M OSC, then modifying
PLL1 div directly, and switch back CPU clock immediately,
it will result in CPU clock stop during PLL1 hardware lock
period, thus, DRAM FIFO may blocked by the data CPU
requested before PLL1 clock changed, and it will block other devices
accessing DRAM, such as IPU, VPU etc. It will cause
underrun or hang issue. We should wait PLL1 lock, then switch
back.

Signed-off-by: Anson Huang <b20788@freescale.com>
arch/arm/mach-mx6/clock.c