Skip to content

: imx: mx6: use OTP for temperature grade and freq grade

Tim Harvey u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4imx: mx6: display max cpu frequency in print_cpuinfo()arch/arm/cpu/armv7/mx6/soc.c arch/arm/imx-common/cpu.c arch/arm/include/asm/arch-mx6/sys_proto.h +1 more+45 -01 reply
2/4mx6: add OTP bank1 registersarch/arm/include/asm/arch-mx6/imx-regs.h+19 -00 replies
3/4imx: mx6: add display of temperature grade of processor in cpu_printinfo()arch/arm/cpu/armv7/mx6/soc.c arch/arm/imx-common/cpu.c arch/arm/include/asm/arch-mx6/sys_proto.h +1 more+62 -51 reply
3/4imx: mx6: add display of temperature grade of processor in cpu_printinfo()+0 -01 reply
4/4thermal: imx_thermal: use CPU temperature grade for trip pointsdrivers/thermal/imx_thermal.c+19 -100 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStefan RoeseStefano BabicChristian GmeinerNikolay Dimitrov
SeriesA-b A-b A-b T-b
1/4
2/4
3/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

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

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
Signature · 1 line
1.9.1