diff options
author | Mattias Wallin <mattias.wallin@stericsson.com> | 2011-08-25 16:23:38 +0530 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 16:00:12 +0200 |
commit | 0b1a12df0d2293dc0ed6799eee16dc49e08ce0e9 (patch) | |
tree | 54cd9ff4ac8a796928052e4aa1c88d46079b7cfb | |
parent | c0e471b8a5c7d74d64f84cd41f7b75029de36fce (diff) |
mfd: Add support for ab8500 v3.3
This patch removes the early drop version of ab8500 which have
the really bad version nr 0x0. It also adds support for ab8500
cut 3, MetalFix 3 or v3.3.
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: Will be done.
Change-Id: I3b8ef5dab92069bc6270a380d75ddf305715d16f
Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/26680
Reviewed-by: QATEST
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
-rw-r--r-- | drivers/mfd/ab8500-core.c | 2 | ||||
-rw-r--r-- | include/linux/mfd/abx500.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index 2e5809e6899..8072f707432 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c @@ -845,11 +845,11 @@ int __devinit ab8500_init(struct ab8500 *ab8500) return ret; switch (value) { - case AB8500_CUTEARLY: case AB8500_CUT1P0: case AB8500_CUT1P1: case AB8500_CUT2P0: case AB8500_CUT3P0: + case AB8500_CUT3P3: dev_info(ab8500->dev, "detected chip, revision: %#x\n", value); break; default: diff --git a/include/linux/mfd/abx500.h b/include/linux/mfd/abx500.h index a0a1386774f..1d96d4f1bcc 100644 --- a/include/linux/mfd/abx500.h +++ b/include/linux/mfd/abx500.h @@ -43,11 +43,11 @@ #define AB8500_CUT3P0 0x30 /* AB8500 CIDs*/ -#define AB8500_CUTEARLY 0x00 #define AB8500_CUT1P0 0x10 #define AB8500_CUT1P1 0x11 #define AB8500_CUT2P0 0x20 #define AB8500_CUT3P0 0x30 +#define AB8500_CUT3P3 0x33 /* * AB3100, EVENTA1, A2 and A3 event register flags |