Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6
[pandora-kernel.git] / arch / arm / mach-omap2 / board-3430sdp.c
index 99f295e..5822bcf 100644 (file)
 /* FIXME: These values need to be updated based on more profiling on 3430sdp*/
 static struct cpuidle_params omap3_cpuidle_params_table[] = {
        /* C1 */
-       {2, 2, 5},
+       {1, 2, 2, 5},
        /* C2 */
-       {10, 10, 30},
+       {1, 10, 10, 30},
        /* C3 */
-       {50, 50, 300},
+       {1, 50, 50, 300},
        /* C4 */
-       {1500, 1800, 4000},
+       {1, 1500, 1800, 4000},
        /* C5 */
-       {2500, 7500, 12000},
+       {1, 2500, 7500, 12000},
        /* C6 */
-       {3000, 8500, 15000},
+       {1, 3000, 8500, 15000},
        /* C7 */
-       {10000, 30000, 300000},
+       {1, 10000, 30000, 300000},
 };
 
 static int board_keymap[] = {
@@ -541,10 +541,6 @@ static struct regulator_init_data sdp3430_vdac = {
 
 /* VPLL2 for digital video outputs */
 static struct regulator_consumer_supply sdp3430_vpll2_supplies[] = {
-       {
-               .supply         = "vdvi",
-               .dev            = &sdp3430_lcd_device.dev,
-       },
        {
                .supply         = "vdds_dsi",
                .dev            = &sdp3430_dss_device.dev,
@@ -652,7 +648,7 @@ static void enable_board_wakeup_source(void)
                OMAP_WAKEUP_EN | OMAP_PIN_INPUT_PULLUP);
 }
 
-static struct ehci_hcd_omap_platform_data ehci_pdata __initconst = {
+static const struct ehci_hcd_omap_platform_data ehci_pdata __initconst = {
 
        .port_mode[0] = EHCI_HCD_OMAP_MODE_PHY,
        .port_mode[1] = EHCI_HCD_OMAP_MODE_PHY,
@@ -780,6 +776,12 @@ static struct flash_partitions sdp_flash_partitions[] = {
        },
 };
 
+static struct omap_musb_board_data musb_board_data = {
+       .interface_type         = MUSB_INTERFACE_ULPI,
+       .mode                   = MUSB_OTG,
+       .power                  = 100,
+};
+
 static void __init omap_3430sdp_init(void)
 {
        omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
@@ -794,7 +796,7 @@ static void __init omap_3430sdp_init(void)
                                ARRAY_SIZE(sdp3430_spi_board_info));
        ads7846_dev_init();
        omap_serial_init();
-       usb_musb_init();
+       usb_musb_init(&musb_board_data);
        board_smc91x_init();
        sdp_flash_init(sdp_flash_partitions);
        sdp3430_display_init();