Home
last modified time | relevance | path

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

1234

/linux-6.12.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 …]
Dst,stmpe.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 bus controllers for various expanded peripherals such as GPIO, keypad,
15 - Linus Walleij <linus.walleij@linaro.org>
18 - $ref: /schemas/spi/spi-peripheral-props.yaml#
23 - st,stmpe601
24 - st,stmpe801
25 - st,stmpe811
26 - st,stmpe1600
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/input/
Dadi,adp5588.yaml1 # 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 …]
Dgpio-matrix-keypad.txt1 * GPIO driven matrix keypad device tree bindings
3 GPIO driven matrix keypad is used to interface a SoC with a matrix keypad.
6 keypad can sense a key-press and key-release by means of GPIO lines and
7 report the event using GPIO interrupts to the cpu.
10 - compatible: Should be "gpio-matrix-keypad"
11 - row-gpios: List of gpios used as row lines. The gpio specifier
12 for this property depends on the gpio controller to
14 - col-gpios: List of gpios used as column lines. The gpio specifier
15 for this property depends on the gpio controller to
17 - linux,keymap: The definition can be found at
[all …]
Datmel,maxtouch.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Nick Dyer <nick@shmanahar.org>
11 - Linus Walleij <linus.walleij@linaro.org>
18 - $ref: input.yaml#
30 vdda-supply:
34 vdd-supply:
38 reset-gpios:
41 Optional GPIO specifier for the touchscreen's reset pin
[all …]
/linux-6.12.1/drivers/input/keyboard/
Dstmpe-keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2010
5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
61 * struct stmpe_keypad_variant - model-specific attributes
63 * auto-increments on multiple read
64 * @set_pullup: whether the pins need to have their pull-ups set
90 .col_gpios = 0x000ff, /* GPIO 0 - 7 */
91 .row_gpios = 0x0ff00, /* GPIO 8 - 15 */
100 .col_gpios = 0x0000ff, /* GPIO 0 - 7*/
101 .row_gpios = 0x1f7f00, /* GPIO 8-14, 16-20 */
[all …]
Dgpio_keys.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for keys on GPIO lines capable of generating interrupts.
26 #include <linux/gpio.h>
27 #include <linux/gpio/consumer.h>
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 */
62 unsigned short *keymap; member
69 * There are 4 attributes under /sys/devices/platform/gpio-keys/
70 * keys [ro] - bitmap of keys (EV_KEY) which can be
[all …]
Dnspire-keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
38 struct matrix_keymap_data *keymap; member
53 struct input_dev *input = keypad->input; in nspire_keypad_irq()
54 unsigned short *keymap = input->keycode; in nspire_keypad_irq() local
61 int_sts = readl(keypad->reg_base + KEYPAD_INT) & keypad->int_mask; in nspire_keypad_irq()
65 memcpy_fromio(state, keypad->reg_base + KEYPAD_DATA, sizeof(state)); in nspire_keypad_irq()
69 if (keypad->active_low) in nspire_keypad_irq()
72 changed = bits ^ keypad->state[row]; in nspire_keypad_irq()
76 keypad->state[row] = bits; in nspire_keypad_irq()
82 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in nspire_keypad_irq()
[all …]
Dsamsung-keypad.c1 // SPDX-License-Identifier: GPL-2.0-or-later
23 #include <linux/input/samsung-keypad.h>
85 for (col = 0; col < keypad->cols; col++) { in samsung_keypad_scan()
86 if (keypad->type == KEYPAD_TYPE_S5PV210) { in samsung_keypad_scan()
94 writel(val, keypad->base + SAMSUNG_KEYIFCOL); in samsung_keypad_scan()
97 val = readl(keypad->base + SAMSUNG_KEYIFROW); in samsung_keypad_scan()
98 row_state[col] = ~val & ((1 << keypad->rows) - 1); in samsung_keypad_scan()
102 writel(0, keypad->base + SAMSUNG_KEYIFCOL); in samsung_keypad_scan()
108 struct input_dev *input_dev = keypad->input_dev; in samsung_keypad_report()
115 for (col = 0; col < keypad->cols; col++) { in samsung_keypad_report()
[all …]
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;
46 unsigned short keymap[]; 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 …]
Dlm8323.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2007-2009 Nokia Corporation
30 #define LM8323_CMD_WRITE_PORT_SEL 0x85 /* Set GPIO in/out. */
31 #define LM8323_CMD_WRITE_PORT_STATE 0x86 /* Set GPIO pullup. */
32 #define LM8323_CMD_READ_PORT_SEL 0x87 /* Get GPIO in/out. */
33 #define LM8323_CMD_READ_PORT_STATE 0x88 /* Get GPIO pullup. */
88 /* Load ramp counter from duty cycle field (range 0 - 0xff). */
142 unsigned short keymap[LM8323_KEYMAP_SIZE]; member
151 #define dev_to_lm8323(d) container_of(d, struct lm8323_chip, client->dev)
171 dev_err(&lm->client->dev, "tried to send %d bytes\n", len); in lm8323_write()
[all …]
/linux-6.12.1/include/linux/input/
Dadp5589.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright 2010-2011 Analog Devices Inc.
12 * ADP5589 specific GPI and Keymap defines
47 #define ADP5589_GPIMAPSIZE_MAX (ADP5589_GPI_PIN_END - ADP5589_GPI_PIN_BASE + 1)
50 * ADP5585 specific GPI and Keymap defines
76 #define ADP5585_GPIMAPSIZE_MAX (ADP5585_GPI_PIN_END - ADP5585_GPI_PIN_BASE + 1)
114 * ---------------- BIT ------------------
131 * ---- BIT -- -----------
150 const unsigned short *keymap; /* Pointer to keymap */ member
151 unsigned short keymapsize; /* Keymap size */
[all …]
/linux-6.12.1/include/linux/mfd/
Dadp5520.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * ADP5520/ADP5501 MFD PMICs (Backlight, LED, GPIO and Keys)
130 * GPIO subdevice bits and masks
171 const unsigned short *keymap; /* Pointer to keymap */ member
172 unsigned short keymapsize; /* Keymap size */
198 u8 fade_in; /* Backlight Fade-In Timer */
199 u8 fade_out; /* Backlight Fade-Out Timer */
254 u8 fade_in; /* Backlight Fade-In Timer */
255 u8 fade_out; /* Backlight Fade-Out Timer */
256 u8 fade_led_law; /* fade-on/fade-off transfer characteristic */
[all …]
/linux-6.12.1/drivers/input/touchscreen/
Dgoodix.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * 2010 - 2012 Goodix Technology.
51 /* Our special handling for GPIO accesses through ACPI is x86 specific */
131 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"),
138 DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X91"),
151 .ident = "Cube I15-TC",
154 DMI_MATCH(DMI_PRODUCT_NAME, "I15-TC")
162 * goodix_i2c_read - read data from a register of the i2c slave device.
176 msgs[0].addr = client->addr; in goodix_i2c_read()
181 msgs[1].addr = client->addr; in goodix_i2c_read()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/mediatek/
Dmt8186-corsola-voltorb.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/spmi/spmi.h>
9 #include "mt8186-corsola-steelix.dtsi"
12 chassis-type = "laptop";
16 sdmode-gpios = <&pio 150 GPIO_ACTIVE_HIGH>;
17 #sound-dai-cells = <0>;
22 proc-supply = <&mt6319_buck1>;
26 proc-supply = <&mt6319_buck1>;
34 linux,keymap = <
[all …]
Dmt8186-corsola-steelix.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
7 #include "mt8186-corsola.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
12 pp1000_edpbrdg: regulator-pp1000-edpbrdg {
13 compatible = "regulator-fixed";
14 regulator-name = "pp1000_edpbrdg";
15 pinctrl-names = "default";
16 pinctrl-0 = <&en_pp1000_edpbrdg>;
[all …]
/linux-6.12.1/drivers/input/misc/
Dcm109.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2007 - 2008 Alfred E. Heggestad <aeh@db.org>
10 * - Komunikate KIP1000
11 * - Genius G-talk
12 * - Allied-Telesis Corega USBPH01
13 * - ...
18 * - Authors of yealink.c
19 * - Thomas Reitmayr
20 * - Oliver Neukum for good review comments and code
21 * - Shaun Jackman <sjackman@gmail.com> for Genius G-talk keymap
[all …]
/linux-6.12.1/arch/arm/boot/dts/nxp/lpc/
Dlpc3250-phy3250.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * PHYTEC phyCORE-LPC3250 board
5 * Copyright (C) 2015-2019 Vladimir Zapolskiy <vz@mleia.com>
9 /dts-v1/;
13 model = "PHYTEC phyCORE-LPC3250 board based on NXP LPC3250";
22 compatible = "gpio-leds";
25 gpios = <&gpio 5 1 0>; /* GPO_P3 1, GPIO 80, active high */
26 default-state = "off";
30 gpios = <&gpio 5 14 0>; /* GPO_P3 14, GPIO 93, active high */
31 linux,default-trigger = "heartbeat";
[all …]
/linux-6.12.1/arch/arm/boot/dts/st/
Dste-href-stuib.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson AB
6 #include <dt-bindings/interrupt-controller/irq.h>
10 compatible = "gpio-keys";
11 #address-cells = <1>;
12 #size-cells = <0>;
13 vdd-supply = <&ab8500_ldo_aux1_reg>;
14 pinctrl-names = "default";
15 pinctrl-0 = <&prox_stuib_mode>, <&hall_stuib_mode>;
33 stmpe1601: port-expander@40 {
[all …]
Dspear300-evb.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
13 compatible = "st,spear300-evb", "st,spear300";
14 #address-cells = <1>;
15 #size-cells = <1>;
23 st,pinmux-mode = <2>;
24 pinctrl-names = "default";
25 pinctrl-0 = <&state_default>;
77 cd-gpios = <&gpio1 0 0>;
83 clock-rate = <50000000>;
[all …]
Dste-nomadik-nhk15.dts1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include "ste-nomadik-stn8815.dtsi"
13 compatible = "st,nomadik-nhk-15";
22 stmpe-i2c0 = &stmpe0;
23 stmpe-i2c1 = &stmpe1;
71 disable-sxtalo;
72 disable-mxtalo;
[all …]
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Domap3-evm-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/input/input.h>
7 #include "omap-gpmc-smsc911x.dtsi"
12 cpu0-supply = <&vcc>;
18 compatible = "regulator-fixed";
19 regulator-name = "hsusb2_vbus";
20 regulator-min-microvolt = <3300000>;
21 regulator-max-microvolt = <3300000>;
22 gpio = <&gpio1 22 GPIO_ACTIVE_HIGH>; /* gpio_22 */
23 startup-delay-us = <70000>;
[all …]
Domap4-droid4-xt894.dts1 // SPDX-License-Identifier: GPL-2.0-only
2 /dts-v1/;
4 #include "motorola-mapphone-xt8xx.dtsi"
11 stdout-path = &uart3;
20 compatible = "gpio-keys";
26 linux,can-disable;
27 /* Value above 7.95ms for no GPIO hardware debounce */
28 debounce-interval = <10>;
33 * of the gpio interrupt to avoid lost events in deeper idle states.
37 interrupts-extended = <&omap4_pmx_core 0xd6>;
[all …]
Domap3-n9.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * omap3-n9.dts - Device Tree file for Nokia N9
8 /dts-v1/;
10 #include "omap3-n950-n9.dtsi"
11 #include <dt-bindings/input/input.h>
15 compatible = "nokia,omap3-n9", "ti,omap3630", "ti,omap3";
22 /* No reset gpio */
23 vana-supply = <&vaux3>;
25 clock-frequency = <9600000>;
26 flash-leds = <&as3645a_flash &as3645a_indicator>;
[all …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor-kingoftown.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "sc7180-trogdor.dtsi"
11 #include "sc7180-trogdor-parade-ps8640.dtsi"
12 #include "sc7180-trogdor-clamshell.dtsi"
13 #include "sc7180-trogdor-lte-sku.dtsi"
14 #include "sc7180-trogdor-rt5682s-sku.dtsi"
27 clock-frequency = <400000>;
32 pinctrl-names = "default";
33 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;
[all …]

1234