Home
last modified time | relevance | path

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

12345678910>>...27

/linux-6.14.4/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-[email protected]
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 …]
/linux-6.14.4/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 …]
Dimx6ull-uti260b.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 // Copyright (C) 2022-2024 Sebastian Reichel <[email protected]>
4 /dts-v1/;
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/clock/imx6ul-clock.h>
9 #include <dt-bindings/leds/common.h>
12 model = "UNI-T UTi260B Thermal Camera";
13 compatible = "uni-t,uti260b", "fsl,imx6ull";
16 stdout-path = "serial0:115200n8";
[all …]
Dimx6q-var-dt6customboard.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Support for Variscite DART-MX6 Carrier-board
9 /dts-v1/;
12 #include "imx6qdl-var-dart.dtsi"
13 #include <dt-bindings/input/linux-event-codes.h>
16 model = "Variscite DART-MX6 Carrier-board";
20 compatible = "pwm-backlight";
22 brightness-levels = <0 4 8 16 32 64 128 248>;
23 default-brightness-level = <7>;
27 gpio-keys {
[all …]
/linux-6.14.4/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 <[email protected]>
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 …]
Dgpio-matrix-keypad.txt1 * GPIO driven matrix keypad device tree bindings
3 GPIO driven matrix keypad is used to interface a SoC with a matrix keypad.
4 The matrix keypad supports multiple row and column lines, a key can be
6 keypad can sense a key-press and key-release by means of GPIO lines and
7 report the event using GPIO interrupts to the cpu.
10 - compatible: Should be "gpio-matrix-keypad"
11 - row-gpios: List of gpios used as row lines. The gpio specifier
12 for this property depends on the gpio controller to
14 - col-gpios: List of gpios used as column lines. The gpio specifier
15 for this property depends on the gpio controller to
[all …]
/linux-6.14.4/arch/arm64/boot/dts/renesas/
Drzg3s-smarc.dtsi1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 * Device Tree Source for the RZ SMARC Carrier-II Board.
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
21 stdout-path = "serial3:115200n8";
25 compatible = "gpio-keys";
27 key-1 {
28 interrupts-extended = <&pinctrl RZG2L_GPIO(18, 0) IRQ_TYPE_EDGE_FALLING>;
31 wakeup-source;
[all …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/arch/arm64/boot/dts/exynos/
Dexynosautov9-sadk.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
16 compatible = "samsung,exynosautov9-sadk", "samsung,exynosautov9";
18 #address-cells = <2>;
19 #size-cells = <2>;
26 stdout-path = &serial_0;
36 gpio-keys {
37 compatible = "gpio-keys";
[all …]
Dexynos8895-dreamlte.dts1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Samsung Galaxy S8 (dreamlte/SM-G950F) device tree source
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
15 model = "Samsung Galaxy S8 (SM-G950F)";
17 chassis-type = "handset";
20 #address-cells = <2>;
21 #size-cells = <1>;
[all …]
Dexynos9810-starlte.dts1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Samsung Galaxy S9 (starlte/SM-G960F) device tree source
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
15 model = "Samsung Galaxy S9 (SM-G960F)";
17 chassis-type = "handset";
20 #address-cells = <2>;
21 #size-cells = <1>;
25 compatible = "simple-framebuffer";
[all …]
Dexynos990-x1s-common.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
16 #address-cells = <2>;
17 #size-cells = <2>;
21 compatible = "simple-framebuffer";
30 reserved-memory {
31 #address-cells = <2>;
[all …]
Dexynos7885-jackpotlte.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung Galaxy A8 2018 (jackpotlte/SM-A530F) device tree source
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
18 chassis-type = "handset";
28 stdout-path = &serial_2;
38 gpio-keys {
39 compatible = "gpio-keys";
[all …]
Dexynos990-r8s.dts1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Samsung Galaxy S20 FE (r8s/SM-G780F) device tree source
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
18 #address-cells = <2>;
19 #size-cells = <2>;
22 #address-cells = <2>;
23 #size-cells = <2>;
[all …]
Dexynos990-c1s.dts1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Samsung Galaxy Note20 5G (c1s/SM-N981B) device tree source
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
18 #address-cells = <2>;
19 #size-cells = <2>;
22 #address-cells = <2>;
23 #size-cells = <2>;
[all …]
/linux-6.14.4/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 …]
/linux-6.14.4/Documentation/admin-guide/gpio/
Dgpio-virtuser.rst1 .. SPDX-License-Identifier: GPL-2.0-only
3 Virtual GPIO Consumer
6 The virtual GPIO Consumer module allows users to instantiate virtual devices
8 consumer devices can be instantiated from device-tree or over configfs.
10 A virtual consumer uses the driver-facing GPIO APIs and allows to cover it with
11 automated tests driven by user-space. The GPIOs are requested using
14 Creating GPIO consumers
15 -----------------------
17 The gpio-consumer module registers a configfs subsystem called
18 ``'gpio-virtuser'``. For details of the configfs filesystem, please refer to
[all …]
/linux-6.14.4/arch/arm/boot/dts/allwinner/
Dsun7i-a20-pcduino3.dts5 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include "sun7i-a20.dtsi"
46 #include "sunxi-common-regulators.dtsi"
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/input.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
54 compatible = "linksprite,pcduino3", "allwinner,sun7i-a20";
61 stdout-path = "serial0:115200n8";
65 compatible = "gpio-leds";
[all …]

12345678910>>...27