]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: imx: add speed grading check for i.mx6 soc
authorAnson Huang <b20788@freescale.com>
Wed, 12 Feb 2014 09:57:03 +0000 (17:57 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 5 Mar 2014 02:35:22 +0000 (10:35 +0800)
commitc962a0996335fae7f79e64677f47d4784b86f692
tree350dd1ec2dd2322b22b08a348d07700c36168bf4
parent6e6cdf66563086cb0d2071a4c8ecad7b236ce3ec
ARM: imx: add speed grading check for i.mx6 soc

The fuse map of speed_grading[1:0] defines the max speed
of ARM, see below the definition:

2b'11: 1200000000Hz;
2b'10: 996000000Hz;
2b'01: 852000000Hz; -- i.MX6Q Only, exclusive with 996MHz.
2b'00: 792000000Hz;

Need to remove all illegal setpoints according to fuse
map.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/mach-imx6q.c