OMAP4: TEMP_SENSOR: OMAP on-die temp check support
authorMoiz Sonasath <m-sonasath@ti.com>
Wed, 25 May 2011 18:54:07 +0000 (13:54 -0500)
committerDan Murphy <dmurphy@ti.com>
Thu, 2 Jun 2011 16:36:44 +0000 (11:36 -0500)
commitbc2eee8a032e837d47bbff995fc0880ef11fbd1f
treeb13a1abdc41cc5a179c05f1b65a87f53fe6ef37e
parent203c01320b1b2dcb72fa428e6553fa28155c8d48
OMAP4: TEMP_SENSOR: OMAP on-die temp check support

This patch adds the support of checking the on-die
temperature using the OMAP Bandgap Temp sensor.

If the Temperature is higher than the TSHUT HOT
threshold (123 degree celcius), the clocks are
bypassed and xloader boot is stopped, prompting
the user over serial-com to power-off and restart
after sometime.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Moiz Sonasath <m-sonasath@ti.com>
cpu/omap4/clock.c
include/asm/arch-omap4/omap4430.h
lib/board.c