aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-cm-t35.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-01-06 22:13:58 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-06 22:13:58 -0500
commit01539ba2a706ab7d35fc0667dff919ade7f87d63 (patch)
tree5a4bd0cf78007d06690fe4ac06bbd49a5a70bc47 /arch/arm/mach-omap2/board-cm-t35.c
parent9e9bc9736756f25d6c47b4eba0ebf25b20a6f153 (diff)
parentdc69d1af9e8d9cbbabff88bb35a6782187a22229 (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: (243 commits) omap2: Make OMAP2PLUS select OMAP_DM_TIMER OMAP4: hwmod data: Fix alignment and end of line in structurefields OMAP4: hwmod data: Move the DMA structures OMAP4: hwmod data: Move the smartreflex structures OMAP4: hwmod data: Fix missing SIDLE_SMART_WKUP in smartreflexsysc arm: omap: tusb6010: add name for MUSB IRQ arm: omap: craneboard: Add USB EHCI support omap2+: Initialize serial port for dynamic remuxing for n8x0 omap2+: Add struct omap_board_data and use it for platform level serial init omap2+: Allow hwmod state changes to mux pads based on the state changes omap2+: Add support for hwmod specific muxing of devices omap2+: Add omap_mux_get_by_name OMAP2: PM: fix compile error when !CONFIG_SUSPEND MAINTAINERS: OMAP: hwmod: update hwmod code, data maintainership OMAP4: Smartreflex framework extensions OMAP4: hwmod: Add inital data for smartreflex modules. OMAP4: PM: Program correct init voltages for scalable VDDs OMAP4: Adding voltage driver support OMAP4: Register voltage PMIC parameters with the voltage layer OMAP3: PM: Program correct init voltages for VDD1 and VDD2 ... Fix up trivial conflict in arch/arm/plat-omap/Kconfig
Diffstat (limited to 'arch/arm/mach-omap2/board-cm-t35.c')
-rw-r--r--arch/arm/mach-omap2/board-cm-t35.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c
index 63f764e2af3f..486a3de5f401 100644
--- a/arch/arm/mach-omap2/board-cm-t35.c
+++ b/arch/arm/mach-omap2/board-cm-t35.c
@@ -600,8 +600,8 @@ static struct ehci_hcd_omap_platform_data ehci_pdata __initdata = {
600 .port_mode[2] = EHCI_HCD_OMAP_MODE_UNKNOWN, 600 .port_mode[2] = EHCI_HCD_OMAP_MODE_UNKNOWN,
601 601
602 .phy_reset = true, 602 .phy_reset = true,
603 .reset_gpio_port[0] = -EINVAL, 603 .reset_gpio_port[0] = OMAP_MAX_GPIO_LINES + 6,
604 .reset_gpio_port[1] = -EINVAL, 604 .reset_gpio_port[1] = OMAP_MAX_GPIO_LINES + 7,
605 .reset_gpio_port[2] = -EINVAL 605 .reset_gpio_port[2] = -EINVAL
606}; 606};
607 607
@@ -630,12 +630,6 @@ static int cm_t35_twl_gpio_setup(struct device *dev, unsigned gpio,
630 cm_t35_vmmc1_supply.dev = mmc[0].dev; 630 cm_t35_vmmc1_supply.dev = mmc[0].dev;
631 cm_t35_vsim_supply.dev = mmc[0].dev; 631 cm_t35_vsim_supply.dev = mmc[0].dev;
632 632
633 /* setup USB with proper PHY reset GPIOs */
634 ehci_pdata.reset_gpio_port[0] = gpio + 6;
635 ehci_pdata.reset_gpio_port[1] = gpio + 7;
636
637 usb_ehci_init(&ehci_pdata);
638
639 return 0; 633 return 0;
640} 634}
641 635
@@ -683,10 +677,10 @@ static void __init cm_t35_init_irq(void)
683 omap_board_config = cm_t35_config; 677 omap_board_config = cm_t35_config;
684 omap_board_config_size = ARRAY_SIZE(cm_t35_config); 678 omap_board_config_size = ARRAY_SIZE(cm_t35_config);
685 679
686 omap2_init_common_hw(mt46h32m32lf6_sdrc_params, 680 omap2_init_common_infrastructure();
681 omap2_init_common_devices(mt46h32m32lf6_sdrc_params,
687 mt46h32m32lf6_sdrc_params); 682 mt46h32m32lf6_sdrc_params);
688 omap_init_irq(); 683 omap_init_irq();
689 omap_gpio_init();
690} 684}
691 685
692static struct omap_board_mux board_mux[] __initdata = { 686static struct omap_board_mux board_mux[] __initdata = {
@@ -805,6 +799,7 @@ static void __init cm_t35_init(void)
805 cm_t35_init_display(); 799 cm_t35_init_display();
806 800
807 usb_musb_init(&musb_board_data); 801 usb_musb_init(&musb_board_data);
802 usb_ehci_init(&ehci_pdata);
808} 803}
809 804
810MACHINE_START(CM_T35, "Compulab CM-T35") 805MACHINE_START(CM_T35, "Compulab CM-T35")