[U-Boot] [PATCH 0/4]: imx: mx6: use OTP for temperature grade and freq grade

Tim Harvey tharvey at gateworks.com
Tue Apr 28 17:44:21 CEST 2015


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



More information about the U-Boot mailing list