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>
61 KEY(0, 0, KEY_F1), /* Calendar */
62 KEY(1, 0, KEY_F2), /* Contacts */
63 KEY(2, 0, KEY_F3), /* Tasks List */
64 KEY(3, 0, KEY_F4), /* Note Pad */
65 KEY(4, 0, KEY_POWER),
66 KEY(0, 1, KEY_LEFT),
67 KEY(1, 1, KEY_DOWN),
68 KEY(2, 1, KEY_UP),
69 KEY(3, 1, KEY_RIGHT),
70 KEY(4, 1, KEY_ENTER),
95 .name = "omap-keypad",
96 .id = -1,
117 * 0x5f0000 bytes big in the multi-language ("EFIGS") version,
118 * 0x7b0000 bytes in the English-only ("enUS") version.
134 .end = OMAP_CS0_PHYS + SZ_8M - 1,
139 .name = "physmap-flash",
140 .id = -1,
150 .id = -1,
158 .name = "omap-bl",
159 .id = -1,
173 .register_dev = 1, /* Mini-B only receptacle */
221 /* GPIO used for TSC2102 PINTDAV IRQ */
222 GPIO_LOOKUP("gpio-0-15", PALMTE_PINTDAV_GPIO, "tsc2102_irq",
224 /* GPIO used for USB or DC input detection */
225 GPIO_LOOKUP("gpio-0-15", PALMTE_USB_OR_DC_GPIO, "usb_dc_irq",
248 pr_err("Unable to get TSC2102 IRQ GPIO descriptor\n"); in omap_palmte_init()
256 pr_err("Unable to get USB/DC IRQ GPIO descriptor\n"); in omap_palmte_init()