| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/input/ |
| D | gpio-keys.txt | 1 Device-Tree bindings for input/keyboard/gpio_keys.c keyboard driver 4 - compatible = "gpio-keys"; 7 - autorepeat: Boolean, Enable auto repeat feature of Linux input 9 - label: String, name of the input device. 11 Each button (key) is represented as a sub-node of "gpio-keys": 14 - gpios: OF device-tree gpio specification. 15 - interrupts: the interrupt line for that input. 16 - label: Descriptive name of the key. 17 - linux,code: Keycode to emit. 22 Optional subnode-properties: [all …]
|
| D | gpio-keys-polled.txt | 1 Device-Tree bindings for input/gpio_keys_polled.c keyboard driver 4 - compatible = "gpio-keys-polled"; 5 - poll-interval: Poll interval time in milliseconds 8 - autorepeat: Boolean, Enable auto repeat feature of Linux input 11 Each button (key) is represented as a sub-node of "gpio-keys-polled": 14 - gpios: OF device-tree gpio specification. 15 - label: Descriptive name of the key. 16 - linux,code: Key / Axis code to emit. 18 Optional subnode-properties: 19 - linux,input-type: Specify event type this button/key generates. [all …]
|
| /kernel/linux/linux-4.19/drivers/input/keyboard/ |
| D | gpio_keys.c | 2 * Driver for keys on GPIO lines capable of generating interrupts. 28 #include <linux/gpio.h> 29 #include <linux/gpio/consumer.h> 33 #include <dt-bindings/input/gpio-keys.h> 43 unsigned int release_delay; /* in msecs, for IRQ-only buttons */ 46 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 70 * switches [ro] - bitmap of switches (EV_SW) which can be [all …]
|
| /kernel/linux/linux-5.10/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. 25 #include <linux/gpio.h> 26 #include <linux/gpio/consumer.h> 30 #include <dt-bindings/input/gpio-keys.h> 40 unsigned int release_delay; /* in msecs, for IRQ-only buttons */ 43 unsigned int software_debounce; /* in msecs, for GPIO-driven buttons */ 62 * SYSFS interface for enabling/disabling keys and switches: 64 * There are 4 attributes under /sys/devices/platform/gpio-keys/ 65 * keys [ro] - bitmap of keys (EV_KEY) which can be [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/drivers/mfd/ |
| D | ucb1x00-assabet.c | 2 * linux/drivers/mfd/ucb1x00-assabet.c 4 * Copyright (C) 2001-2003 Russell King, All Rights Reserved. 10 * We handle the machine-specific bits of the UCB1x00 driver here. 42 struct ucb1x00 *ucb = dev->ucb; in ucb1x00_assabet_add() 44 struct gpio_keys_platform_data keys; in ucb1x00_assabet_add() local 49 memset(&keys, 0, sizeof(keys)); in ucb1x00_assabet_add() 53 buttons[i].gpio = ucb->gpio.base + i; in ucb1x00_assabet_add() 58 keys.buttons = buttons; in ucb1x00_assabet_add() 59 keys.nbuttons = ARRAY_SIZE(buttons); in ucb1x00_assabet_add() 60 keys.poll_interval = 50; in ucb1x00_assabet_add() [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/ |
| 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"; 28 gpios = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>; 29 default-state = "on"; [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 …]
|
| /kernel/linux/linux-4.19/arch/arm64/boot/dts/amlogic/ |
| 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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/ |
| D | msm8916-samsung-a2015-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 14 stdout-path = "serial0"; 17 reserved-memory { 19 tz-apps@85500000 { 21 no-map; 25 gpio-keys { [all …]
|
| D | sdm630-sony-xperia-nile.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/input/gpio-keys.h> 17 qcom,msm-id = <318 0>; 18 qcom,board-id = <8 1>; 19 qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00>; 21 /* This part enables graphical output via bootloader-enabled display */ 25 #address-cells = <2>; [all …]
|
| /kernel/linux/linux-4.19/arch/arm/mach-imx/ |
| D | mach-vpr200.c | 3 * Copyright (C) 2009 Marc Kleine-Budde, Pengutronix 25 #include <linux/gpio.h> 27 #include <asm/mach-types.h> 35 #include "devices-imx35.h" 38 #include "iomux-mx35.h" 71 .name = "CTP-CLAA070LC0ACW", 100 .end = MX35_CS0_BASE_ADDR + SZ_64M - 1, 105 .name = "physmap-flash", 123 {KEY_F2, GPIO_BUTTON1, 1, "vpr-keys: F2", 0, VPR_KEY_DEBOUNCE}, 124 {KEY_F3, GPIO_BUTTON2, 1, "vpr-keys: F3", 0, VPR_KEY_DEBOUNCE}, [all …]
|
| /kernel/linux/linux-4.19/arch/mips/boot/dts/qca/ |
| 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> 10 model = "DPTechnics DPT-Module"; 11 compatible = "dptechnics,dpt-module"; 23 compatible = "gpio-leds"; 26 label = "dpt-module:green:system"; 27 gpios = <&gpio 27 GPIO_ACTIVE_LOW>; 28 default-state = "off"; [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|