|author||Aneesh V <firstname.lastname@example.org>||2012-04-27 17:54:05 +0530|
|committer||Greg Kroah-Hartman <email@example.com>||2012-05-02 00:10:49 -0700|
memory: emif: add basic infrastructure for EMIF driver
EMIF is an SDRAM controller used in various Texas Instruments SoCs. EMIF supports, based on its revision, one or more of LPDDR2/DDR2/DDR3 protocols. Add the basic infrastructure for EMIF driver that includes driver registration, probe, parsing of platform data etc. Signed-off-by: Aneesh V <firstname.lastname@example.org> Reviewed-by: Santosh Shilimkar <email@example.com> Reviewed-by: Benoit Cousson <firstname.lastname@example.org> [email@example.com: Moved to drivers/memory from drivers/misc] Signed-off-by: Santosh Shilimkar <firstname.lastname@example.org> Tested-by: Lokesh Vutla <email@example.com> Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>
Diffstat (limited to 'Documentation/memory-devices')
1 files changed, 57 insertions, 0 deletions
diff --git a/Documentation/memory-devices/ti-emif.txt b/Documentation/memory-devices/ti-emif.txt
new file mode 100644
@@ -0,0 +1,57 @@
+TI EMIF SDRAM Controller Driver:
+Aneesh V <email@example.com>
+ Memory devices
+ Texas Instruments EMIF driver
+This driver is for the EMIF module available in Texas Instruments
+SoCs. EMIF is an SDRAM controller that, based on its revision,
+supports one or more of DDR2, DDR3, and LPDDR2 SDRAM protocols.
+This driver takes care of only LPDDR2 memories presently. The
+functions of the driver includes re-configuring AC timing
+parameters and other settings during frequency, voltage and
+Platform Data (see include/linux/platform_data/emif_plat.h):
+DDR device details and other board dependent and SoC dependent
+information can be passed through platform data (struct emif_platform_data)
+- DDR device details: 'struct ddr_device_info'
+- Device AC timings: 'struct lpddr2_timings' and 'struct lpddr2_min_tck'
+- Custom configurations: customizable policy options through
+ 'struct emif_custom_configs'
+- IP revision
+- PHY type
+Interface to the external world:
+EMIF driver registers notifiers for voltage and frequency changes
+affecting EMIF and takes appropriate actions when these are invoked.
+The driver creates two debugfs entries per device.
+- regcache_dump : dump of register values calculated and saved for all
+ frequencies used so far.
+- mr4 : last polled value of MR4 register in the LPDDR2 device. MR4
+ indicates the current temperature level of the device.