Home
last modified time | relevance | path

Searched +full:debounce +full:- +full:rep (Results 1 – 22 of 22) sorted by relevance

/linux/arch/arm/boot/dts/ti/omap/
H A Domap3-devkit8000-lcd-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "omap3-devkit8000-common.dtsi"
15 compatible = "panel-dpi";
18 enable-gpios = <&twl_gpio 18 GPIO_ACTIVE_HIGH>;
22 remote-endpoint = <&dpi_lcd_out>;
30 #address-cells = <1>;
31 #size-cells = <0>;
34 remote-endpoint = <&lcd_in>;
35 data-lines = <24>;
41 regulator-min-microvolt = <1800000>;
[all …]
H A Domap3-cm-t3x.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Common support for CompuLab CM-T3x CoMs
14 compatible = "gpio-leds";
15 pinctrl-names = "default";
16 pinctrl-0 = <&green_led_pins>;
18 label = "cm-t3x:green";
20 linux,default-trigger = "heartbeat";
26 compatible = "regulator-fixed";
27 regulator-name = "hsusb1_vbus";
28 regulator-min-microvolt = <3300000>;
[all …]
H A Dam57xx-cl-som-am57x.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Support for CompuLab CL-SOM-AM57x System-on-Module
5 * Copyright (C) 2015 CompuLab Ltd. - https://www.compulab.co.il/
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
16 model = "CompuLab CL-SOM-AM57x";
17 compatible = "compulab,cl-som-am57x", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
21 reg = <0x0 0x80000000 0x0 0x20000000>; /* 512 MB - minimal configuration */
25 compatible = "gpio-leds";
[all …]
H A Domap5-cm-t54.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Support for CompuLab CM-T54
5 /dts-v1/;
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 model = "CompuLab CM-T54";
13 compatible = "compulab,omap5-cm-t54", "ti,omap5";
26 vmmcsd_fixed: fixed-regulator-mmcsd {
27 compatible = "regulator-fixed";
28 regulator-name = "vmmcsd_fixed";
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx53-sk-imx53-atm0700d4.dtsi1 // SPDX-License-Identifier: GPL-2.0+
5 /dts-v1/;
7 #include <dt-bindings/pwm/pwm.h>
8 #include "imx53-sk-imx53.dts"
11 panel: panel-rgb {
12 compatible = "powertip,ph800480t013-idf02";
21 compatible = "spi-gpio";
22 #address-cells = <0x1>;
23 #size-cells = <0x0>;
25 num-chipselects = <1>;
[all …]
H A Dimx7d-pico-hobbit.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 #include "imx7d-pico.dtsi"
8 model = "TechNexion PICO-IMX7D Board using Hobbit baseboard";
9 compatible = "technexion,imx7d-pico-hobbit", "fsl,imx7d";
12 compatible = "gpio-leds";
13 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_gpio_leds>;
17 label = "gpio-led";
23 compatible = "simple-audio-card";
24 simple-audio-card,name = "imx7-sgtl5000";
[all …]
/linux/include/linux/
H A Dgpio_keys.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 * struct gpio_keys_button - configuration parameters
12 * @gpio: %-1 if this key does not support gpio
17 * @wakeup: configure the button as a wake-up source
19 * @debounce_interval: debounce ticks interval in msecs
24 * @wakeirq: Optional dedicated wake-up interrupt
42 * struct gpio_keys_platform_data - platform data for gpio_keys driver
46 * @poll_interval: polling interval in msecs - for polling driver only
47 * @rep: enable input subsystem auto repeat
56 unsigned int rep:1; member
/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dti,ads7843.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alexander Stein <alexander.stein@ew.tq-group.com>
11 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
12 - Marek Vasut <marex@denx.de>
21 - ti,ads7843
22 - ti,ads7845
23 - ti,ads7846
24 - ti,ads7873
[all …]
H A Dazoteq,iqs7211.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control-
14 lers employ projected-capacitance sensing and can track two contacts.
21 - azoteq,iqs7210a
22 - azoteq,iqs7211a
23 - azoteq,iqs7211e
28 irq-gpios:
[all …]
/linux/arch/arm/boot/dts/microchip/
H A Dat91sam9261ek.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * at91sam9261ek.dts - Device Tree file for Atmel at91sam9261 reference board
5 * Copyright (C) 2013 Jean-Jacques Hiblot <jjhiblot@traphandler.com>
7 /dts-v1/;
16 stdout-path = "serial0:115200n8";
25 clock-frequency = <32768>;
29 clock-frequency = <18432000>;
40 atmel,power-control-gpio = <&pioA 12 GPIO_ACTIVE_LOW>;
44 bits-per-pixel = <16>;
45 atmel,lcdcon-backlight;
[all …]
/linux/arch/arm/mach-omap1/
H A Dboard-nokia770.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/board-nokia770.c
5 * Modified from board-generic.c
24 #include <linux/platform_data/keypad-omap.h>
25 #include <linux/platform_data/lcd-mipid.h>
26 #include <linux/platform_data/gpio-omap.h>
28 #include <asm/mach-types.h>
44 .name = "gpio-0-15",
48 .name = "gpio-16-31",
95 .name = "omap-keypad",
[all …]
/linux/drivers/input/keyboard/
H A Dgpio_keys_polled.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2007-2010 Gabor Juhos <juhosg@openwrt.org>
26 #define DRV_NAME "gpio-keys-polled"
49 unsigned int type = button->type ?: EV_KEY; in gpio_keys_button_event()
53 input_event(input, type, button->code, button->value); in gpio_keys_button_event()
54 __set_bit(button->code, bdev->rel_axis_seen); in gpio_keys_button_event()
58 input_event(input, type, button->code, button->value); in gpio_keys_button_event()
59 __set_bit(button->code, bdev->abs_axis_seen); in gpio_keys_button_event()
62 input_event(input, type, button->code, state); in gpio_keys_button_event()
73 state = gpiod_get_value_cansleep(bdata->gpiod); in gpio_keys_polled_check_state()
[all …]
H A Domap-keypad.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * linux/drivers/input/keyboard/omap-keypad.c
8 * Written by Timo Teräs <ext-timo.teras@nokia.com>
24 #include <linux/platform_data/gpio-omap.h>
25 #include <linux/platform_data/keypad-omap.h>
26 #include <linux/soc/ti/omap1-io.h>
36 static int kp_cur_group = -1;
45 unsigned int debounce; member
75 for (col = 0; col < omap_kp->cols; col++) { in omap_kp_scan_keypad()
79 udelay(omap_kp->delay); in omap_kp_scan_keypad()
[all …]
H A Dgpio_keys.c1 // SPDX-License-Identifier: GPL-2.0-only
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 */
69 * There are 4 attributes under /sys/devices/platform/gpio-keys/
70 * keys [ro] - bitmap of keys (EV_KEY) which can be
72 * switches [ro] - bitmap of switches (EV_SW) which can be
74 * disabled_keys [rw] - bitmap of keys currently disabled
75 * disabled_switches [rw] - bitmap of switches currently disabled
81 * For example, if we have following switches set up as gpio-keys:
[all …]
H A Dtwl4030_keypad.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * twl4030_keypad.c - driver for 8x8 keypad controller in twl4030 chips
8 * Code re-written for 2430SDP by:
27 * events, since it uses only the always-on 32KiHz oscillator, and has
29 * multi-key combinations.
59 /*----------------------------------------------------------------------*/
100 #define KEYP_PERIOD_US(t, prescale) ((t) / (31 << ((prescale) + 1)) - 1)
123 /*----------------------------------------------------------------------*/
131 dev_warn(kp->dbg_dev, in twl4030_kpread()
132 "Couldn't read TWL4030: %X - ret %d[%x]\n", in twl4030_kpread()
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mm-var-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
10 model = "Variscite VAR-SOM-MX8MM module";
13 stdout-path = &uart4;
21 reg_eth_phy: regulator-eth-phy {
22 compatible = "regulator-fixed";
23 pinctrl-names = "default";
24 pinctrl-0 = <&pinctrl_reg_eth_phy>;
25 regulator-name = "eth_phy_pwr";
26 regulator-min-microvolt = <3300000>;
27 regulator-max-microvolt = <3300000>;
[all …]
H A Dimx8mn-var-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * Copyright 2019-2020 Variscite Ltd.
11 model = "Variscite VAR-SOM-MX8MN module";
12 compatible = "variscite,var-som-mx8mn", "fsl,imx8mn";
15 stdout-path = &uart4;
23 reg_eth_phy: regulator-eth-phy {
24 compatible = "regulator-fixed";
25 pinctrl-names = "default";
26 pinctrl-0 = <&pinctrl_reg_eth_phy>;
27 regulator-name = "eth_phy_pwr";
[all …]
/linux/include/linux/mfd/
H A Dtwl.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * twl4030.h - header for TWL4030 PM and audio CODEC device
5 * Copyright (C) 2005-2006 Texas Instruments, Inc.
91 * Offset from TWL6030_IRQ_BASE / pdata->irq_base
169 * Read and write several 8-bit registers at once.
175 * Read and write single 8-bit registers
226 return -EIO; in twl6030_mmc_card_detect()
229 /*----------------------------------------------------------------------*/
235 * a driver-private file, unless some of the registers in a block
244 /*----------------------------------------------------------------------*/
[all …]
/linux/drivers/input/touchscreen/
H A Dads7846.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * - corgi_ts.c
11 * Copyright (C) 2004-2005 Richard Purdie
12 * - omap_ts.[hc], ads7846.h, ts_osk.c
39 * Support for ads7843 tested on Atmel at91sam926x-EK.
53 * note. The strength of filtering can be set in the board-* specific
76 * driver is used with DMA-based SPI controllers (like atmel_spi) on
77 * systems where main memory is not DMA-coherent (most non-x86 boards).
152 /* leave chip selected when we're done, for quicker re-select? */
159 /*--------------------------------------------------------------------------*/
[all …]
H A Diqs7211.c1 // SPDX-License-Identifier: GPL-2.0-or-later
52 * The following delay is used during instances that must wait for the open-
124 .name = "event-prox",
131 .name = "event-touch",
138 .name = "event-tap",
145 .name = "event-hold",
152 .name = "event-swipe-x-neg",
159 .name = "event-swipe-x-pos",
166 .name = "event-swipe-y-pos",
173 .name = "event-swipe-y-neg",
[all …]
/linux/drivers/input/misc/
H A Dsoc_button_array.c1 // SPDX-License-Identifier: GPL-2.0-only
23 MODULE_PARM_DESC(use_low_level_irq, "Use low-level triggered IRQ instead of edge triggered");
52 * Some 2-in-1s which use the soc_button_array driver have this ugly issue in
53 * their DSDT where the _LID method modifies the irq-type settings of the GPIOs
57 * problematic because when re-enabling the irq, which happens whenever _LID
59 * irq-type to IRQ_TYPE_LEVEL_LOW. Where as the gpio-keys driver programs the
61 * To work around this we don't set gpio_keys_button.gpio on these 2-in-1s,
69 * Acer Switch 10 SW5-012. _LID method messes with home- and
70 * power-button GPIO IRQ settings. When (re-)enabling the irq
72 * ones, leading to an irq-type of IRQ_TYPE_LEVEL_LOW |
[all …]
/linux/arch/mips/alchemy/devboards/
H A Ddb1300.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/dma-mapping.h>
26 #include <asm/mach-au1x00/au1000.h>
27 #include <asm/mach-au1x00/gpio-au1300.h>
28 #include <asm/mach-au1x00/au1100_mmc.h>
29 #include <asm/mach-au1x00/au1200fb.h>
30 #include <asm/mach-au1x00/au1xxx_dbdma.h>
31 #include <asm/mach-au1x00/au1xxx_psc.h>
32 #include <asm/mach-db1x00/bcsr.h>
33 #include <asm/mach-au1x00/prom.h>
[all …]