aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorVirupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>2012-04-17 03:30:14 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-05-01 07:32:46 -0400
commit44f72e53382c9c673fd54c3bab67a6b9a2d4526e (patch)
tree95c31c306d17e00f1c27f3e6a75dc3d77bcd4f81 /include/linux/mfd
parentdf3df6469fd1e59284d6b5d4dd9dbe1bd7861040 (diff)
mfd: Add new resources on ab8500 AB8505 and AB9540
The AB8505 and AB9540 has extended support for micro USB resistance detection, used for detecting chargers. Let's register resources for this resource. Let's also split off the separate codec device for AB9540. Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/abx500/ab8500.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/linux/mfd/abx500/ab8500.h b/include/linux/mfd/abx500/ab8500.h
index fccc3002f27..d798f5b6a55 100644
--- a/include/linux/mfd/abx500/ab8500.h
+++ b/include/linux/mfd/abx500/ab8500.h
@@ -194,6 +194,14 @@ enum ab8500_version {
194#define AB9540_INT_GPIO52F 123 194#define AB9540_INT_GPIO52F 123
195#define AB9540_INT_GPIO53F 124 195#define AB9540_INT_GPIO53F 124
196#define AB9540_INT_GPIO54F 125 /* not 8505 */ 196#define AB9540_INT_GPIO54F 125 /* not 8505 */
197/* ab8500_irq_regoffset[16] -> IT[Source|Latch|Mask]25 */
198#define AB8505_INT_KEYSTUCK 128
199#define AB8505_INT_IKR 129
200#define AB8505_INT_IKP 130
201#define AB8505_INT_KP 131
202#define AB8505_INT_KEYDEGLITCH 132
203#define AB8505_INT_MODPWRSTATUSF 134
204#define AB8505_INT_MODPWRSTATUSR 135
197 205
198/* 206/*
199 * AB8500_AB9540_NR_IRQS is used when configuring the IRQ numbers for the 207 * AB8500_AB9540_NR_IRQS is used when configuring the IRQ numbers for the
@@ -203,8 +211,8 @@ enum ab8500_version {
203 * which is larger. 211 * which is larger.
204 */ 212 */
205#define AB8500_NR_IRQS 112 213#define AB8500_NR_IRQS 112
206#define AB8505_NR_IRQS 128 214#define AB8505_NR_IRQS 136
207#define AB9540_NR_IRQS 128 215#define AB9540_NR_IRQS 136
208/* This is set to the roof of any AB8500 chip variant IRQ counts */ 216/* This is set to the roof of any AB8500 chip variant IRQ counts */
209#define AB8500_MAX_NR_IRQS AB9540_NR_IRQS 217#define AB8500_MAX_NR_IRQS AB9540_NR_IRQS
210 218