/linux/Documentation/devicetree/bindings/input/ |
H A 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: 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 …]
|
H A D | adi,adp5588.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nuno Sá <nuno.sa@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADP5588.pdf 17 - $ref: matrix-keymap.yaml# 18 - $ref: input.yaml# 23 - adi,adp5587 24 - adi,adp5588 29 vcc-supply: [all …]
|
/linux/arch/x86/platform/geode/ |
H A D | geode-common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Shared helpers to register GPIO-connected buttons and LEDs 8 #include <linux/gpio/machine.h> 9 #include <linux/gpio/property.h> 15 #include "geode-common.h" 18 .name = "cs5535-gpio", 22 PROPERTY_ENTRY_U32("poll-interval", 20), 27 .name = "geode-gpio-keys", 32 { /* Placeholder for GPIO property */ }, 35 PROPERTY_ENTRY_U32("debounce-interval", 100), [all …]
|
/linux/drivers/mfd/ |
H A 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 …]
|
H A 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/arch/arm64/boot/dts/qcom/ |
H A D | ipq5332-rdp-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 5 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 21 stdout-path = "serial0"; 24 gpio-keys { 25 compatible = "gpio-keys"; 26 pinctrl-0 = <&gpio_keys_default>; [all …]
|
H A D | msm8939-huawei-kiwi.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8939-pm8916.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 11 chassis-type = "handset"; 20 stdout-path = "serial0"; 23 reserved-memory { 26 no-map; 30 gpio-hall-sensor { 31 compatible = "gpio-keys"; [all …]
|
H A D | msm8916-samsung-j5-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 4 #include "msm8916-modem-qdsp6.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 18 stdout-path = "serial0"; 21 reserved-memory { 23 tz-apps@85500000 { 25 no-map; [all …]
|
H A D | msm8916-lg-c50.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 12 chassis-type = "handset"; 21 stdout-path = "serial0"; 24 gpio-keys { 25 compatible = "gpio-keys"; 27 pinctrl-0 = <&gpio_keys_default>; 28 pinctrl-names = "default"; [all …]
|
H A D | msm8916-samsung-gt5-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/sound/apq8016-lpass.h> 21 stdout-path = "serial0"; 24 reserved-memory { [all …]
|
H A D | msm8939-longcheer-l9100.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8939-pm8916.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 17 chassis-type = "handset"; [all …]
|
H A D | msm8916-motorola-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 4 #include "msm8916-modem-qdsp6.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 18 stdout-path = "serial0"; 21 gpio-keys { 22 compatible = "gpio-keys"; 24 pinctrl-0 = <&gpio_keys_default>; [all …]
|
H A D | msm8939-wingtech-wt82918.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-modem-qdsp6.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 17 stdout-path = "serial0"; 21 compatible = "pwm-backlight"; 23 brightness-levels = <0 255>; 24 num-interpolated-steps = <255>; 25 default-brightness-level = <128>; [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
/linux/arch/arm/boot/dts/nuvoton/ |
H A D | nuvoton-wpcm450-supermicro-x9sci-ln4f.dts | 1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 /dts-v1/; 9 #include "nuvoton-wpcm450.dtsi" 11 #include <dt-bindings/input/linux-event-codes.h> 12 #include <dt-bindings/gpio/gpio.h> 15 model = "Supermicro X9SCi-LN4F BMC"; 16 compatible = "supermicro,x9sci-ln4f-bmc", "nuvoton,wpcm450"; 24 stdout-path = "serial0:115200n8"; 32 gpio-keys { 33 compatible = "gpio-keys"; [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A 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/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-h700-anbernic-rg35xx-sp.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 7 #include <dt-bindings/input/gpio-keys.h> 8 #include "sun50i-h700-anbernic-rg35xx-plus.dts" 12 compatible = "anbernic,rg35xx-sp", "allwinner,sun50i-h700"; 14 gpio-keys-lid { 15 compatible = "gpio-keys"; 17 lid-switch { 20 linux,can-disable; 22 linux,input-type = <EV_SW>; 23 wakeup-event-action = <EV_ACT_DEASSERTED>; [all …]
|
/linux/drivers/input/keyboard/ |
H A D | adp5588-keys.c | 1 // 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> 48 #define GPIO_INT_STAT1 0x11 /* GPIO Interrupt Status */ 49 #define GPIO_INT_STAT2 0x12 /* GPIO Interrupt Status */ 50 #define GPIO_INT_STAT3 0x13 /* GPIO Interrupt Status */ 51 #define GPIO_DAT_STAT1 0x14 /* GPIO Data Status, Read twice to clear */ 52 #define GPIO_DAT_STAT2 0x15 /* GPIO Data Status, Read twice to clear */ [all …]
|
/linux/arch/mips/boot/dts/ralink/ |
H A D | mt7621-tplink-hc220-g5-v1.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /dts-v1/; 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/leds/common.h> 11 compatible = "tplink,hc220-g5-v1", "mediatek,mt7621-soc"; 12 model = "TP-Link HC220 G5 v1"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 key-reset { [all …]
|
/linux/arch/arm/boot/dts/nxp/mxs/ |
H A D | imx28-eukrea-mbmx28lc.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/gpio/gpio.h> 16 compatible = "pwm-backlight"; 18 brightness-levels = <0 25 50 75 100 125 150 175 200 225 255>; 19 default-brightness-level = <10>; 22 gpio-keys-0 { 23 compatible = "gpio-keys"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&gpio_button_sw3_pins_mbmx28lc>; [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-xp-axpwifiap.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for Marvell RD-AXPWiFiAP. 12 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 15 /dts-v1/; 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/input/input.h> 18 #include "armada-xp-mv78230.dtsi" 21 model = "Marvell RD-AXPWiFiAP"; 22 …compatible = "marvell,rd-axpwifiap", "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,arma… 25 stdout-path = "serial0:115200n8"; [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx93-phyboard-segin-peb-eval-01.dtso | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include "imx93-pinfunc.h" 15 gpio-keys { 16 compatible = "gpio-keys"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_gpio_keys>; 20 button-s2 { [all …]
|