diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2011-04-20 10:47:54 +0530 |
---|---|---|
committer | Robert Marklund <robert.marklund@stericsson.com> | 2011-10-05 12:11:14 +0200 |
commit | 332863786e1e6408562ae48ee0b14c095c7ff3a1 (patch) | |
tree | 3ef2ff0fc6e4b2b9d32ba799b615546ab4b7ecc7 /drivers/mfd | |
parent | 75dcb82a96d85a6a562b41fa9235545eab1fe0c0 (diff) |
input/mfd: AB5500 ONSWa support
ST-Ericsson Linux next: -
ST-Ericsson ID: WP257121
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I19122bc76c83545ffa15e6997320eacf58b8c0f6
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21180
Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com>
Reviewed-by: QATEST
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'drivers/mfd')
-rwxr-xr-x | drivers/mfd/ab5500-core.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/mfd/ab5500-core.c b/drivers/mfd/ab5500-core.c index df61dff7968..6b80fdbd52a 100755 --- a/drivers/mfd/ab5500-core.c +++ b/drivers/mfd/ab5500-core.c @@ -1090,6 +1090,25 @@ static struct mfd_cell ab5500_devs[AB5500_NUM_DEVICES] = { }, }, }, + [AB5500_DEVID_ONSWA] = { + .name = "ab5500-onswa", + .id = AB5500_DEVID_ONSWA, + .num_resources = 2, + .resources = (struct resource[]) { + { + .name = "ONSWAn_rising", + .flags = IORESOURCE_IRQ, + .start = AB5500_IRQ(1, 3), + .end = AB5500_IRQ(1, 3), + }, + { + .name = "ONSWAn_falling", + .flags = IORESOURCE_IRQ, + .start = AB5500_IRQ(1, 4), + .end = AB5500_IRQ(1, 4), + }, + }, + }, }; /* |