aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/memory/emif.h
diff options
context:
space:
mode:
authorAneesh V <aneesh@ti.com>2012-04-27 08:24:05 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-02 03:10:49 -0400
commit7ec944538dde3d7f490bd4d2619051789db5c3c3 (patch)
tree03bbd82691ce1d620a14d31e8bc3f231232e660d /drivers/memory/emif.h
parent6c8b0906cf447adf2aeeed3d79eb5cec7f362d1f (diff)
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 <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>
Diffstat (limited to 'drivers/memory/emif.h')
-rw-r--r--drivers/memory/emif.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/memory/emif.h b/drivers/memory/emif.h
index 44b97dfe95b4..692b2a864e7b 100644
--- a/drivers/memory/emif.h
+++ b/drivers/memory/emif.h
@@ -12,6 +12,13 @@
12#ifndef __EMIF_H 12#ifndef __EMIF_H
13#define __EMIF_H 13#define __EMIF_H
14 14
15/*
16 * Maximum number of different frequencies supported by EMIF driver
17 * Determines the number of entries in the pointer array for register
18 * cache
19 */
20#define EMIF_MAX_NUM_FREQUENCIES 6
21
15/* Registers offset */ 22/* Registers offset */
16#define EMIF_MODULE_ID_AND_REVISION 0x0000 23#define EMIF_MODULE_ID_AND_REVISION 0x0000
17#define EMIF_STATUS 0x0004 24#define EMIF_STATUS 0x0004