22 #include <linux/i2c.h>
24 #include <mach/common.h>
25 #include <mach/hardware.h>
137 static int mxt_td60_gpio_value[] = {
138 -1, -1, -1, -1, -1, -1, -1, 1
142 for (n = 0; n <
ARRAY_SIZE(mxt_td60_gpio_value); ++
n) {
144 if (mxt_td60_gpio_value[n] < 0)
148 mxt_td60_gpio_value[n]);
149 gpio_export(gpio_base + n, 0);
158 .setup = mxt_td60_pca9557_setup,
164 .platform_data = &mxt_td60_pca9557_pdata,
178 .name =
"Chimei LW700AT9003",
185 .right_margin = 0x68,
187 .upper_margin = 0x0f,
188 .lower_margin = 0x0f,
196 .mode = mxt_td60_modes,
220 static void mxt_td60_sdhc1_exit(
struct device *dev,
void *data)
226 .
init = mxt_td60_sdhc1_init,
227 .exit = mxt_td60_sdhc1_exit,
234 static void __init mxt_td60_board_init(
void)
259 static void __init mxt_td60_timer_init(
void)
264 static struct sys_timer mxt_td60_timer = {
265 .init = mxt_td60_timer_init,
270 .atag_offset = 0x100,
275 .timer = &mxt_td60_timer,
276 .init_machine = mxt_td60_board_init,