/Linux-v5.15/Documentation/devicetree/bindings/input/ |
D | gpio-keys.yaml | 1 # 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 39 linux,input-type: 47 linux,input-value: [all …]
|
/Linux-v5.15/drivers/input/keyboard/ |
D | gpio_keys.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for keys on GPIO lines capable of generating interrupts. 26 #include <linux/gpio.h> 27 #include <linux/gpio/consumer.h> 31 #include <dt-bindings/input/gpio-keys.h> 41 unsigned int release_delay; /* in msecs, for IRQ-only buttons */ 45 unsigned int software_debounce; /* in msecs, for GPIO-driven buttons */ 65 * SYSFS interface for enabling/disabling keys and switches: 67 * There are 4 attributes under /sys/devices/platform/gpio-keys/ 68 * keys [ro] - bitmap of keys (EV_KEY) which can be [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 24 board-specific setup logic must also provide a configuration data 38 be called adp5520-keys. 48 module will be called adp5588-keys. 58 module will be called adp5589-keys. 122 Say Y here if you have a PA-RISC machine and want to use an AT or 124 PA-RISC keyboards. 134 built-in keyboard (as opposed to an external keyboard). 136 The PrecisionBook has five keys that conflict with those used by most 148 in the left-hand column will be interpreted as the corresponding key [all …]
|
/Linux-v5.15/drivers/mfd/ |
D | ucb1x00-assabet.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/mfd/ucb1x00-assabet.c 5 * Copyright (C) 2001-2003 Russell King, All Rights Reserved. 7 * We handle the machine-specific bits of the UCB1x00 driver here. 39 struct ucb1x00 *ucb = dev->ucb; in ucb1x00_assabet_add() 41 struct gpio_keys_platform_data keys; in ucb1x00_assabet_add() local 46 memset(&keys, 0, sizeof(keys)); in ucb1x00_assabet_add() 50 buttons[i].gpio = ucb->gpio.base + i; in ucb1x00_assabet_add() 55 keys.buttons = buttons; in ucb1x00_assabet_add() 56 keys.nbuttons = ARRAY_SIZE(buttons); in ucb1x00_assabet_add() [all …]
|
D | adp5520.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * LEDs : drivers/led/leds-adp5520 6 * GPIO : drivers/gpio/adp5520-gpio (ADP5520 only) 7 * Keys : drivers/input/keyboard/adp5520-keys (ADP5520 only) 17 * Copyright (C) 2006-2008 Marvell International Ltd. 49 dev_err(&client->dev, "failed reading at 0x%02x\n", reg); in __adp5520_read() 64 dev_err(&client->dev, "failed writing 0x%02x to 0x%02x\n", in __adp5520_write() 78 mutex_lock(&chip->lock); in __adp5520_ack_bits() 87 mutex_unlock(&chip->lock); in __adp5520_ack_bits() 109 mutex_lock(&chip->lock); in adp5520_set_bits() [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/qcom/ |
D | sm6125-sony-xperia-seine-pdx201.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/input/gpio-keys.h> 15 qcom,msm-id = <394 0x10000>; /* sm6125 v1 */ 16 qcom,board-id = <34 0>; 22 #address-cells = <2>; 23 #size-cells = <2>; 27 compatible = "simple-framebuffer"; [all …]
|
D | msm8916-asus-z00l.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 17 stdout-path = "serial0"; 20 gpio-keys { 21 compatible = "gpio-keys"; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&gpio_keys_default>; 26 label = "GPIO Buttons"; [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/amlogic/ |
D | meson-gxl-s905d-mecool-kii-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-gxl-s905d.dtsi" 10 #include "meson-gx-p23x-q20x.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 15 compatible = "videostrong,gxl-kii-pro", "amlogic,s905d", "amlogic,meson-gxl"; 18 adc-keys { 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; [all …]
|
D | meson-gxm-wetek-core2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxm.dtsi" 9 #include "meson-gx-p23x-q20x.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 14 compatible = "wetek,core2", "amlogic,s912", "amlogic,meson-gxm"; 23 compatible = "gpio-leds"; 25 led-blue { 28 gpios = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>; [all …]
|
D | meson-gxm-mecool-kiii-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-gxm.dtsi" 10 #include "meson-gx-p23x-q20x.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 15 compatible = "videostrong,gxm-kiii-pro", "amlogic,s912", "amlogic,meson-gxm"; 23 adc-keys { 24 compatible = "adc-keys"; 25 io-channels = <&saradc 0>; [all …]
|
D | meson-gxm-minix-neo-u9h.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxm.dtsi" 9 #include "meson-gx-p23x-q20x.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 14 compatible = "minix,neo-u9h", "amlogic,s912", "amlogic,meson-gxm"; 15 model = "Minix Neo U9-H"; 18 compatible = "gpio-leds"; 20 led-white { [all …]
|
D | meson-gxm-q200.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 11 #include "meson-gxm.dtsi" 12 #include "meson-gx-p23x-q20x.dtsi" 15 compatible = "amlogic,q200", "amlogic,s912", "amlogic,meson-gxm"; 18 adc-keys { 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; 21 io-channel-names = "buttons"; [all …]
|
D | meson-gxl-s905d-p230.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 11 #include "meson-gxl-s905d.dtsi" 12 #include "meson-gx-p23x-q20x.dtsi" 15 compatible = "amlogic,p230", "amlogic,s905d", "amlogic,meson-gxl"; 18 adc-keys { 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; 21 io-channel-names = "buttons"; [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/mfd/ |
D | iqs62x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS620A/621/622/624/625 Multi-Function Sensors 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors 21 - azoteq,iqs620a 22 - azoteq,iqs621 23 - azoteq,iqs622 24 - azoteq,iqs624 [all …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | rk3288-rock2-square.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include "rk3288-rock2-som.dtsi" 9 compatible = "radxa,rock2-square", "rockchip,rk3288"; 12 stdout-path = "serial2:115200n8"; 15 adc-keys { 16 compatible = "adc-keys"; 17 io-channels = <&saradc 1>; 18 io-channel-names = "buttons"; [all …]
|
D | intel-ixp42x-dlink-dsm-g600.dts | 1 // SPDX-License-Identifier: ISC 3 * Device Tree file for D-Link DSM-G600 revision A based on IXP420 11 /dts-v1/; 13 #include "intel-ixp42x.dtsi" 14 #include <dt-bindings/input/input.h> 17 model = "D-Link DSM-G600 rev A"; 18 compatible = "dlink,dsm-g600-a", "intel,ixp42x"; 19 #address-cells = <1>; 20 #size-cells = <1>; 30 stdout-path = "uart0:115200n8"; [all …]
|
D | rk3288-firefly-reload.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include "rk3288-firefly-reload-core.dtsi" 11 model = "Firefly-RK3288-reload"; 12 compatible = "firefly,firefly-rk3288-reload", "rockchip,rk3288"; 14 adc-keys { 15 compatible = "adc-keys"; 16 io-channels = <&saradc 1>; 17 io-channel-names = "buttons"; 18 keyup-threshold-microvolt = <1800000>; [all …]
|
/Linux-v5.15/drivers/platform/x86/ |
D | pcengines-apuv2.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * PC-Engines APUv2/APUv3 board platform driver 5 * for GPIO buttons and LEDs 20 #include <linux/gpio/machine.h> 22 #include <linux/platform_data/gpio/gpio-amd-fch.h> 25 * NOTE: this driver only supports APUv2/3 - not APUv1, as this one 38 /* Order in which the GPIO lines are defined in the register list */ 47 /* GPIO device */ 60 [APU2_GPIO_LINE_LED1] = "front-led1", 61 [APU2_GPIO_LINE_LED2] = "front-led2", [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/mediatek/ |
D | pumpkin-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <dt-bindings/gpio/gpio.h> 16 stdout-path = "serial0:921600n8"; 21 compatible = "linaro,optee-tz"; 26 gpio-keys { 27 compatible = "gpio-keys"; 28 input-name = "gpio-keys"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&gpio_keys_default>; 32 volume-up { [all …]
|
/Linux-v5.15/arch/mips/boot/dts/qca/ |
D | ar9331_omega.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 23 compatible = "gpio-leds"; 27 gpios = <&gpio 27 GPIO_ACTIVE_LOW>; 28 default-state = "off"; 32 gpio-keys { 33 compatible = "gpio-keys"; 34 #address-cells = <1>; [all …]
|
D | ar9331_dragino_ms14.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 23 compatible = "gpio-leds"; 27 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; 28 default-state = "off"; 33 gpios = <&gpio 13 GPIO_ACTIVE_LOW>; 34 default-state = "off"; 39 gpios = <&gpio 17 GPIO_ACTIVE_LOW>; [all …]
|
D | ar9331_dpt_module.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 11 model = "DPTechnics DPT-Module"; 12 compatible = "dptechnics,dpt-module"; 24 compatible = "gpio-leds"; 26 led-0 { 29 gpios = <&gpio 27 GPIO_ACTIVE_LOW>; [all …]
|
D | ar9331_tl_mr3020.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 10 model = "TP-Link TL-MR3020"; 11 compatible = "tplink,tl-mr3020"; 23 compatible = "gpio-leds"; 26 label = "tp-link:green:wlan"; 27 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; 28 default-state = "off"; [all …]
|
D | ar9331_openembed_som9331_board.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 24 compatible = "gpio-leds"; 26 led-0 { 29 gpios = <&gpio 27 GPIO_ACTIVE_LOW>; 30 default-state = "off"; 34 gpio-keys { [all …]
|
/Linux-v5.15/drivers/staging/mt7621-dts/ |
D | gbpc1.dts | 1 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 9 compatible = "gnubee,gb-pc1", "mediatek,mt7621-soc"; 10 model = "GB-PC1"; 27 gpio-keys { 28 compatible = "gpio-keys"; 32 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; 37 gpio-leds { 38 compatible = "gpio-leds"; [all …]
|