Lines Matching +full:pendown +full:- +full:gpio +full:- +full:debounce
1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/board-nokia770.c
5 * Modified from board-generic.c
9 #include <linux/gpio/consumer.h>
10 #include <linux/gpio/machine.h>
11 #include <linux/gpio/property.h>
24 #include <linux/platform_data/keypad-omap.h>
25 #include <linux/platform_data/lcd-mipid.h>
26 #include <linux/platform_data/gpio-omap.h>
28 #include <asm/mach-types.h>
44 .name = "gpio-0-15",
48 .name = "gpio-16-31",
95 .name = "omap-keypad",
96 .id = -1,
115 PROPERTY_ENTRY_GPIO("reset-gpios", &nokia770_gpiochip1_node,
134 PROPERTY_ENTRY_U32("touchscreen-size-x", 4096),
135 PROPERTY_ENTRY_U32("touchscreen-size-y", 4096),
136 PROPERTY_ENTRY_U32("touchscreen-max-pressure", 256),
137 PROPERTY_ENTRY_U32("touchscreen-average-samples", 10),
138 PROPERTY_ENTRY_U16("ti,x-plate-ohms", 180),
139 PROPERTY_ENTRY_U16("ti,debounce-tol", 3),
140 PROPERTY_ENTRY_U16("ti,debounce-rep", 1),
141 PROPERTY_ENTRY_GPIO("pendown-gpios", &nokia770_gpiochip1_node,
174 /* assume no Mini-AB port */
182 .extcon = "tahvo-usb",
188 .dev_id = "mmci-omap.1",
190 /* Slot index 0, VSD power, GPIO 41 */
191 GPIO_LOOKUP_IDX("gpio-32-47", 9,
193 /* Slot index 0, switch, GPIO 23 */
194 GPIO_LOOKUP_IDX("gpio-16-31", 7,
239 .name = "i2c-cbus-gpio",
259 pr_err("Unable to get CBUS Retu IRQ GPIO descriptor\n"); in nokia770_cbus_init()
267 pr_err("Unable to get CBUS Tahvo IRQ GPIO descriptor\n"); in nokia770_cbus_init()
288 /* GPIO used by SPI device 1 */
289 GPIO_LOOKUP("gpio-0-15", 15, "ads7846_irq",
291 /* GPIO used for retu IRQ */
292 GPIO_LOOKUP("gpio-48-63", 15, "retu_irq",
294 /* GPIO used for tahvo IRQ */
295 GPIO_LOOKUP("gpio-32-47", 8, "tahvo_irq",
298 GPIO_LOOKUP_IDX("gpio-32-47", 5, "wakeup", 0,
300 GPIO_LOOKUP_IDX("gpio-16-31", 2, "wakeup", 1,
302 GPIO_LOOKUP_IDX("gpio-48-63", 1, "wakeup", 2,
327 pr_err("Unable to get ADS7846 IRQ GPIO descriptor\n"); in omap_nokia770_init()