Lines Matching +full:power +full:- +full:button
2 * linux/arch/arm/mach-sa1100/simpad.c
22 #include <asm/mach-types.h>
35 #include <linux/i2c-gpio.h>
99 return simpad_get_cs3_ro() & (1 << (offset - 16)); in cs3_gpio_get()
107 return -EINVAL; in cs3_gpio_direction_input()
114 return -EINVAL; in cs3_gpio_direction_output()
136 if (port->mapbase == (u_int)&Ser1UTCR0) { in simpad_uart_pm()
181 .end = SA1100_CS0_PHYS + SZ_16M -1,
185 .end = SA1100_CS1_PHYS + SZ_16M -1,
239 /* enable wake-up on GPIO0 */ in simpad_power_off()
261 { KEY_POWER, IRQ_GPIO_POWER_BUTTON, 1, "power button" },
270 .name = "gpio-keys",
277 { KEY_PROG1, SIMPAD_UCB1X00_GPIO_PROG1, 1, "prog1 button" },
278 { KEY_PROG2, SIMPAD_UCB1X00_GPIO_PROG2, 1, "prog2 button" },
279 { KEY_UP, SIMPAD_UCB1X00_GPIO_UP, 1, "up button" },
280 { KEY_DOWN, SIMPAD_UCB1X00_GPIO_DOWN, 1, "down button" },
281 { KEY_LEFT, SIMPAD_UCB1X00_GPIO_LEFT, 1, "left button" },
282 { KEY_RIGHT, SIMPAD_UCB1X00_GPIO_RIGHT, 1, "right button" },
292 .name = "gpio-keys-polled",
304 .name = "simpad:power",
307 .default_trigger = "default-on",
317 .name = "leds-gpio",
335 .name = "i2c-gpio",
346 .name = "simpad-mq200",