aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-10-25 10:59:01 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-25 10:59:01 -0400
commit3a99c6319064af3f2e18eb929f638d555dbf7a62 (patch)
treee611927f41142123dc8efed7e07a3a91151edb01 /drivers/mfd
parent1dfd166e93f98892aa4427069a23ed73259983c8 (diff)
parent49327ad2bbbaf1945d5ba431522201574219d150 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (75 commits) Input: wacom - specify Cinitq supported tools Input: ab8500-ponkey - fix IRQ freeing in error path Input: adp5588-keys - use more obvious i2c_device_id name string Input: ad7877 - switch to using threaded IRQ Input: ad7877 - use attribute group to control visibility of attributes Input: serio - add support for PS2Mult multiplexer protocol Input: wacom - properly enable runtime PM Input: ad7877 - filter events where pressure is beyond the maximum Input: ad7877 - implement EV_KEY:BTN_TOUCH reporting Input: ad7877 - implement specified chip select behavior Input: hp680_ts_input - use cancel_delayed_work_sync() Input: mousedev - correct lockdep annotation Input: ads7846 - switch to using threaded IRQ Input: serio - support multiple child devices per single parent Input: synaptics - simplify pass-through port handling Input: add ROHM BU21013 touch panel controller support Input: omap4-keypad - wake-up on events & long presses Input: omap4-keypad - fix interrupt line configuration Input: omap4-keypad - SYSCONFIG register configuration Input: omap4-keypad - use platform device helpers ...
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/ab8500-core.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c
index defa786dee34..b8c4b80e4c43 100644
--- a/drivers/mfd/ab8500-core.c
+++ b/drivers/mfd/ab8500-core.c
@@ -338,6 +338,21 @@ static struct resource ab8500_rtc_resources[] = {
338 }, 338 },
339}; 339};
340 340
341static struct resource ab8500_poweronkey_db_resources[] = {
342 {
343 .name = "ONKEY_DBF",
344 .start = AB8500_INT_PON_KEY1DB_F,
345 .end = AB8500_INT_PON_KEY1DB_F,
346 .flags = IORESOURCE_IRQ,
347 },
348 {
349 .name = "ONKEY_DBR",
350 .start = AB8500_INT_PON_KEY1DB_R,
351 .end = AB8500_INT_PON_KEY1DB_R,
352 .flags = IORESOURCE_IRQ,
353 },
354};
355
341static struct mfd_cell ab8500_devs[] = { 356static struct mfd_cell ab8500_devs[] = {
342 { 357 {
343 .name = "ab8500-gpadc", 358 .name = "ab8500-gpadc",
@@ -354,6 +369,11 @@ static struct mfd_cell ab8500_devs[] = {
354 { .name = "ab8500-usb", }, 369 { .name = "ab8500-usb", },
355 { .name = "ab8500-pwm", }, 370 { .name = "ab8500-pwm", },
356 { .name = "ab8500-regulator", }, 371 { .name = "ab8500-regulator", },
372 {
373 .name = "ab8500-poweron-key",
374 .num_resources = ARRAY_SIZE(ab8500_poweronkey_db_resources),
375 .resources = ab8500_poweronkey_db_resources,
376 },
357}; 377};
358 378
359int __devinit ab8500_init(struct ab8500 *ab8500) 379int __devinit ab8500_init(struct ab8500 *ab8500)