diff options
author | Tony Lindgren <tony@atomide.com> | 2005-09-08 18:07:38 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-09-08 18:07:38 -0400 |
commit | 7c38cf021b42a4297bc8f860ab627734bdd6c8d1 (patch) | |
tree | 89c3b807ca90f5c7e5692ddbcd388511dc289530 /arch/arm/mach-omap1/board-netstar.c | |
parent | d7b6b3589471c3856f1e6dc9c77abc4af962ffdb (diff) |
[ARM] 2890/1: OMAP 1/4: Update omap1 specific files, take 2
Patch from Tony Lindgren
This patch syncs the mainline kernel with linux-omap tree.
The highlights of the patch are:
- Convert more drivers to register resources in board-*.c to take
advantage of the driver model by David Brownell and Ladislav Michl
- Use set_irq_type() for GPIO interrupts instead of
omap_set_gpio_edge_ctrl() by David Brownell
- Add minimal support for handling optional add-on boards, such as
OSK Mistral board with LCD and keypad, by David Brownell
- Minimal support for loading functions to SRAM by Tony Lindgren
- Wake up from serial port by muxing RX lines temporarily into GPIO
interrupts by Tony Lindgren
- 32KHz sched_clock by Tony Lindgren and Juha Yrjola
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap1/board-netstar.c')
-rw-r--r-- | arch/arm/mach-omap1/board-netstar.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/mach-omap1/board-netstar.c b/arch/arm/mach-omap1/board-netstar.c index 6750b2014092..d904e643f5ec 100644 --- a/arch/arm/mach-omap1/board-netstar.c +++ b/arch/arm/mach-omap1/board-netstar.c | |||
@@ -75,16 +75,15 @@ static void __init netstar_init(void) | |||
75 | mdelay(50); /* 50ms until PHY ready */ | 75 | mdelay(50); /* 50ms until PHY ready */ |
76 | /* smc91x interrupt pin */ | 76 | /* smc91x interrupt pin */ |
77 | omap_request_gpio(8); | 77 | omap_request_gpio(8); |
78 | omap_set_gpio_edge_ctrl(8, OMAP_GPIO_RISING_EDGE); | ||
79 | 78 | ||
80 | omap_request_gpio(12); | 79 | omap_request_gpio(12); |
81 | omap_request_gpio(13); | 80 | omap_request_gpio(13); |
82 | omap_request_gpio(14); | 81 | omap_request_gpio(14); |
83 | omap_request_gpio(15); | 82 | omap_request_gpio(15); |
84 | omap_set_gpio_edge_ctrl(12, OMAP_GPIO_FALLING_EDGE); | 83 | set_irq_type(OMAP_GPIO_IRQ(12), IRQT_FALLING); |
85 | omap_set_gpio_edge_ctrl(13, OMAP_GPIO_FALLING_EDGE); | 84 | set_irq_type(OMAP_GPIO_IRQ(13), IRQT_FALLING); |
86 | omap_set_gpio_edge_ctrl(14, OMAP_GPIO_FALLING_EDGE); | 85 | set_irq_type(OMAP_GPIO_IRQ(14), IRQT_FALLING); |
87 | omap_set_gpio_edge_ctrl(15, OMAP_GPIO_FALLING_EDGE); | 86 | set_irq_type(OMAP_GPIO_IRQ(15), IRQT_FALLING); |
88 | 87 | ||
89 | platform_add_devices(netstar_devices, ARRAY_SIZE(netstar_devices)); | 88 | platform_add_devices(netstar_devices, ARRAY_SIZE(netstar_devices)); |
90 | 89 | ||