The MX6 has OTP bits specifying the processor speed grade as well as temperature grade.
This series adds functions to return this information as well as adds the details to the CPU info displayed. Additionally we use the temperature grade to replace the hard-coded limits in imx_thermal.c I expect some possible discussion/debate regarding the displaying of this info, but perhaps adding the functions to obtain the info and use it for imx_thermal is beyond debate. Please let me know. Tim Harvey (4): imx: mx6: display max cpu frequency in print_cpuinfo() mx6: add OTP bank1 registers imx: mx6: add display of temperature grade of processor in cpu_printinfo() thermal: imx_thermal: use CPU temperature grade for trip points arch/arm/cpu/armv7/mx6/soc.c | 58 +++++++++++++++++++++++++++++++ arch/arm/imx-common/cpu.c | 37 +++++++++++++++++++- arch/arm/include/asm/arch-mx6/imx-regs.h | 19 ++++++++++ arch/arm/include/asm/arch-mx6/sys_proto.h | 2 ++ arch/arm/include/asm/proc | 1 + drivers/thermal/imx_thermal.c | 29 ++++++++++------ include/imx_thermal.h | 6 ++++ 7 files changed, 141 insertions(+), 11 deletions(-) create mode 120000 arch/arm/include/asm/proc -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot