Home
last modified time | relevance | path

Searched +full:gpio +full:- +full:key (Results 1 – 25 of 929) sorted by relevance

12345678910>>...38

/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dpalmtreo.c1 // SPDX-License-Identifier: GPL-2.0-only
22 #include <linux/gpio.h>
24 #include <linux/w1-gpio.h>
26 #include <asm/mach-types.h>
31 #include "pxa27x-udc.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>
37 #include <linux/platform_data/keypad-pxa27x.h>
39 #include <linux/platform_data/usb-ohci-pxa27x.h>
[all …]
Dcorgi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Support for Sharp SL-C7xx PDAs
4 * Models: SL-C700 (Corgi), SL-C750 (Shepherd), SL-C760 (Husky)
6 * Copyright (c) 2004-2005 Richard Purdie
22 #include <linux/gpio.h>
23 #include <linux/gpio/machine.h>
26 #include <linux/platform_data/i2c-pxa.h>
41 #include <asm/mach-types.h>
50 #include <linux/platform_data/irda-pxaficp.h>
51 #include <linux/platform_data/mmc-pxamci.h>
[all …]
Dtosa.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Support for Sharp SL-C6000x PDAs
29 #include <linux/gpio.h>
30 #include <linux/gpio/machine.h>
31 #include <linux/power/gpio-charger.h>
35 #include <linux/platform_data/i2c-pxa.h>
40 #include <asm/mach-types.h>
44 #include <linux/platform_data/irda-pxaficp.h>
45 #include <linux/platform_data/mmc-pxamci.h>
181 .name = "sharp-scoop",
[all …]
Dpalmtc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-pxa/palmtc.c
20 #include <linux/gpio/machine.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>
104 /* PXA GPIO KEYS */
123 .dev_id = "pxa2xx-mci.0",
125 GPIO_LOOKUP("gpio-pxa", GPIO_NR_PALMTC_SD_DETECT_N,
[all …]
Dezx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ezx.c - Common code for the EZX platform.
5 * Copyright (C) 2005-2006 Harald Welte <laforge@openezx.org>,
6 * 2007-2008 Daniel Ribeiro <drwyrm@gmail.com>,
7 * 2007-2008 Stefan Schmidt <stefan@datenfreihafen.org>
19 #include <linux/gpio.h>
20 #include <linux/gpio/machine.h>
22 #include <linux/leds-lp3944.h>
23 #include <linux/platform_data/i2c-pxa.h>
26 #include <asm/mach-types.h>
[all …]
/kernel/linux/linux-5.10/include/linux/platform_data/
Dadp5588.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright 2009-2010 Analog Devices Inc.
14 #define KEY_LCK_EC_STAT 0x03 /* Key Lock and Event Counter Register */
15 #define Key_EVENTA 0x04 /* Key Event Register A */
16 #define Key_EVENTB 0x05 /* Key Event Register B */
17 #define Key_EVENTC 0x06 /* Key Event Register C */
18 #define Key_EVENTD 0x07 /* Key Event Register D */
19 #define Key_EVENTE 0x08 /* Key Event Register E */
20 #define Key_EVENTF 0x09 /* Key Event Register F */
21 #define Key_EVENTG 0x0A /* Key Event Register G */
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
Dboard-ams-delta.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/board-ams-delta.c
5 * Modified from board-generic.c
11 #include <linux/gpio/driver.h>
12 #include <linux/gpio/machine.h>
13 #include <linux/gpio/consumer.h>
14 #include <linux/gpio.h>
20 #include <linux/mtd/nand-gpio.h>
30 #include <linux/platform_data/gpio-omap.h>
33 #include <asm/mach-types.h>
[all …]
Dboard-htcherald.c1 // 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 * ------------------------------------
[all …]
Dboard-h3.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/board-h3.c
13 #include <linux/gpio.h>
31 #include <linux/platform_data/gpio-omap.h>
36 #include <asm/mach-types.h>
42 #include <linux/platform_data/keypad-omap.h>
43 #include <linux/omap-dma.h>
51 #include "board-h3.h"
59 KEY(0, 0, KEY_LEFT),
60 KEY(1, 0, KEY_RIGHT),
[all …]
Dboard-h2.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/board-h2.c
5 * Board specific inits for OMAP-1610 H2
18 #include <linux/gpio.h>
30 #include <linux/platform_data/gpio-omap.h>
33 #include <asm/mach-types.h>
38 #include <linux/omap-dma.h>
40 #include <linux/platform_data/keypad-omap.h>
47 #include "board-h2.h"
53 KEY(0, 0, KEY_LEFT),
[all …]
/kernel/linux/linux-6.6/arch/arm/mach-omap1/
Dboard-ams-delta.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/board-ams-delta.c
5 * Modified from board-generic.c
11 #include <linux/gpio/driver.h>
12 #include <linux/gpio/machine.h>
13 #include <linux/gpio/consumer.h>
19 #include <linux/mtd/nand-gpio.h>
29 #include <linux/platform_data/gpio-omap.h>
30 #include <linux/soc/ti/omap1-mux.h>
33 #include <asm/mach-types.h>
[all …]
Dboard-nokia770.c1 // 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>
[all …]
Dboard-sx1.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/board-sx1.c
5 * Modified from board-generic.c
9 * Original version : Vladimir Ananiev (Vovan888-at-gmail com)
14 #include <linux/gpio/machine.h>
15 #include <linux/gpio/consumer.h>
29 #include <linux/platform_data/keypad-omap.h>
30 #include <linux/omap-dma.h>
33 #include <asm/mach-types.h>
39 #include "board-sx1.h"
[all …]
Dboard-palmte.c1 // 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>
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/
Dimx6dl-prtvt7.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 /dts-v1/;
8 #include "imx6qdl-prti6q.dtsi"
9 #include <dt-bindings/display/sdtv-standards.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/sound/fsl-imx-audmux.h>
23 backlight_lcd: backlight-lcd {
24 compatible = "pwm-backlight";
26 brightness-levels = <0 20 81 248 1000>;
[all …]
Dimx6dl-prtmvt.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 /dts-v1/;
8 #include <dt-bindings/display/sdtv-standards.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/media/tvp5150.h>
13 #include <dt-bindings/sound/fsl-imx-audmux.h>
21 stdout-path = &uart4;
25 compatible = "pwm-backlight";
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx6dl-prtvt7.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 /dts-v1/;
8 #include "imx6qdl-prti6q.dtsi"
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/sound/fsl-imx-audmux.h>
22 backlight_lcd: backlight-lcd {
23 compatible = "pwm-backlight";
24 pinctrl-names = "default";
25 pinctrl-0 = <&pinctrl_backlight>;
[all …]
Dlpc3250-ea3250.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
20 gpio-keys {
21 compatible = "gpio-keys";
25 label = "Interrupt Key";
27 gpios = <&gpio 4 1 0>; /* GPI_P3 1 */
55 label = "Joystick Key 0";
57 gpios = <&gpio 2 0 0>; /* P2.0 */
61 label = "Joystick Key 1";
63 gpios = <&gpio 2 1 0>; /* P2.1 */
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/
Dgpio-keys.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO attached keys
10 - Rob Herring <robh@kernel.org>
15 - gpio-keys
16 - gpio-keys-polled
23 poll-interval: true
26 …"^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switc…
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Dgpio-keys.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Device-Tree bindings for GPIO attached keys
10 - Rob Herring <robh@kernel.org>
15 - gpio-keys
16 - gpio-keys-polled
33 description: Descriptive name of the key.
36 description: Key / Axis code to emit.
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/
Dexynos4412-itop-elite.dts1 // SPDX-License-Identifier: GPL-2.0
13 /dts-v1/;
14 #include <dt-bindings/leds/common.h>
15 #include <dt-bindings/pwm/pwm.h>
16 #include <dt-bindings/sound/samsung-i2s.h>
17 #include "exynos4412-itop-scp-core.dtsi"
21 compatible = "topeet,itop4412-elite", "samsung,exynos4412", "samsung,exynos4";
29 stdout-path = "serial2:115200n8";
33 compatible = "gpio-leds";
39 default-state = "off";
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/
Dam3517-evm-ui.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2018 Logic PD, Inc - https://www.logicpd.com/
6 #include <dt-bindings/input/input.h>
10 compatible = "simple-audio-card";
11 simple-audio-card,name = "tlv320aic23-hifi";
13 simple-audio-card,widgets =
18 simple-audio-card,routing =
25 simple-audio-card,format = "i2s";
26 simple-audio-card,bitclock-master = <&sound_master>;
27 simple-audio-card,frame-master = <&sound_master>;
[all …]
/kernel/linux/linux-6.6/drivers/input/keyboard/
Dadp5588-keys.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (C) 2008-2010 Analog Devices Inc.
14 #include <linux/gpio/consumer.h>
15 #include <linux/gpio/driver.h>
24 #include <linux/pinctrl/pinconf-generic.h>
34 #define KEY_LCK_EC_STAT 0x03 /* Key Lock and Event Counter Register */
35 #define KEY_EVENTA 0x04 /* Key Event Register A */
36 #define KEY_EVENTB 0x05 /* Key Event Register B */
37 #define KEY_EVENTC 0x06 /* Key Event Register C */
38 #define KEY_EVENTD 0x07 /* Key Event Register D */
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/lpc/
Dlpc3250-ea3250.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
20 gpio-keys {
21 compatible = "gpio-keys";
25 label = "Interrupt Key";
27 gpios = <&gpio 4 1 0>; /* GPI_P3 1 */
55 label = "Joystick Key 0";
57 gpios = <&gpio 2 0 0>; /* P2.0 */
61 label = "Joystick Key 1";
63 gpios = <&gpio 2 1 0>; /* P2.1 */
[all …]
/kernel/linux/linux-5.10/include/linux/gpio/
Dmachine.h1 /* SPDX-License-Identifier: GPL-2.0 */
22 * struct gpiod_lookup - lookup table
23 * @key: either the name of the chip the GPIO belongs to, or the GPIO line name
24 * Note that GPIO line names are not guaranteed to be globally unique,
26 * @chip_hwnum: hardware number (i.e. relative to the chip) of the GPIO, or
27 * U16_MAX to indicate that @key is a GPIO line name
28 * @con_id: name of the GPIO from the device's point of view
29 * @idx: index of the GPIO in case several GPIOs share the same name
36 const char *key; member
50 * struct gpiod_hog - GPIO line hog table
[all …]

12345678910>>...38