aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-zoom-peripherals.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-10-25 16:46:56 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-25 16:46:56 -0400
commit7b6181e06841f5ad15c4ff708b967b4db65a64de (patch)
treebdfcf5b74b692f76581156e452d268b64c795200 /arch/arm/mach-omap2/board-zoom-peripherals.c
parent72e58063d63c5f0a7bf65312f1e3a5ed9bb5c2ff (diff)
parentbc487fb341af05120bccb9f59ce76302391dcc77 (diff)
Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
* 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: (163 commits) omap: complete removal of machine_desc.io_pg_offst and .phys_io omap: UART: fix wakeup registers for OMAP24xx UART2 omap: Fix spotty MMC voltages ASoC: OMAP4: MCPDM: Remove unnecessary include of plat/control.h serial: omap-serial: fix signess error OMAP3: DMA: Errata i541: sDMA FIFO draining does not finish omap: dma: Fix buffering disable bit setting for omap24xx omap: serial: Fix the boot-up crash/reboot without CONFIG_PM OMAP3: PM: fix scratchpad memory accesses for off-mode omap4: pandaboard: enable the ehci port on pandaboard omap4: pandaboard: Fix the init if CONFIG_MMC_OMAP_HS is not set omap4: pandaboard: remove unused hsmmc definition OMAP: McBSP: Remove null omap44xx ops comment OMAP: McBSP: Swap CLKS source definition OMAP: McBSP: Fix CLKR and FSR signal muxing OMAP2+: clock: reduce the amount of standard debugging while disabling unused clocks OMAP: control: move plat-omap/control.h to mach-omap2/control.h OMAP: split plat-omap/common.c OMAP: McBSP: implement functional clock switching via clock framework OMAP: McBSP: implement McBSP CLKR and FSR signal muxing via mach-omap2/mcbsp.c ... Fixed up trivial conflicts in arch/arm/mach-omap2/ {board-zoom-peripherals.c,devices.c} as per Tony
Diffstat (limited to 'arch/arm/mach-omap2/board-zoom-peripherals.c')
-rw-r--r--arch/arm/mach-omap2/board-zoom-peripherals.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-zoom-peripherals.c b/arch/arm/mach-omap2/board-zoom-peripherals.c
index bc8232845d7a..86c9b2102952 100644
--- a/arch/arm/mach-omap2/board-zoom-peripherals.c
+++ b/arch/arm/mach-omap2/board-zoom-peripherals.c
@@ -18,6 +18,7 @@
18#include <linux/regulator/machine.h> 18#include <linux/regulator/machine.h>
19#include <linux/regulator/fixed.h> 19#include <linux/regulator/fixed.h>
20#include <linux/wl12xx.h> 20#include <linux/wl12xx.h>
21#include <linux/mmc/host.h>
21 22
22#include <asm/mach-types.h> 23#include <asm/mach-types.h>
23#include <asm/mach/arch.h> 24#include <asm/mach/arch.h>
@@ -35,7 +36,7 @@
35#define OMAP_ZOOM_WLAN_IRQ_GPIO (162) 36#define OMAP_ZOOM_WLAN_IRQ_GPIO (162)
36 37
37/* Zoom2 has Qwerty keyboard*/ 38/* Zoom2 has Qwerty keyboard*/
38static int board_keymap[] = { 39static uint32_t board_keymap[] = {
39 KEY(0, 0, KEY_E), 40 KEY(0, 0, KEY_E),
40 KEY(0, 1, KEY_R), 41 KEY(0, 1, KEY_R),
41 KEY(0, 2, KEY_T), 42 KEY(0, 2, KEY_T),
@@ -199,14 +200,14 @@ static struct omap2_hsmmc_info mmc[] __initdata = {
199 { 200 {
200 .name = "external", 201 .name = "external",
201 .mmc = 1, 202 .mmc = 1,
202 .wires = 4, 203 .caps = MMC_CAP_4_BIT_DATA,
203 .gpio_wp = -EINVAL, 204 .gpio_wp = -EINVAL,
204 .power_saving = true, 205 .power_saving = true,
205 }, 206 },
206 { 207 {
207 .name = "internal", 208 .name = "internal",
208 .mmc = 2, 209 .mmc = 2,
209 .wires = 8, 210 .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA,
210 .gpio_cd = -EINVAL, 211 .gpio_cd = -EINVAL,
211 .gpio_wp = -EINVAL, 212 .gpio_wp = -EINVAL,
212 .nonremovable = true, 213 .nonremovable = true,
@@ -348,4 +349,5 @@ void __init zoom_peripherals_init(void)
348 platform_device_register(&omap_vwlan_device); 349 platform_device_register(&omap_vwlan_device);
349 usb_musb_init(&musb_board_data); 350 usb_musb_init(&musb_board_data);
350 enable_board_wakeup_source(); 351 enable_board_wakeup_source();
352 omap_serial_init();
351} 353}