diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-25 16:46:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-25 16:46:56 -0400 |
commit | 7b6181e06841f5ad15c4ff708b967b4db65a64de (patch) | |
tree | bdfcf5b74b692f76581156e452d268b64c795200 /arch/arm/mach-omap2/board-cm-t35.c | |
parent | 72e58063d63c5f0a7bf65312f1e3a5ed9bb5c2ff (diff) | |
parent | bc487fb341af05120bccb9f59ce76302391dcc77 (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-cm-t35.c')
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t35.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 934d9380c37..63f764e2af3 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/i2c/at24.h> | 31 | #include <linux/i2c/at24.h> |
32 | #include <linux/i2c/twl.h> | 32 | #include <linux/i2c/twl.h> |
33 | #include <linux/regulator/machine.h> | 33 | #include <linux/regulator/machine.h> |
34 | #include <linux/mmc/host.h> | ||
34 | 35 | ||
35 | #include <linux/spi/spi.h> | 36 | #include <linux/spi/spi.h> |
36 | #include <linux/spi/tdo24m.h> | 37 | #include <linux/spi/tdo24m.h> |
@@ -237,8 +238,6 @@ static inline void cm_t35_init_nand(void) {} | |||
237 | defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE) | 238 | defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE) |
238 | #include <linux/spi/ads7846.h> | 239 | #include <linux/spi/ads7846.h> |
239 | 240 | ||
240 | #include <plat/mcspi.h> | ||
241 | |||
242 | static struct omap2_mcspi_device_config ads7846_mcspi_config = { | 241 | static struct omap2_mcspi_device_config ads7846_mcspi_config = { |
243 | .turbo_mode = 0, | 242 | .turbo_mode = 0, |
244 | .single_channel = 1, /* 0: slave, 1: master */ | 243 | .single_channel = 1, /* 0: slave, 1: master */ |
@@ -558,7 +557,7 @@ static struct twl4030_usb_data cm_t35_usb_data = { | |||
558 | .usb_mode = T2_USB_MODE_ULPI, | 557 | .usb_mode = T2_USB_MODE_ULPI, |
559 | }; | 558 | }; |
560 | 559 | ||
561 | static int cm_t35_keymap[] = { | 560 | static uint32_t cm_t35_keymap[] = { |
562 | KEY(0, 0, KEY_A), KEY(0, 1, KEY_B), KEY(0, 2, KEY_LEFT), | 561 | KEY(0, 0, KEY_A), KEY(0, 1, KEY_B), KEY(0, 2, KEY_LEFT), |
563 | KEY(1, 0, KEY_UP), KEY(1, 1, KEY_ENTER), KEY(1, 2, KEY_DOWN), | 562 | KEY(1, 0, KEY_UP), KEY(1, 1, KEY_ENTER), KEY(1, 2, KEY_DOWN), |
564 | KEY(2, 0, KEY_RIGHT), KEY(2, 1, KEY_C), KEY(2, 2, KEY_D), | 563 | KEY(2, 0, KEY_RIGHT), KEY(2, 1, KEY_C), KEY(2, 2, KEY_D), |
@@ -579,14 +578,14 @@ static struct twl4030_keypad_data cm_t35_kp_data = { | |||
579 | static struct omap2_hsmmc_info mmc[] = { | 578 | static struct omap2_hsmmc_info mmc[] = { |
580 | { | 579 | { |
581 | .mmc = 1, | 580 | .mmc = 1, |
582 | .wires = 4, | 581 | .caps = MMC_CAP_4_BIT_DATA, |
583 | .gpio_cd = -EINVAL, | 582 | .gpio_cd = -EINVAL, |
584 | .gpio_wp = -EINVAL, | 583 | .gpio_wp = -EINVAL, |
585 | 584 | ||
586 | }, | 585 | }, |
587 | { | 586 | { |
588 | .mmc = 2, | 587 | .mmc = 2, |
589 | .wires = 4, | 588 | .caps = MMC_CAP_4_BIT_DATA, |
590 | .transceiver = 1, | 589 | .transceiver = 1, |
591 | .gpio_cd = -EINVAL, | 590 | .gpio_cd = -EINVAL, |
592 | .gpio_wp = -EINVAL, | 591 | .gpio_wp = -EINVAL, |