static void __init omap_4430sdp_init(void) { int status; int package = OMAP_PACKAGE_CBS; if (omap_rev() == OMAP4430_REV_ES1_0) package = OMAP_PACKAGE_CBL; omap4_mux_init(board_mux, NULL, package); omap4_i2c_init(); omap_sfh7741prox_init(); platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices)); board_serial_init(); omap4_sdp4430_wifi_init(); omap4_twl6030_hsmmc_init(mmc); usb_musb_init(&musb_board_data); status = omap_ethernet_init(); if (status) { pr_err("Ethernet initialization failed: %d\n", status); } else { sdp4430_spi_board_info[0].irq = gpio_to_irq(ETH_KS8851_IRQ); spi_register_board_info(sdp4430_spi_board_info, ARRAY_SIZE(sdp4430_spi_board_info)); } status = omap4_keyboard_init(&sdp4430_keypad_data, &keypad_data); if (status) pr_err("Keypad initialization failed: %d\n", status); omap_4430sdp_display_init(); }
static void __init acclaim_init(void) { int status; int package = OMAP_PACKAGE_CBS; if (omap_rev() == OMAP4430_REV_ES1_0) package = OMAP_PACKAGE_CBL; omap4_mux_init(acclaim_board_mux, NULL, package); acclaim_board_init(); acclaim_ram_init (); omap4_create_board_props(); acclaim_set_osc_timings(); acclaim_i2c_init(); acclaim_enable_rtc_gpio(); omap4_register_ion(); platform_add_devices(acclaim_devices, ARRAY_SIZE(acclaim_devices)); #ifdef CONFIG_CHARGER_MAX8903 acclaim_init_charger(); #endif acclaim_serial_init(); acclaim_twl6030_hsmmc_init(mmc); acclaim_wifi_init(); #ifdef CONFIG_INPUT_KXTF9 kxtf9_dev_init(); #endif #ifdef CONFIG_INPUT_KXTJ9 kxtj9_dev_init(); #endif #ifdef CONFIG_BATTERY_MAX17042 acclaim_max17042_dev_init(); #endif acclaim_ehci_ohci_init(); usb_musb_init(&musb_board_data); keyboard_mux_init(); status = omap4_keyboard_init(&acclaim_keypad_data); if (status) pr_err("Keypad initialization failed: %d\n", status); omap_dmm_init(); acclaim_panel_init(); omap_enable_smartreflex_on_init(); if (enable_suspend_off) omap_pm_enable_off_mode(); }
int __init hummingbird_button_init(void) { int status; gpio_key_buttons_mux_init(); platform_add_devices(hummingbird_devices, ARRAY_SIZE(hummingbird_devices)); keyboard_mux_init(); status = omap4_keyboard_init(&hummingbird_keypad_data); if (status) pr_err("Keypad initialization failed: %d\n", status); return 0; }
static void __init omap_4430sdp_init(void) { int status; int package = OMAP_PACKAGE_CBS; if (omap_rev() == OMAP4430_REV_ES1_0) package = OMAP_PACKAGE_CBL; omap4_mux_init(board_mux, NULL, package); omap_emif_setup_device_details(&emif_devices, &emif_devices); omap_board_config = sdp4430_config; omap_board_config_size = ARRAY_SIZE(sdp4430_config); omap4_i2c_init(); omap_sfh7741prox_init(); platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices)); board_serial_init(); omap4_twl6030_hsmmc_init(mmc); usb_musb_init(&musb_board_data); status = omap_ethernet_init(); if (status) { pr_err("Ethernet initialization failed: %d\n", status); } else { sdp4430_spi_board_info[0].irq = gpio_to_irq(ETH_KS8851_IRQ); spi_register_board_info(sdp4430_spi_board_info, ARRAY_SIZE(sdp4430_spi_board_info)); } status = omap4_keyboard_init(&sdp4430_keypad_data); if (status) pr_err("Keypad initialization failed: %d\n", status); omap_dmm_init(); omap_4430sdp_display_init(); if (cpu_is_omap446x()) { /* Vsel0 = gpio, vsel1 = gnd */ status = omap_tps6236x_board_setup(true, TPS62361_GPIO, -1, OMAP_PIN_OFF_OUTPUT_HIGH, -1); if (status) pr_err("TPS62361 initialization failed: %d\n", status); } }
static void __init omap_4430sdp_init(void) { int status; int package = OMAP_PACKAGE_CBS; if (omap_rev() == OMAP4430_REV_ES1_0) package = OMAP_PACKAGE_CBL; omap4_mux_init(board_mux, NULL, package); if (cpu_is_omap447x()) omap_emif_setup_device_details(&emif_devices_4470, &emif_devices_4470); else omap_emif_setup_device_details(&emif_devices, &emif_devices); omap_board_config = sdp4430_config; omap_board_config_size = ARRAY_SIZE(sdp4430_config); omap_init_board_version(0); omap4_audio_conf(); omap4_create_board_props(); blaze_pmic_mux_init(); blaze_set_osc_timings(); omap4_i2c_init(); blaze_sensor_init(); blaze_touch_init(); omap4_register_ion(); platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices)); wake_lock_init(&st_wk_lock, WAKE_LOCK_SUSPEND, "st_wake_lock"); board_serial_init(); omap4_sdp4430_wifi_init(); omap4_twl6030_hsmmc_init(mmc); /* blaze_modem_init shall be called before omap4_ehci_ohci_init */ if (!strcmp(modem_ipc, "hsi")) blaze_modem_init(true); else blaze_modem_init(false); omap4_ehci_ohci_init(); usb_musb_init(&musb_board_data); status = omap_ethernet_init(); if (status) { pr_err("Ethernet initialization failed: %d\n", status); } else { sdp4430_spi_board_info[0].irq = gpio_to_irq(ETH_KS8851_IRQ); spi_register_board_info(sdp4430_spi_board_info, ARRAY_SIZE(sdp4430_spi_board_info)); } status = omap4_keyboard_init(&sdp4430_keypad_data); if (status) pr_err("Keypad initialization failed: %d\n", status); omap_dmm_init(); omap_4430sdp_display_init(); blaze_panel_init(); blaze_keypad_init(); init_duty_governor(); if (cpu_is_omap446x()) { /* Vsel0 = gpio, vsel1 = gnd */ status = omap_tps6236x_board_setup(true, TPS62361_GPIO, -1, OMAP_PIN_OFF_OUTPUT_HIGH, -1); if (status) pr_err("TPS62361 initialization failed: %d\n", status); } omap_enable_smartreflex_on_init(); if (enable_suspend_off) omap_pm_enable_off_mode(); }
static void __init omap_4430sdp_init(void) { int status; int package = OMAP_PACKAGE_CBS; if (omap_rev() == OMAP4430_REV_ES1_0) package = OMAP_PACKAGE_CBL; /* Modification for ELPIDA LPDDR2-s4 8Gb memory device */ omap_emif_set_device_details(1, &lpddr2_elpida_8G_S4_x2_info, lpddr2_elpida_8G_S4_timings, ARRAY_SIZE(lpddr2_elpida_8G_S4_timings), &lpddr2_elpida_S4_min_tck, &custom_configs); omap_emif_set_device_details(2, &lpddr2_elpida_8G_S4_x2_info, lpddr2_elpida_8G_S4_timings, ARRAY_SIZE(lpddr2_elpida_8G_S4_timings), &lpddr2_elpida_S4_min_tck, &custom_configs); omap4_mux_init(board_mux, NULL, package); omap_board_config = sdp4430_config; omap_board_config_size = ARRAY_SIZE(sdp4430_config); omap4_i2c_init(); omap4_twl6030_hsmmc_init(mmc); omap_sfh7741prox_init(); platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices)); omap_serial_init(); omap_sdrc_init(NULL, NULL); omap4_sdp4430_wifi_init(); usb_musb_init(&musb_board_data); status = omap_ethernet_init(); if (status) { pr_err("Ethernet initialization failed: %d\n", status); } else { sdp4430_spi_board_info[0].irq = gpio_to_irq(ETH_KS8851_IRQ); spi_register_board_info(sdp4430_spi_board_info, ARRAY_SIZE(sdp4430_spi_board_info)); } status = omap4_keyboard_init(&sdp4430_keypad_data, &keypad_data); if (status) pr_err("Keypad initialization failed: %d\n", status); omap_4430sdp_display_init(); if (cpu_is_omap446x()) { /* Vsel0 = gpio, vsel1 = gnd */ status = omap_tps6236x_board_setup(true, TPS62361_GPIO, -1, OMAP_PIN_OFF_OUTPUT_HIGH, -1); if (status) pr_err("TPS62361 initialization failed: %d\n", status); } omap_enable_smartreflex_on_init(); omap_rprm_regulator_init(sdp4430_rprm_regulators, ARRAY_SIZE(sdp4430_rprm_regulators)); enable_board_wakeups(); }