diff options
author | Aneesh V <aneesh@ti.com> | 2012-04-27 17:54:07 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-02 10:56:30 -0700 |
commit | 68b4aee35d1fb8399068aa6e6c908584690d0b06 (patch) | |
tree | 8ab447cf4a83d0fa6020663c96d440e3dbfd331e /arch/sparc/oprofile | |
parent | a93de288aad3b046935d626065d4bcbb7d93b093 (diff) | |
download | linux-68b4aee35d1fb8399068aa6e6c908584690d0b06.tar.bz2 |
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>
Diffstat (limited to 'arch/sparc/oprofile')
0 files changed, 0 insertions, 0 deletions