Commit d942d778 authored by Philipp Zabel's avatar Philipp Zabel Committed by Eric Miao

[ARM] pxa/magician: register pda_power IRQs as rising/falling edge

so they can be shared with gpio_vbus.
Signed-off-by: default avatarPhilipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: default avatarEric Miao <eric.miao@marvell.com>
parent d62ab6e2
...@@ -626,13 +626,15 @@ static struct pda_power_pdata power_supply_info = { ...@@ -626,13 +626,15 @@ static struct pda_power_pdata power_supply_info = {
static struct resource power_supply_resources[] = { static struct resource power_supply_resources[] = {
[0] = { [0] = {
.name = "ac", .name = "ac",
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE |
IORESOURCE_IRQ_LOWEDGE,
.start = IRQ_MAGICIAN_VBUS, .start = IRQ_MAGICIAN_VBUS,
.end = IRQ_MAGICIAN_VBUS, .end = IRQ_MAGICIAN_VBUS,
}, },
[1] = { [1] = {
.name = "usb", .name = "usb",
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE |
IORESOURCE_IRQ_LOWEDGE,
.start = IRQ_MAGICIAN_VBUS, .start = IRQ_MAGICIAN_VBUS,
.end = IRQ_MAGICIAN_VBUS, .end = IRQ_MAGICIAN_VBUS,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment