Lines Matching +full:ac +full:- +full:detect +full:- +full:gpios
1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2008-2009 Philipp Zabel
8 * Copyright (c) 2004 Hewlett-Packard Company.
27 #include <linux/platform_data/gpio-htc-egpio.h>
31 #include <linux/regulator/gpio-regulator.h>
37 #include <linux/platform_data/i2c-pxa.h>
40 #include <asm/mach-types.h>
45 #include <linux/platform_data/irda-pxaficp.h>
88 /* FFUART (RS-232) */
134 /* HX4700 specific input GPIOs */
139 /* HX4700 specific output GPIOs */
192 .name = "gpio-keys",
196 .id = -1,
210 .id = -1,
257 /* GPIOC - CF, LEDs, SD */
273 /* GPIOD: input GPIOs, CF */
283 .default_trigger = "ds2760-battery.0-charging-blink-full-solid",
291 .default_trigger = "hx4700-radio",
315 .id = -1,
348 .name = "htc-egpio",
349 .id = -1,
358 * LCD - Sony display connected to ATI Imageon w3220
523 .id = -1,
544 .name = "platform-lcd",
545 .id = -1,
562 .name = "pwm-backlight",
563 .id = -1,
571 PWM_LOOKUP("pxa27x-pwm.1", 0, "pwm-backlight", NULL,
580 .dev_id = "gpio-vbus",
585 GPIOD14_nUSBC_DETECT - HX4700_ASIC3_GPIO_BASE,
588 GPIO_LOOKUP("gpio-pxa", GPIO76_HX4700_USBC_PUEN,
595 .name = "gpio-vbus",
596 .id = -1,
602 * Touchscreen - TSC2046 connected to SSP2
644 return gpio_request(GPIOD9_nAC_IN, "AC charger detect"); in power_supply_init()
658 "ds2760-battery.0", "backup-battery"
670 [0] = DEFINE_RES_NAMED(PXA_GPIO_TO_IRQ(GPIOD9_nAC_IN), 1, "ac",
679 .name = "pda-power",
680 .id = -1,
709 { .value = 100000, .gpios = (0 << 0) },
710 { .value = 500000, .gpios = (1 << 0) },
729 .name = "gpio-regulator",
730 .id = -1,
737 .dev_id = "gpio-regulator",
739 GPIO_LOOKUP("gpio-pxa", GPIO96_HX4700_BQ24022_ISET2,
741 GPIO_LOOKUP("gpio-pxa", GPIO72_HX4700_BQ24022_nCHARGE_EN,
767 .name = "physmap-flash",
768 .id = -1,
831 .name = "hx4700-audio",
832 .id = -1,
883 pr_err ("hx4700: Failed to request GPIOs.\n"); in hx4700_init()