11 #include <linux/kernel.h>
14 #include <linux/input.h>
37 #define OMAP_ZOOM_WLAN_PMENA_GPIO (101)
38 #define ZOOM2_HEADSET_EXTMUTE_GPIO (153)
39 #define OMAP_ZOOM_WLAN_IRQ_GPIO (162)
41 #define LCD_PANEL_ENABLE_GPIO (7 + OMAP_MAX_GPIO_LINES)
99 .keymap = board_keymap,
104 .keymap_data = &board_map_data,
137 .num_consumer_supplies =
ARRAY_SIZE(zoom_vmmc1_supply),
138 .consumer_supplies = zoom_vmmc1_supply,
152 .num_consumer_supplies =
ARRAY_SIZE(zoom_vmmc2_supply),
153 .consumer_supplies = zoom_vmmc2_supply,
167 .num_consumer_supplies =
ARRAY_SIZE(zoom_vsim_supply),
168 .consumer_supplies = zoom_vsim_supply,
175 .num_consumer_supplies =
ARRAY_SIZE(zoom_vmmc3_supply),
176 .consumer_supplies = zoom_vmmc3_supply,
180 .supply_name =
"vwl1271",
181 .microvolts = 1800000,
183 .startup_delay = 70000,
185 .enabled_at_boot = 0,
186 .init_data = &zoom_vmmc3,
190 .name =
"reg-fixed-voltage",
193 .platform_data = &zoom_vwlan,
207 .power_saving =
true,
216 .nonremovable =
true,
217 .power_saving =
true,
225 .nonremovable =
true,
230 static int zoom_twl_gpio_setup(
struct device *
dev,
231 unsigned gpio,
unsigned ngpio)
237 omap_hsmmc_late_init(mmc);
242 pr_err(
"Failed to get LCD_PANEL_ENABLE_GPIO (gpio%d).\n",
249 .setup = zoom_twl_gpio_setup,
254 .gpio = &zoom_gpio_data,
255 .keypad = &zoom_kp_twl4030_data,
256 .vmmc1 = &zoom_vmmc1,
257 .vmmc2 = &zoom_vmmc2,
261 static int __init omap_i2c_init(
void)
268 if (machine_is_omap_zoom2()) {
270 codec_data = zoom_twldata.
audio->codec;
282 static void enable_board_wakeup_source(
void)
285 omap_mux_init_signal(
"sys_nirq",
297 pr_err(
"error setting wl12xx data: %d\n", ret);
299 omap_hsmmc_init(mmc);
303 enable_board_wakeup_source();