arm: tegra: Enable Host mode on USB3 port
Rakesh Bodla [Sat, 29 Jan 2011 22:41:12 +0000 (03:41 +0530)]
Enabling USB host mode support on USB3 port.

Original-Change-Id: I2cfa980e9b318ed1630dc8492a71c554fedfd58d
Reviewed-on: http://git-master/r/17584
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I23fc3c47dbdf3b114ea19fb079546f0ecaa4592c

Rebase-Id: R2411859652a99531bbc3afbbd4df191f673fcec5

arch/arm/mach-tegra/board-cardhu-pinmux.c
arch/arm/mach-tegra/board-cardhu.c

index 2763339..a4aa2f7 100755 (executable)
@@ -327,7 +327,7 @@ static __initdata struct tegra_pingroup_config cardhu_pinmux[] = {
        DEFAULT_PINMUX(SPI2_MOSI,       SPI6,            NORMAL,    NORMAL,     INPUT),
        DEFAULT_PINMUX(SPI2_MISO,       SPI6,            NORMAL,    NORMAL,     INPUT),
        DEFAULT_PINMUX(SPI2_CS0_N,      SPI6,            NORMAL,    NORMAL,     INPUT),
-       DEFAULT_PINMUX(SPI2_SCK,        SPI6,            NORMAL,    NORMAL,     INPUT),
+       DEFAULT_PINMUX(SPI2_SCK,        GMI,            NORMAL,    NORMAL,     INPUT),
        DEFAULT_PINMUX(SPI1_MOSI,       SPI1,            NORMAL,    NORMAL,     INPUT),
        DEFAULT_PINMUX(SPI1_SCK,        SPI1,            NORMAL,    NORMAL,     INPUT),
        DEFAULT_PINMUX(SPI1_CS0_N,      SPI1,            NORMAL,    NORMAL,     INPUT),
index 13de659..235b1cc 100644 (file)
@@ -286,13 +286,11 @@ static struct tegra_ehci_platform_data tegra_ehci_pdata[] = {
        },
 };
 
-#if ENABLE_USB_HOST
 static void cardhu_usb_init(void)
 {
        tegra_ehci3_device.dev.platform_data = &tegra_ehci_pdata[2];
        platform_device_register(&tegra_ehci3_device);
 }
-#endif
 
 struct platform_device *tegra_usb_otg_host_register(void)
 {
@@ -367,9 +365,7 @@ static void __init tegra_cardhu_init(void)
        cardhu_gpio_switch_regulator_init();
        cardhu_suspend_init();
        cardhu_touch_init();
-#if ENABLE_USB_HOST
        cardhu_usb_init();
-#endif
 
 #ifdef CONFIG_KEYBOARD_TEGRA
        cardhu_kbc_init();