]> git.baikalelectronics.ru Git - kernel.git/commit
memory: emif: handle frequency and voltage change events
authorAneesh V <aneesh@ti.com>
Fri, 27 Apr 2012 12:24:06 +0000 (17:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 17:52:09 +0000 (10:52 -0700)
commit47645e36cd79be0036dbbb5380beea3333dd0982
tree69fb0c026b801c22f166fabf2844440985dbbd79
parent250c13979312a45e2300c8fd9525ee3302b90ad7
memory: emif: handle frequency and voltage change events

Change SDRAM timings and other settings as necessary
on voltage and frequency changes. We calculate these
register settings based on data from the device data
sheet and inputs such a frequency, voltage state(stable
or ramping), temperature level etc.

TODO: frequency and voltage change handling needs to
be integrated with clock framework and regulator
framework respectively. This is not done today
due to missing pieces in the kernel.

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>
Tested-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/memory/emif.c
drivers/memory/emif.h