Lines Matching +full:gpio +full:- +full:vibrator
1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Based on the board-htcwizard.c file from the linwizard project:
16 #include <linux/gpio.h>
19 #include <linux/platform_data/i2c-gpio.h>
25 #include <linux/platform_data/keypad-omap.h>
27 #include <asm/mach-types.h>
46 /* GPIO definitions for the power button and keyboard slide switch */
51 /* GPIO definitions for the touchscreen */
59 * Chip 3 - 0x03
62 * ------------------------------------
69 * Chip 4 - 0x04
72 * ------------------------------------
83 * Chip 5 - 0x05
86 * ------------------------------------
99 * Chip 6 - 0x06
102 * ------------------------------------
103 * Vibrator x x x x 1 x x x
113 * HTCPLD GPIO lines start 16 after OMAP_MAX_GPIO_LINES to account
145 * The htcpld chip requires a gpio write to a specific line
146 * to re-enable interrupts after one has occurred.
239 .name = "omap-keypad",
240 .id = -1,
248 /* GPIO buttons for keyboard slide and power button */
272 .name = "gpio-keys",
273 .id = -1,
279 /* LEDs for the Herald. These connect to the HTCPLD GPIO device. */
300 .name = "leds-gpio",
360 .name = "i2c-htcpld",
361 .id = -1,
385 .id = -1,
398 .switch_pin = -1,
458 tries--; in htcherald_lcd_init()
463 pr_err("Timeout waiting for end of frame -- LCD may not be available\n"); in htcherald_lcd_init()
526 /* force USB_EN GPIO to 0 */ in htcherald_usb_enable()
531 --tries); in htcherald_usb_enable()
549 printk(KERN_ERR "Unabled to request GPIO for USB\n"); in htcherald_usb_enable()
584 /* Maintainer: wing-linux.sourceforge.net */