/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 …]
|
/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 …]
|
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. 125 Say Y here if you have a PA-RISC machine and want to use an AT or 127 PA-RISC keyboards. 137 built-in keyboard (as opposed to an external keyboard). 139 The PrecisionBook has five keys that conflict with those used by most 151 in the left-hand column will be interpreted as the corresponding key [all …]
|
/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 …]
|
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-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 …]
|
D | meson-gxl-s905x-khadas-vim.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 10 #include "meson-gxl-s905x-p212.dtsi" 13 compatible = "khadas,vim", "amlogic,s905x", "amlogic,meson-gxl"; 16 adc-keys { 17 compatible = "adc-keys"; 18 io-channels = <&saradc 0>; 19 io-channel-names = "buttons"; 20 keyup-threshold-microvolt = <1710000>; [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
D | stm32mp15xx-dhcom-pdk2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 3 * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pwm/pwm.h> 17 stdout-path = "serial0:115200n8"; 20 clk_ext_audio_codec: clock-codec { 21 compatible = "fixed-clock"; 22 #clock-cells = <0>; 23 clock-frequency = <24000000>; 26 display_bl: display-bl { [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 …]
|
D | bcm47094-luxul-abr-4500.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 9 #include "bcm5301x-nand-cs0-bch8.dtsi" 12 compatible = "luxul,abr-4500-v1", "brcm,bcm47094", "brcm,bcm4708"; 13 model = "Luxul ABR-4500 V1"; 26 compatible = "gpio-leds"; 31 linux,default-trigger = "timer"; 37 trigger-sources = <&ohci_port1>, <&ehci_port1>, 39 linux,default-trigger = "usbport"; 44 gpio-keys { [all …]
|
/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 …]
|
D | msm8916-longcheer-l8150.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 11 compatible = "longcheer,l8150", "qcom,msm8916-v1-qrd/9-v1", "qcom,msm8916"; 18 stdout-path = "serial0"; 21 reserved-memory { 23 /delete-node/ wcnss@89300000; 27 no-map; [all …]
|
/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 …]
|
/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 …]
|
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 | ar9132_tl_wr1043nd_v1.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 compatible = "tplink,tl-wr1043nd-v1", "qca,ar9132"; 11 model = "TP-Link TL-WR1043ND Version 1"; 19 compatible = "fixed-clock"; 20 #clock-cells = <0>; 21 clock-frequency = <40000000>; 24 gpio-keys { [all …]
|
/linux-5.10/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 …]
|