diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-02 13:34:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-02 13:34:25 -0500 |
commit | 5057bfaff82e12f01a2ffd58f55535cbd7c5c3a2 (patch) | |
tree | 0397253173308317480ed82f0b75af46cd3f6cb1 /arch/arm/mach-omap2/board-ldp.c | |
parent | 6c0ad5dfd3d5ad6def89b485ee52834547da239b (diff) | |
parent | d702d12167a2c05a346f49aac7a311d597762495 (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: (214 commits)
omap2: Initialize Menelaus and MMC for N8X0
AM3517 EVM: correct typo - tca6416 mispelt as tca6516
AM3517 EVM: Enable I2C support
AM35x: Enable OMAP_MUX in defconfig
AM35x: Add missing GPIO mux config for EHCI port
Zoom3: Defconfig update
omap: i2c: Fix muxing for command line enabled bus
OMAP4: clock: Remove clock hacks from timer-gp.c
OMAP4: clock: Add dummy clock nodes for interface clocks
OMAP4: clock: Rename leaf clock nodes to end with a _ick or _fck
OMAP2+ clock: revise omap2_clk_{disable,enable}()
OMAP2/3 clock: combine OMAP2 & 3 boot-time MPU rate change code
OMAP clockdomain: if no autodeps exist, don't try to add or remove them
OMAP hwmod: add hwmod class support
OMAP hwmod: convert header files with static allocations into C files
OMAP hwmod: convert hwmod to use hardware clock names rather than clkdev dev+con
OMAP clock: add omap_clk_get_by_name() for use by OMAP hwmod core code
OMAP3: clock: add capability to change rate of dpll4_m5_ck_3630
OMAP4 clock: drop the ALWAYS_ENABLED clock flag
OMAP clock: drop RATE_FIXED clock flag
...
Diffstat (limited to 'arch/arm/mach-omap2/board-ldp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index 995d4a2b2dfd..5fcb52e71298 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include <plat/usb.h> | 44 | #include <plat/usb.h> |
45 | 45 | ||
46 | #include "mux.h" | 46 | #include "mux.h" |
47 | #include "mmc-twl4030.h" | 47 | #include "hsmmc.h" |
48 | 48 | ||
49 | #define LDP_SMSC911X_CS 1 | 49 | #define LDP_SMSC911X_CS 1 |
50 | #define LDP_SMSC911X_GPIO 152 | 50 | #define LDP_SMSC911X_GPIO 152 |
@@ -359,7 +359,7 @@ static int __init omap_i2c_init(void) | |||
359 | return 0; | 359 | return 0; |
360 | } | 360 | } |
361 | 361 | ||
362 | static struct twl4030_hsmmc_info mmc[] __initdata = { | 362 | static struct omap2_hsmmc_info mmc[] __initdata = { |
363 | { | 363 | { |
364 | .mmc = 1, | 364 | .mmc = 1, |
365 | .wires = 4, | 365 | .wires = 4, |
@@ -383,6 +383,12 @@ static struct omap_board_mux board_mux[] __initdata = { | |||
383 | #define board_mux NULL | 383 | #define board_mux NULL |
384 | #endif | 384 | #endif |
385 | 385 | ||
386 | static struct omap_musb_board_data musb_board_data = { | ||
387 | .interface_type = MUSB_INTERFACE_ULPI, | ||
388 | .mode = MUSB_OTG, | ||
389 | .power = 100, | ||
390 | }; | ||
391 | |||
386 | static void __init omap_ldp_init(void) | 392 | static void __init omap_ldp_init(void) |
387 | { | 393 | { |
388 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 394 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
@@ -394,9 +400,9 @@ static void __init omap_ldp_init(void) | |||
394 | ARRAY_SIZE(ldp_spi_board_info)); | 400 | ARRAY_SIZE(ldp_spi_board_info)); |
395 | ads7846_dev_init(); | 401 | ads7846_dev_init(); |
396 | omap_serial_init(); | 402 | omap_serial_init(); |
397 | usb_musb_init(); | 403 | usb_musb_init(&musb_board_data); |
398 | 404 | ||
399 | twl4030_mmc_init(mmc); | 405 | omap2_hsmmc_init(mmc); |
400 | /* link regulators to MMC adapters */ | 406 | /* link regulators to MMC adapters */ |
401 | ldp_vmmc1_supply.dev = mmc[0].dev; | 407 | ldp_vmmc1_supply.dev = mmc[0].dev; |
402 | } | 408 | } |
@@ -404,7 +410,7 @@ static void __init omap_ldp_init(void) | |||
404 | static void __init omap_ldp_map_io(void) | 410 | static void __init omap_ldp_map_io(void) |
405 | { | 411 | { |
406 | omap2_set_globals_343x(); | 412 | omap2_set_globals_343x(); |
407 | omap2_map_common_io(); | 413 | omap34xx_map_common_io(); |
408 | } | 414 | } |
409 | 415 | ||
410 | MACHINE_START(OMAP_LDP, "OMAP LDP board") | 416 | MACHINE_START(OMAP_LDP, "OMAP LDP board") |