Lines Matching +full:vbus +full:- +full:detect +full:- +full:gpio
1 // SPDX-License-Identifier: GPL-2.0-only
18 #include <linux/gpio/machine.h>
23 #include <linux/gpio.h>
27 #include <asm/mach-types.h>
34 #include <linux/platform_data/mmc-pxamci.h>
35 #include <linux/platform_data/video-pxafb.h>
36 #include <linux/platform_data/irda-pxaficp.h>
38 #include <linux/platform_data/asoc-palm27x.h>
50 GPIO10_GPIO, /* SD detect */
64 GPIO15_GPIO, /* usb detect */
75 /* GPIO KEYS */
89 GPIO9_GPIO, /* power detect */
90 GPIO15_GPIO, /* earphone detect */
103 .dev_id = "pxa2xx-mci.0",
105 GPIO_LOOKUP("gpio-pxa", GPIO_NR_PALMTE2_SD_DETECT_N,
107 GPIO_LOOKUP("gpio-pxa", GPIO_NR_PALMTE2_SD_READONLY,
109 GPIO_LOOKUP("gpio-pxa", GPIO_NR_PALMTE2_SD_POWER,
117 * GPIO keys
137 .name = "gpio-keys",
138 .id = -1,
149 PWM_LOOKUP("pxa25x-pwm.0", 0, "pwm-backlight.0", NULL,
153 static struct gpio palmte_bl_gpios[] = {
184 .name = "pwm-backlight",
203 .dev_id = "gpio-vbus",
205 GPIO_LOOKUP("gpio-pxa", GPIO_NR_PALMTE2_USB_DETECT_N,
206 "vbus", GPIO_ACTIVE_LOW),
207 GPIO_LOOKUP("gpio-pxa", GPIO_NR_PALMTE2_USB_PULLUP,
214 .name = "gpio-vbus",
215 .id = -1,
251 "main-battery",
263 .name = "pda-power",
264 .id = -1,
283 .batt_name = "main-batt",
299 .name = "palm27x-asoc",
300 .id = -1,
348 if (!gpio_request(GPIO_NR_PALMTE2_USB_PULLUP, "UDC Vbus")) { in palmte2_udc_init()