Home
last modified time | relevance | path

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

12345678910>>...37

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A 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: 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 …]
/OK3568_Linux_fs/kernel/drivers/input/keyboard/
H A Dgpio_keys.c1 // 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 …]
H A DKconfig1 # 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 …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxm-wetek-core2.dts1 // 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 …]
H A Dmeson-gxm-q200.dts1 // 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 …]
H A Dmeson-gxl-s905x-khadas-vim.dts1 // 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 …]
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Ducb1x00-assabet.c1 // 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 Dadp5520.c1 // 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 …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/mediatek/
H A Dpumpkin-common.dtsi1 // 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 …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Drk3288-rock2-square.dts1 // 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 …]
H A Dstm32mp15xx-dhcom-pdk2.dtsi1 // 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 …]
H A Drk3288-firefly-reload.dts1 // 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 …]
H A Dpxa300-raumfeld-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
10 hw-revision = <0>;
14 stdout-path = &ffuart;
22 reg_3v3: regulator-3v3 {
23 compatible = "regulator-fixed";
24 regulator-name = "3v3-fixed-supply";
25 regulator-min-microvolt = <3300000>;
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/qcom/
H A Dmsm8916-samsung-a2015-common.dtsi1 // 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 …]
H A Dsdm630-sony-xperia-nile.dtsi1 // 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 …]
H A Dmsm8916-longcheer-l8150.dts1 // 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 …]
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dpcengines-apuv2.c1 // 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/
H A Diqs62x.yaml1 # 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 …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3399pro-npu-evb-v10.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/pinctrl/rockchip.h>
9 #include "rk3399pro-npu.dtsi"
12 model = "Rockchip RK3399pro-npu EVB V10 Board";
13 compatible = "rockchip,rk3399pro-npu-evb-v10", "rockchip,rk3399pro-npu";
19 keys: gpio-keys { label
20 compatible = "gpio-keys";
21 pinctrl-names = "default";
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Drk3288-firefly.dtsi4 * SPDX-License-Identifier: GPL-2.0+ X11
8 #include "rk3288-u-boot.dtsi"
9 #include <dt-bindings/input/input.h>
16 adc-keys {
17 compatible = "adc-keys";
18 io-channels = <&saradc 1>;
20 volup-key {
23 press-threshold-microvolt = <18000>;
27 ext_gmac: external-gmac-clock {
28 compatible = "fixed-clock";
[all …]
/OK3568_Linux_fs/kernel/arch/mips/boot/dts/qca/
H A Dar9331_dragino_ms14.dts1 // 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 …]
H A Dar9331_omega.dts1 // 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 …]
H A Dar9331_tl_mr3020.dts1 // 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 …]
/OK3568_Linux_fs/u-boot/drivers/input/
H A DKconfig67 then decoded into keys by this driver.
75 then decoded into keys by this driver.
83 then decoded into keys by this driver.
92 driver handles English and German keyboards - set the environment
103 bool "Enable adc keys support"
106 This adds a driver for the adc keys support.
109 bool "Enable SPL adc keys support without DM"
112 This adds a driver for the SPL adc keys support
115 bool "Enable gpio keys support"
118 This adds a driver for the gpio keys support.
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/mt7621-dts/
H A Dgbpc1.dts1 /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";
28 gpio-keys {
29 compatible = "gpio-keys";
33 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
38 gpio-leds {
39 compatible = "gpio-leds";
[all …]

12345678910>>...37