imx: mx6: use OTP for teperature grade info
Get series with b4
b4 am 20150519002108.GA21059@shlinux2Versions newest first
- v3 Latest0 of 4 patches 0 repliesNew
Patches in v3 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Peng Fan |
|---|---|
| Series | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [Patch v3 0/4] imx: mx6: use OTP for teperature grade info
Hi Tim,
Quoted 28 lines · Tim Harvey
Use Temperature grade info in OTP/eFUSE for thermal management and display of thermal data.
Cc Stefan Roese <[email protected]>Cc Eric Nelson <[email protected]>Cc Heiko Schocher <[email protected]>Cc Nikita Kiryanov <[email protected]>Cc Jon Nettleton <[email protected]>Cc Jason Liu <[email protected]>Cc Ye Li <[email protected]>Cc Fabio Estevam <[email protected]>Cc Christian Gmeiner <[email protected]>Cc Markus Niebel <[email protected]>Cc Peng Fan <[email protected]>Signed-off-by Tim Harvey <[email protected]>---
v3:
- include display of temperature grade for IMX6SX
v2:
- split into two series: 1 for CPU frequency, other for Temperature gradeTim Harvey (4):
mx6: add OTP bank1 registers
imx: mx6: addget_cpu_temp_gradeto obtain cpu temperature grade from
OTP
imx: mx6: add display of CPU temperature grade inprint_cpuinfo()
thermal:imx_thermal: use CPU temperature grade for trip points
Quoted 7 lines
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
=>
Quoted 4 lines
Signature · 2 lines
-- 1.9.1