OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010, 2011 NVIDIA Corporation. | 2 * Copyright (c) 2010, 2011 NVIDIA Corporation. |
3 * Copyright (C) 2010, 2011 Google, Inc. | 3 * Copyright (C) 2010, 2011 Google, Inc. |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License as published by | 6 * it under the terms of the GNU General Public License as published by |
7 * the Free Software Foundation; either version 2 of the License, or | 7 * the Free Software Foundation; either version 2 of the License, or |
8 * (at your option) any later version. | 8 * (at your option) any later version. |
9 * | 9 * |
10 * This program is distributed in the hope that it will be useful, but WITHOUT | 10 * This program is distributed in the hope that it will be useful, but WITHOUT |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 .phy_config = &utmi_phy_config[1], | 199 .phy_config = &utmi_phy_config[1], |
200 .operating_mode = TEGRA_USB_HOST, | 200 .operating_mode = TEGRA_USB_HOST, |
201 .power_down_on_bus_suspend = 1, | 201 .power_down_on_bus_suspend = 1, |
202 }, | 202 }, |
203 }; | 203 }; |
204 | 204 |
205 static struct cyapa_platform_data cyapa_i2c_platform_data = { | 205 static struct cyapa_platform_data cyapa_i2c_platform_data = { |
206 .flag = 0, | 206 .flag = 0, |
207 .gen = CYAPA_GEN2, | 207 .gen = CYAPA_GEN2, |
208 .power_state = CYAPA_PWR_ACTIVE, | 208 .power_state = CYAPA_PWR_ACTIVE, |
209 .use_absolute_mode = false, | |
210 .use_polling_mode = false, | |
211 .polling_interval_time_active = CYAPA_ACTIVE_POLLING_INTVAL_TIME, | 209 .polling_interval_time_active = CYAPA_ACTIVE_POLLING_INTVAL_TIME, |
212 .polling_interval_time_lowpower = CYAPA_LOWPOWER_POLLING_INTVAL_TIME, | 210 .polling_interval_time_lowpower = CYAPA_LOWPOWER_POLLING_INTVAL_TIME, |
213 .active_touch_timeout = CYAPA_ACTIVE_TOUCH_TIMEOUT, | 211 .active_touch_timeout = CYAPA_ACTIVE_TOUCH_TIMEOUT, |
214 .name = CYAPA_I2C_NAME, | 212 .name = CYAPA_I2C_NAME, |
215 .irq_gpio = TEGRA_GPIO_CYTP_INT, | 213 .irq_gpio = TEGRA_GPIO_CYTP_INT, |
216 .report_rate = CYAPA_REPORT_RATE, | 214 .report_rate = CYAPA_REPORT_RATE, |
217 }; | 215 }; |
218 | 216 |
219 static struct tegra_i2c_platform_data seaboard_i2c1_platform_data = { | 217 static struct tegra_i2c_platform_data seaboard_i2c1_platform_data = { |
220 .adapter_nr = 0, | 218 .adapter_nr = 0, |
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
920 MACHINE_END | 918 MACHINE_END |
921 | 919 |
922 MACHINE_START(WARIO, "wario") | 920 MACHINE_START(WARIO, "wario") |
923 .boot_params = 0x00000100, | 921 .boot_params = 0x00000100, |
924 .map_io = tegra_map_common_io, | 922 .map_io = tegra_map_common_io, |
925 .init_early = tegra_init_early, | 923 .init_early = tegra_init_early, |
926 .init_irq = tegra_init_irq, | 924 .init_irq = tegra_init_irq, |
927 .timer = &tegra_timer, | 925 .timer = &tegra_timer, |
928 .init_machine = tegra_wario_init, | 926 .init_machine = tegra_wario_init, |
929 MACHINE_END | 927 MACHINE_END |
OLD | NEW |