public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/4]: imx: mx6: use OTP for temperature grade and freq grade
@ 2015-04-28 15:44 Tim Harvey
  2015-04-28 15:44 ` [U-Boot] [PATCH 1/4] imx: mx6: display max cpu frequency in print_cpuinfo() Tim Harvey
                   ` (4 more replies)
  0 siblings, 5 replies; 21+ messages in thread
From: Tim Harvey @ 2015-04-28 15:44 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2015-05-11 20:04 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-28 15:44 [U-Boot] [PATCH 0/4]: imx: mx6: use OTP for temperature grade and freq grade Tim Harvey
2015-04-28 15:44 ` [U-Boot] [PATCH 1/4] imx: mx6: display max cpu frequency in print_cpuinfo() Tim Harvey
2015-04-29  8:08   ` Markus Niebel
2015-04-28 15:44 ` [U-Boot] [PATCH 2/4] mx6: add OTP bank1 registers Tim Harvey
2015-04-28 15:44 ` [U-Boot] [PATCH 3/4] imx: mx6: add display of temperature grade of processor in cpu_printinfo() Tim Harvey
2015-05-10 14:54   ` Fabio Estevam
2015-05-11 19:59     ` Tim Harvey
2015-05-11 20:04       ` Fabio Estevam
2015-04-28 15:44 ` [U-Boot] [PATCH 4/4] thermal: imx_thermal: use CPU temperature grade for trip points Tim Harvey
2015-04-28 17:11 ` [U-Boot] [PATCH 0/4]: imx: mx6: use OTP for temperature grade and freq grade Stefan Roese
2015-04-28 17:31   ` Tim Harvey
2015-05-07 15:55     ` Tim Harvey
2015-05-07 16:01       ` Stefan Roese
2015-05-07 16:07       ` Stefano Babic
2015-05-07 16:12       ` Christian Gmeiner
2015-05-08  6:57       ` Markus Niebel
2015-05-08 15:42         ` Tim Harvey
2015-05-08 17:35           ` Nikolay Dimitrov
2015-05-08 19:26             ` Tim Harvey
2015-05-10 13:46               ` Nikolay Dimitrov
2015-05-10 13:52                 ` Nikolay Dimitrov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox