diff options
author | Bibek Basu <bibek.basu@stericsson.com> | 2011-05-03 10:20:53 +0530 |
---|---|---|
committer | Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> | 2011-05-03 13:08:16 +0200 |
commit | ca4ad67501e296c2dd980daab49989d077984018 (patch) | |
tree | ca89c4c4f213719eb3c7fc69996e86824b46e2c5 /drivers | |
parent | e0560b59518f395e59c5f47d466c8d79e568cc80 (diff) |
U5500: Add seperate IRQ RESOURCE for USB
USB wants seperate mentioning of contiguous IRQ resource.
VBUS_R, VBUS_F, usb_idgnd_f, usb_idgnd_r
ST-Ericsson Linux next: -
ST-Ericsson ID: WP257121
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I47d340a71223423cc6a1ac1de309df3d21eb17f2
Signed-off-by: Bibek Basu <bibek.basu@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22050
Reviewed-by: QATEST
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'drivers')
-rwxr-xr-x | drivers/mfd/ab5500-core.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/drivers/mfd/ab5500-core.c b/drivers/mfd/ab5500-core.c index d769dffa2eb..14aa3747d36 100755 --- a/drivers/mfd/ab5500-core.c +++ b/drivers/mfd/ab5500-core.c @@ -720,7 +720,7 @@ static struct mfd_cell ab5500_devs[AB5500_NUM_DEVICES] = { [AB5500_DEVID_USB] = { .name = "ab5500-usb", .id = AB5500_DEVID_USB, - .num_resources = 35, + .num_resources = 36, .resources = (struct resource[]) { { .name = "Link_Update", @@ -735,9 +735,15 @@ static struct mfd_cell ab5500_devs[AB5500_NUM_DEVICES] = { .end = AB5500_IRQ(8, 4), }, { - .name = "VBUS", + .name = "VBUS_R", .flags = IORESOURCE_IRQ, .start = AB5500_IRQ(8, 5), + .end = AB5500_IRQ(8, 5), + }, + { + .name = "VBUS_F", + .flags = IORESOURCE_IRQ, + .start = AB5500_IRQ(8, 6), .end = AB5500_IRQ(8, 6), }, { @@ -819,9 +825,15 @@ static struct mfd_cell ab5500_devs[AB5500_NUM_DEVICES] = { .end = AB5500_IRQ(16, 1), }, { - .name = "usb_idgnd", + .name = "usb_idgnd_r", .flags = IORESOURCE_IRQ, .start = AB5500_IRQ(16, 2), + .end = AB5500_IRQ(16, 2), + }, + { + .name = "usb_idgnd_f", + .flags = IORESOURCE_IRQ, + .start = AB5500_IRQ(16, 3), .end = AB5500_IRQ(16, 3), }, { |