
Hi Tim,
On Mon, May 18, 2015 at 06:56:43AM -0700, Tim Harvey wrote:
Use Temperature grade info in OTP/eFUSE for thermal management and display of thermal data.
Cc: Stefan Roese sr@denx.de Cc: Eric Nelson eric.nelson@boundarydevices.com Cc: Heiko Schocher hs@denx.de Cc: Nikita Kiryanov nikita@compulab.co.il Cc: Jon Nettleton jon.nettleton@gmail.com Cc: Jason Liu r64343@freescale.com Cc: Ye Li b37916@freescale.com Cc: Fabio Estevam fabio.estevam@freescale.com Cc: Christian Gmeiner christian.gmeiner@gmail.com Cc: Markus Niebel Markus.Niebel@tq-group.com Cc: Peng Fan b51431@freescale.com Signed-off-by: Tim Harvey tharvey@gateworks.com
v3:
- include display of temperature grade for IMX6SX
v2:
- split into two series: 1 for CPU frequency, other for Temperature grade
Tim Harvey (4): mx6: add OTP bank1 registers imx: mx6: add get_cpu_temp_grade to obtain cpu temperature grade from OTP imx: mx6: add display of CPU temperature grade in print_cpuinfo() thermal: imx_thermal: use CPU temperature grade for trip points
arch/arm/cpu/armv7/mx6/soc.c | 38 +++++++++++++++++++++++++++++++ arch/arm/imx-common/cpu.c | 25 ++++++++++++++++---- arch/arm/include/asm/arch-mx6/imx-regs.h | 19 ++++++++++++++++ arch/arm/include/asm/arch-mx6/sys_proto.h | 1 + drivers/thermal/imx_thermal.c | 29 +++++++++++++++-------- include/imx_thermal.h | 6 +++++ 6 files changed, 104 insertions(+), 14 deletions(-)
Tested on mx6sxsabresd RevB TO1.2 board.
I also applied this two patch for this test: https://patchwork.ozlabs.org/patch/473405/ https://patchwork.ozlabs.org/patch/473406/
U-Boot 2015.07-rc1-00260-g44bf513 (May 19 2015 - 09:14:52)
CPU: Freescale i.MX6SX rev1.2 996 MHz (running at 792 MHz) CPU: Extended Commercial temperature grade (-20C to 105C) at 33C Reset cause: POR Board: MX6SX SABRE SDB I2C: ready DRAM: 1 GiB PMIC: PFUZE100 ID=0x11 MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 In: serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0 =>
Tested-by: Peng Fan Peng.Fan@freescale.com
-- 1.9.1
--