Lines Matching +full:gpio +full:- +full:key
1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/board-palmte.c
5 * Modified from board-generic.c
12 * palmtelinux-developpers@lists.sf.net
16 #include <linux/gpio/machine.h>
17 #include <linux/gpio/consumer.h>
27 #include <linux/apm-emulation.h>
29 #include <linux/omap-dma.h>
30 #include <linux/platform_data/keypad-omap.h>
33 #include <asm/mach-types.h>
56 KEY(0, 0, KEY_F1), /* Calendar */
57 KEY(1, 0, KEY_F2), /* Contacts */
58 KEY(2, 0, KEY_F3), /* Tasks List */
59 KEY(3, 0, KEY_F4), /* Note Pad */
60 KEY(4, 0, KEY_POWER),
61 KEY(0, 1, KEY_LEFT),
62 KEY(1, 1, KEY_DOWN),
63 KEY(2, 1, KEY_UP),
64 KEY(3, 1, KEY_RIGHT),
65 KEY(4, 1, KEY_ENTER),
90 .name = "omap-keypad",
91 .id = -1,
112 * 0x5f0000 bytes big in the multi-language ("EFIGS") version,
113 * 0x7b0000 bytes in the English-only ("enUS") version.
129 .end = OMAP_CS0_PHYS + SZ_8M - 1,
134 .name = "physmap-flash",
135 .id = -1,
145 .id = -1,
153 .name = "omap-bl",
154 .id = -1,
168 .register_dev = 1, /* Mini-B only receptacle */
216 /* GPIO used for TSC2102 PINTDAV IRQ */
217 GPIO_LOOKUP("gpio-0-15", PALMTE_PINTDAV_GPIO, "tsc2102_irq",
219 /* GPIO used for USB or DC input detection */
220 GPIO_LOOKUP("gpio-0-15", PALMTE_USB_OR_DC_GPIO, "usb_dc_irq",
243 pr_err("Unable to get TSC2102 IRQ GPIO descriptor\n"); in omap_palmte_init()
251 pr_err("Unable to get USB/DC IRQ GPIO descriptor\n"); in omap_palmte_init()