Home
last modified time | relevance | path

Searched +full:input +full:- +full:debounce (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/Linux-v6.1/Documentation/devicetree/bindings/gpio/
Dgpio-eic-sprd.txt4 be used only in input mode. The Spreadtrum platform has 2 EIC controllers,
6 controller contains 4 sub-modules: EIC-debounce, EIC-latch, EIC-async and
7 EIC-sync. But the PMIC EIC controller contains only one EIC-debounce sub-
10 The EIC-debounce sub-module provides up to 8 source input signal
11 connections. A debounce mechanism is used to capture the input signals'
12 stable status (millisecond resolution) and a single-trigger mechanism
13 is introduced into this sub-module to enhance the input event detection
14 reliability. In addition, this sub-module's clock can be shut off
15 automatically to reduce power dissipation. Moreover the debounce range
16 is from 1ms to 4s with a step size of 1ms. The input signal will be
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/input/
Dbrcm,bcm-keypad.txt3 Broadcom Keypad controller is used to interface a SoC with a matrix-type
6 The keypad controller can sense a key-press and key-release and report the
9 This binding is based on the matrix-keymap binding with the following
12 keypad,num-rows and keypad,num-columns are required.
15 - compatible: should be "brcm,bcm-keypad"
17 - reg: physical base address of the controller and length of memory mapped
20 - interrupts: The interrupt number to the cpu.
23 - keypad,num-rows: Number of row lines connected to the keypad
26 - keypad,num-columns: Number of column lines connected to the
29 - col-debounce-filter-period: The debounce period for the Column filter.
[all …]
Dlpc32xx-key.txt3 This binding is based on the matrix-keymap binding with the following
7 - compatible: Should be "nxp,lpc3220-key"
8 - reg: Physical base address of the controller and length of memory mapped
10 - interrupts: The interrupt number to the cpu.
11 - clocks: phandle to clock controller plus clock-specifier pair
12 - nxp,debounce-delay-ms: Debounce delay in ms
13 - nxp,scan-delay-ms: Repeated scan period in ms
14 - linux,keymap: the key-code to be reported when the key is pressed
16 Documentation/devicetree/bindings/input/matrix-keymap.txt
18 Note: keypad,num-rows and keypad,num-columns are required, and must be equal
[all …]
Dqcom,pm8xxx-keypad.txt5 - compatible:
9 "qcom,pm8058-keypad"
10 "qcom,pm8921-keypad"
12 - reg:
14 Value type: <prop-encoded-array>
17 - interrupts:
19 Value type: <prop-encoded-array>
25 - linux,keymap:
27 Value type: <prop-encoded-array>
29 input/matrix-keymap.txt.
[all …]
Dgpio-matrix-keypad.txt6 keypad can sense a key-press and key-release by means of GPIO lines and
10 - compatible: Should be "gpio-matrix-keypad"
11 - row-gpios: List of gpios used as row lines. The gpio specifier
14 - col-gpios: List of gpios used as column lines. The gpio specifier
17 - linux,keymap: The definition can be found at
18 bindings/input/matrix-keymap.txt
21 - linux,no-autorepeat: do no enable autorepeat feature.
22 - wakeup-source: use any event on keypad as wakeup event.
24 - debounce-delay-ms: debounce interval in milliseconds
25 - col-scan-delay-us: delay, measured in microseconds, that is needed
[all …]
/Linux-v6.1/arch/arm64/boot/dts/qcom/
Dmsm8998-fxtec-pro1.dts1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
20 chassis-type = "handset";
21 qcom,board-id = <0x02000b 0x10>;
29 * Until we hook up type-c detection, we
32 extcon_usb: extcon-usb {
33 compatible = "linux,extcon-usb-gpio";
[all …]
/Linux-v6.1/drivers/input/keyboard/
Dmt6779-keypad.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/input.h>
9 #include <linux/input/matrix_keypad.h>
16 #define MTK_KPD_NAME "mt6779-keypad"
51 const unsigned short *keycode = keypad->input_dev->keycode; in mt6779_keypad_irq_handler()
57 unsigned int row_shift = get_count_order(keypad->n_cols); in mt6779_keypad_irq_handler()
60 regmap_bulk_read(keypad->regmap, MTK_KPD_MEM, in mt6779_keypad_irq_handler()
63 bitmap_xor(change, new_state, keypad->keymap_state, MTK_KPD_NUM_BITS); in mt6779_keypad_irq_handler()
74 keypad->calc_row_col(key, &row, &col); in mt6779_keypad_irq_handler()
79 dev_dbg(&keypad->input_dev->dev, "%s", in mt6779_keypad_irq_handler()
[all …]
Dbcm-keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/input.h>
9 #include <linux/input/matrix_keypad.h>
65 /* Structure representing various run-time entities */
82 * Returns the keycode from the input device keymap given the row and
87 unsigned int row_shift = get_count_order(kp->n_cols); in bcm_kp_get_keycode()
88 unsigned short *keymap = kp->input_dev->keycode; in bcm_kp_get_keycode()
102 writel(0xFFFFFFFF, kp->base + KPICRN_OFFSET(reg_num)); in bcm_kp_report_keys()
104 state = readl(kp->base + KPSSRN_OFFSET(reg_num)); in bcm_kp_report_keys()
105 change = kp->last_state[reg_num] ^ state; in bcm_kp_report_keys()
[all …]
Dlpc32xx-keys.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 #include <linux/input.h>
25 #include <linux/input/matrix_keypad.h>
57 struct input_dev *input; member
63 u32 deb_clks; /* Debounce clocks (based on 32KHz clock) */
74 struct input_dev *input = kscandat->input; in lpc32xx_mod_states() local
78 key = readl(LPC32XX_KS_DATA(kscandat->kscan_base, col)); in lpc32xx_mod_states()
79 changed = key ^ kscandat->lastkeystates[col]; in lpc32xx_mod_states()
80 kscandat->lastkeystates[col] = key; in lpc32xx_mod_states()
86 kscandat->row_shift); in lpc32xx_mod_states()
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dr8a7792-blanche.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
25 stdout-path = "serial0:115200n8";
33 d3_3v: regulator-3v3 {
34 compatible = "regulator-fixed";
35 regulator-name = "D3.3V";
36 regulator-min-microvolt = <3300000>;
37 regulator-max-microvolt = <3300000>;
[all …]
Demev2-kzm9d.dts1 // SPDX-License-Identifier: GPL-2.0
7 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
29 stdout-path = "serial1:115200n8";
33 compatible = "gpio-keys";
35 debounce-interval = <50>;
36 wakeup-source;
37 label = "DSW2-1";
[all …]
Dr8a7793-gose.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2014-2015 Renesas Electronics Corporation
9 * SSI-AK4643
36 /dts-v1/;
38 #include <dt-bindings/gpio/gpio.h>
39 #include <dt-bindings/input/input.h>
59 stdout-path = "serial0:115200n8";
68 compatible = "gpio-keys";
70 pinctrl-0 = <&keyboard_pins>;
71 pinctrl-names = "default";
[all …]
Dr8a7791-koelsch.dts1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2013-2014 Renesas Solutions Corp.
11 * SSI-AK4643
38 /dts-v1/;
40 #include <dt-bindings/gpio/gpio.h>
41 #include <dt-bindings/input/input.h>
63 stdout-path = "serial0:115200n8";
77 #address-cells = <1>;
78 #size-cells = <1>;
82 compatible = "gpio-keys";
[all …]
Dr8a7794-silk.dts1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2014-2015 Renesas Solutions Corp.
7 * Copyright (C) 2014-2015 Cogent Embedded, Inc.
11 * SSI-AK4643
13 * SW1: 2-1: AK4643
14 * 2-3: ADV7511
21 /dts-v1/;
23 #include <dt-bindings/gpio/gpio.h>
24 #include <dt-bindings/input/input.h>
40 stdout-path = "serial0:115200n8";
[all …]
Dimx6q-var-dt6customboard.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Support for Variscite DART-MX6 Carrier-board
9 /dts-v1/;
12 #include "imx6qdl-var-dart.dtsi"
13 #include <dt-bindings/input/linux-event-codes.h>
16 model = "Variscite DART-MX6 Carrier-board";
20 compatible = "pwm-backlight";
22 brightness-levels = <0 4 8 16 32 64 128 248>;
23 default-brightness-level = <7>;
27 gpio-keys {
[all …]
Dqcom-ipq8064-v1.0.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-ipq8064.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
7 model = "Qualcomm Technologies, Inc. IPQ8064-v1.0";
14 stdout-path = "serial0:115200n8";
33 spi-max-frequency = <50000000>;
35 pinctrl-0 = <&spi_pins>;
36 pinctrl-names = "default";
38 cs-gpios = <&qcom_pinmux 20 0>;
[all …]
Darmada-370-seagate-personal-cloud.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree common file for the Seagate Personal Cloud NAS 1 and 2-Bay
15 #include "armada-370.dtsi"
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/input/input.h>
21 stdout-path = "serial0:115200n8";
33 internal-regs {
34 coherency-fabric@20200 {
35 broken-idle;
44 pinctrl-0 = <&ge1_rgmii_pins>;
[all …]
/Linux-v6.1/drivers/input/touchscreen/
Dts4800-ts.c2 * Touchscreen driver for the TS-4800 board
4 * Copyright (c) 2015 - Savoir-faire Linux
12 #include <linux/input.h>
26 /* sensor values are 12-bit wide */
27 #define MAX_12BIT ((1 << 12) - 1)
35 struct input_dev *input; member
45 int debounce; member
53 ts->pendown = false; in ts4800_ts_open()
54 ts->debounce = DEBOUNCE_COUNT; in ts4800_ts_open()
56 error = regmap_update_bits(ts->regmap, ts->reg, ts->bit, ts->bit); in ts4800_ts_open()
[all …]
Dmk712.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 1999-2002 Transmeta Corporation
16 * https://www.idt.com/general-parts/mk712-touch-screen-controller
20 * 1999-12-18: original version, Daniel Quinlan
21 * 1999-12-19: added anti-jitter code, report pen-up events, fixed mk712_poll
23 * 1999-12-20: improved random point rejection, Nathan Laredo
24 * 2000-01-05: checked in new anti-jitter code, changed mouse protocol, fixed
26 * 2002-03-15: Clean up for kernel merge <alan@redhat.com>
29 * 2005-01-18: Ported to 2.6 from 2.4.28, Rick Koch
30 * 2005-02-05: Rewritten for the input layer, Vojtech Pavlik
[all …]
/Linux-v6.1/drivers/input/misc/
Dpm8941-pwrkey.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2010-2011, 2020-2021, The Linux Foundation. All rights reserved.
9 #include <linux/input.h>
71 struct input_dev *input; member
94 if (pwrkey->revision == 0) in pm8941_reboot_notify()
99 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify()
100 pwrkey->baseaddr + enable_reg, in pm8941_reboot_notify()
104 dev_err(pwrkey->dev, in pm8941_reboot_notify()
128 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify()
129 pwrkey->baseaddr + PON_PS_HOLD_RST_CTL, in pm8941_reboot_notify()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Dtc3589x.txt1 * Toshiba TC3589x multi-purpose expander
3 The Toshiba TC3589x series are I2C-based MFD devices which may expose the
4 following built-in devices: gpio, keypad, rotator (vibrator), PWM (for
7 - TC35890
8 - TC35892
9 - TC35893
10 - TC35894
11 - TC35895
12 - TC35896
15 - compatible : must be "toshiba,tc35890", "toshiba,tc35892", "toshiba,tc35893",
[all …]
/Linux-v6.1/drivers/gpio/
Dgpio-eic-sprd.c1 // SPDX-License-Identifier: GPL-2.0
53 * The digital-chip EIC controller can support maximum 3 banks, and each bank
59 #define SPRD_EIC_BIT(x) ((x) & (SPRD_EIC_PER_BANK_NR - 1))
64 * input mode to generate interrupts if detecting input signals.
66 * The Spreadtrum digital-chip EIC controller contains 4 sub-modules:
67 * debounce EIC, latch EIC, async EIC and sync EIC,
69 * The debounce EIC is used to capture the input signals' stable status
70 * (millisecond resolution) and a single-trigger mechanism is introduced
71 * into this sub-module to enhance the input event detection reliability.
72 * The debounce range is from 1ms to 4s with a step size of 1ms.
[all …]
/Linux-v6.1/include/linux/platform_data/
Dadau17x1.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright 2011-2014 Analog Devices Inc.
6 * Author: Lars-Peter Clausen <lars@metafoo.de>
13 * enum adau17x1_micbias_voltage - Microphone bias voltage
23 * enum adau1761_digmic_jackdet_pin_mode - Configuration of the JACKDET/MICIN pin
26 * digital microphone input.
37 * adau1761_jackdetect_debounce_time - Jack insertion detection debounce time
51 * enum adau1761_output_mode - Output mode configuration
63 * struct adau1761_platform_data - ADAU1761 Codec driver platform data
64 * @input_differential: If true the input pins will be configured in
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/
Dpincfg-node.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/pincfg-node.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
21 bias-disable:
25 bias-high-impedance:
27 description: high impedance mode ("third-state", "floating")
29 bias-bus-hold:
33 bias-pull-up:
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/auxdisplay/
Dholtek,ht16k33.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Robin van der Gracht <robin@protonic.nl>
13 - $ref: "/schemas/input/matrix-keymap.yaml#"
18 - items:
19 - enum:
20 - adafruit,3108 # 0.56" 4-Digit 7-Segment FeatherWing Display (Red)
21 - adafruit,3130 # 0.54" Quad Alphanumeric FeatherWing Display (Red)
22 - const: holtek,ht16k33
[all …]

12345678910>>...14