MX5: Modify the PLL decoding algorithm
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 23 Sep 2011 09:43:47 +0000 (11:43 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 30 Sep 2011 20:01:05 +0000 (22:01 +0200)
commitbf2eaf5112af4e550420c38b60a15f66a3ff0880
tree7a4b3adc5ea8772da8d8a584be5113c348b7f49f
parent00e11a439729a1a63ec13fea85a4c091c2d0376c
MX5: Modify the PLL decoding algorithm

The PLL decoding algorithm didn't take into account many configuration bits.
Adjust it according to Linux kernel. Also, add PLL4 for MX53.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Jason Hui <jason.hui@linaro.org>
Tested-by: Jason Liu <Jason.hui@linaro.org>
arch/arm/cpu/armv7/mx5/clock.c
arch/arm/include/asm/arch-mx5/crm_regs.h
arch/arm/include/asm/arch-mx5/imx-regs.h