diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-17 22:28:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-17 22:28:15 -0400 |
commit | 0df0914d414a504b975f3cc66ace0c16ef55b7f3 (patch) | |
tree | c97ffa357943a8b226cdec1b9632c4cede813205 /arch/arm/mach-omap2/board-am3517evm.c | |
parent | 6899608533410557e6698cb9d4ff6df553916e98 (diff) | |
parent | 05f689400ea5fa3d71af82f910c8b140f87ad1f3 (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: (258 commits)
omap: zoom: host should not pull up wl1271's irq line
arm: plat-omap: iommu: fix request_mem_region() error path
OMAP2+: Common CPU DIE ID reading code reads wrong registers for OMAP4430
omap4: mux: Remove duplicate mux modes
omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED flag
omap: iovmm: disallow mapping NULL address when IOVMF_DA_ANON is set
omap2+: mux: Fix compile when CONFIG_OMAP_MUX is not selected
omap4: board-omap4panda: Initialise the serial pads
omap3: board-3430sdp: Initialise the serial pads
omap4: board-4430sdp: Initialise the serial pads
omap2+: mux: Add macro for configuring static with omap_hwmod_mux_init
omap2+: mux: Remove the use of IDLE flag
omap2+: Add separate list for dynamic pads to mux
perf: add OMAP support for the new power events
OMAP4: Add IVA OPP enteries.
OMAP4: Update Voltage Rail Values for MPU, IVA and CORE
OMAP4: Enable 800 MHz and 1 GHz MPU-OPP
OMAP3+: OPP: Replace voltage values with Macros
OMAP3: wdtimer: Fix CORE idle transition
Watchdog: omap_wdt: add fine grain runtime-pm
...
Fix up various conflicts in
- arch/arm/mach-omap2/board-omap3evm.c
- arch/arm/mach-omap2/clock3xxx_data.c
- arch/arm/mach-omap2/usb-musb.c
- arch/arm/plat-omap/include/plat/usb.h
- drivers/usb/musb/musb_core.h
Diffstat (limited to 'arch/arm/mach-omap2/board-am3517evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-am3517evm.c | 41 |
1 files changed, 17 insertions, 24 deletions
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index 913538ad17d8..ce7d5e6e4150 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c | |||
@@ -200,6 +200,9 @@ static struct pca953x_platform_data am3517evm_gpio_expander_info_0 = { | |||
200 | }; | 200 | }; |
201 | static struct i2c_board_info __initdata am3517evm_i2c2_boardinfo[] = { | 201 | static struct i2c_board_info __initdata am3517evm_i2c2_boardinfo[] = { |
202 | { | 202 | { |
203 | I2C_BOARD_INFO("tlv320aic23", 0x1A), | ||
204 | }, | ||
205 | { | ||
203 | I2C_BOARD_INFO("tca6416", 0x21), | 206 | I2C_BOARD_INFO("tca6416", 0x21), |
204 | .platform_data = &am3517evm_gpio_expander_info_0, | 207 | .platform_data = &am3517evm_gpio_expander_info_0, |
205 | }, | 208 | }, |
@@ -378,37 +381,23 @@ static struct omap_dss_board_info am3517_evm_dss_data = { | |||
378 | .default_device = &am3517_evm_lcd_device, | 381 | .default_device = &am3517_evm_lcd_device, |
379 | }; | 382 | }; |
380 | 383 | ||
381 | static struct platform_device am3517_evm_dss_device = { | ||
382 | .name = "omapdss", | ||
383 | .id = -1, | ||
384 | .dev = { | ||
385 | .platform_data = &am3517_evm_dss_data, | ||
386 | }, | ||
387 | }; | ||
388 | |||
389 | /* | 384 | /* |
390 | * Board initialization | 385 | * Board initialization |
391 | */ | 386 | */ |
392 | static struct omap_board_config_kernel am3517_evm_config[] __initdata = { | 387 | static void __init am3517_evm_init_early(void) |
393 | }; | ||
394 | |||
395 | static struct platform_device *am3517_evm_devices[] __initdata = { | ||
396 | &am3517_evm_dss_device, | ||
397 | }; | ||
398 | |||
399 | static void __init am3517_evm_init_irq(void) | ||
400 | { | 388 | { |
401 | omap_board_config = am3517_evm_config; | ||
402 | omap_board_config_size = ARRAY_SIZE(am3517_evm_config); | ||
403 | omap2_init_common_infrastructure(); | 389 | omap2_init_common_infrastructure(); |
404 | omap2_init_common_devices(NULL, NULL); | 390 | omap2_init_common_devices(NULL, NULL); |
405 | omap_init_irq(); | ||
406 | } | 391 | } |
407 | 392 | ||
408 | static struct omap_musb_board_data musb_board_data = { | 393 | static struct omap_musb_board_data musb_board_data = { |
409 | .interface_type = MUSB_INTERFACE_ULPI, | 394 | .interface_type = MUSB_INTERFACE_ULPI, |
410 | .mode = MUSB_OTG, | 395 | .mode = MUSB_OTG, |
411 | .power = 500, | 396 | .power = 500, |
397 | .set_phy_power = am35x_musb_phy_power, | ||
398 | .clear_irq = am35x_musb_clear_irq, | ||
399 | .set_mode = am35x_musb_set_mode, | ||
400 | .reset = am35x_musb_reset, | ||
412 | }; | 401 | }; |
413 | 402 | ||
414 | static __init void am3517_evm_musb_init(void) | 403 | static __init void am3517_evm_musb_init(void) |
@@ -490,14 +479,17 @@ static void am3517_evm_hecc_init(struct ti_hecc_platform_data *pdata) | |||
490 | platform_device_register(&am3517_hecc_device); | 479 | platform_device_register(&am3517_hecc_device); |
491 | } | 480 | } |
492 | 481 | ||
482 | static struct omap_board_config_kernel am3517_evm_config[] __initdata = { | ||
483 | }; | ||
484 | |||
493 | static void __init am3517_evm_init(void) | 485 | static void __init am3517_evm_init(void) |
494 | { | 486 | { |
487 | omap_board_config = am3517_evm_config; | ||
488 | omap_board_config_size = ARRAY_SIZE(am3517_evm_config); | ||
495 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 489 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
496 | 490 | ||
497 | am3517_evm_i2c_init(); | 491 | am3517_evm_i2c_init(); |
498 | platform_add_devices(am3517_evm_devices, | 492 | omap_display_init(&am3517_evm_dss_data); |
499 | ARRAY_SIZE(am3517_evm_devices)); | ||
500 | |||
501 | omap_serial_init(); | 493 | omap_serial_init(); |
502 | 494 | ||
503 | /* Configure GPIO for EHCI port */ | 495 | /* Configure GPIO for EHCI port */ |
@@ -521,9 +513,10 @@ static void __init am3517_evm_init(void) | |||
521 | 513 | ||
522 | MACHINE_START(OMAP3517EVM, "OMAP3517/AM3517 EVM") | 514 | MACHINE_START(OMAP3517EVM, "OMAP3517/AM3517 EVM") |
523 | .boot_params = 0x80000100, | 515 | .boot_params = 0x80000100, |
524 | .map_io = omap3_map_io, | ||
525 | .reserve = omap_reserve, | 516 | .reserve = omap_reserve, |
526 | .init_irq = am3517_evm_init_irq, | 517 | .map_io = omap3_map_io, |
518 | .init_early = am3517_evm_init_early, | ||
519 | .init_irq = omap_init_irq, | ||
527 | .init_machine = am3517_evm_init, | 520 | .init_machine = am3517_evm_init, |
528 | .timer = &omap_timer, | 521 | .timer = &omap_timer, |
529 | MACHINE_END | 522 | MACHINE_END |