diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2009-02-09 11:34:07 -0500 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2009-03-09 09:22:35 -0400 |
commit | d942d778b1cc9a3b72f4c92ddf1e6312102a4ad4 (patch) | |
tree | 58d2a939e426346d3220df8feb87d7bd8e513f9f /arch/arm | |
parent | d62ab6e26dbda4d5e183ccbbce9909c5667b20ef (diff) |
[ARM] pxa/magician: register pda_power IRQs as rising/falling edge
so they can be shared with gpio_vbus.
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/magician.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c index 7fd31235c26e..9ca16ec48f64 100644 --- a/arch/arm/mach-pxa/magician.c +++ b/arch/arm/mach-pxa/magician.c | |||
@@ -626,13 +626,15 @@ static struct pda_power_pdata power_supply_info = { | |||
626 | static struct resource power_supply_resources[] = { | 626 | static struct resource power_supply_resources[] = { |
627 | [0] = { | 627 | [0] = { |
628 | .name = "ac", | 628 | .name = "ac", |
629 | .flags = IORESOURCE_IRQ, | 629 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE | |
630 | IORESOURCE_IRQ_LOWEDGE, | ||
630 | .start = IRQ_MAGICIAN_VBUS, | 631 | .start = IRQ_MAGICIAN_VBUS, |
631 | .end = IRQ_MAGICIAN_VBUS, | 632 | .end = IRQ_MAGICIAN_VBUS, |
632 | }, | 633 | }, |
633 | [1] = { | 634 | [1] = { |
634 | .name = "usb", | 635 | .name = "usb", |
635 | .flags = IORESOURCE_IRQ, | 636 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE | |
637 | IORESOURCE_IRQ_LOWEDGE, | ||
636 | .start = IRQ_MAGICIAN_VBUS, | 638 | .start = IRQ_MAGICIAN_VBUS, |
637 | .end = IRQ_MAGICIAN_VBUS, | 639 | .end = IRQ_MAGICIAN_VBUS, |
638 | }, | 640 | }, |