Aneesh V 68b4aee35d memory: emif: add interrupt and temperature handling
Add an ISR for EMIF that:
	1. reports details of access errors
	2. takes action on thermal events

Also clear all interrupts on shut-down. Pending IRQs
may casue problems during warm-reset.

Temperature handling:
EMIF can be configured to poll the temperature level
of an LPDDR2 device from the MR4 mode register in the
device. EMIF generates an interrupt whenever it identifies
a temperature level change between two consecutive pollings.

Some of the timing parameters need to be de-rated at high
temperatures. The interrupt handler takes care of doing
this and also takes care of going back to nominal settings
when temperature falls back to nominal levels.

Signed-off-by: Aneesh V <aneesh@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Benoit Cousson <b-cousson@ti.com>
[santosh.shilimkar@ti.com: Moved to drivers/memory from drivers/misc]
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-02 10:56:30 -07:00
..
2012-03-08 10:50:35 -08:00
2012-04-06 17:54:53 -07:00
2012-03-19 09:37:11 +00:00
2012-04-05 22:13:39 -07:00
2012-03-27 16:03:32 -07:00
2012-03-28 15:58:21 -07:00
2012-03-28 13:56:35 -07:00
2012-03-29 18:02:10 -07:00
2012-03-28 14:08:46 -07:00
2012-04-06 17:54:53 -07:00
2012-03-17 01:41:43 -07:00
2012-04-04 10:09:30 -07:00
2012-03-28 15:58:21 -07:00
2012-03-30 00:09:17 -07:00
2012-04-07 09:52:46 -07:00
2012-04-05 22:13:39 -07:00
2012-04-05 22:13:39 -07:00
2012-03-29 18:02:10 -07:00
2012-04-06 17:54:53 -07:00