22 #include <linux/input.h>
49 static unsigned long palmte2_pin_config[]
__initdata = {
108 #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE)
125 .
buttons = palmte2_pxa_buttons,
133 .platform_data = &palmte2_pxa_keys_data,
141 static struct gpio palmte_bl_gpios[] = {
146 static int palmte2_backlight_init(
struct device *
dev)
158 static void palmte2_backlight_exit(
struct device *dev)
168 .init = palmte2_backlight_init,
169 .notify = palmte2_backlight_notify,
170 .exit = palmte2_backlight_exit,
174 .name =
"pwm-backlight",
177 .platform_data = &palmte2_backlight_data,
194 .gpio_vbus_inverted = 1,
202 .platform_data = &palmte2_udc_info,
209 static int power_supply_init(
struct device *dev)
228 static int palmte2_is_ac_online(
void)
233 static void power_supply_exit(
struct device *dev)
238 static char *palmte2_supplicants[] = {
243 .init = power_supply_init,
244 .is_ac_online = palmte2_is_ac_online,
245 .exit = power_supply_exit,
246 .supplied_to = palmte2_supplicants,
247 .num_supplicants =
ARRAY_SIZE(palmte2_supplicants),
254 .platform_data = &power_supply_info,
272 .batt_name =
"main-batt",
276 .batt_pdata = &palmte2_batt_pdata,
288 .name =
"palm27x-asoc",
291 .platform_data = &palmte2_asoc_pdata,
316 .modes = palmte2_lcd_modes,
325 #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE)
335 static void __init palmte2_udc_init(
void)
343 static void __init palmte2_init(
void)
361 .atag_offset = 0x100,
367 .init_machine = palmte2_init,