Home
last modified time | relevance | path

Searched +full:mpr121 +full:- +full:touchkey (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Dfsl,mpr121-touchkey.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/fsl,mpr121-touchkey.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale MPR121 capacitive touch sensor controller
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
13 The MPR121 supports up to 12 completely independent electrodes/capacitance
15 https://www.nxp.com/docs/en/data-sheet/MPR121.pdf
18 - $ref: input.yaml#
21 - required: [ interrupts ]
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/input/
Dmpr121-touchkey.txt1 * Freescale MPR121 Controllor
4 - compatible: Should be "fsl,mpr121-touchkey"
5 - reg: The I2C slave address of the device.
6 - interrupts: The interrupt number to the cpu.
7 - vdd-supply: Phandle to the Vdd power supply.
8 - linux,keycodes: Specifies an array of numeric keycode values to
13 - wakeup-source: Use any event on keypad as wakeup event.
14 - autorepeat: Enable autorepeat feature.
18 #include "dt-bindings/input/input.h"
20 touchkey: mpr121@5a {
[all …]
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dmpr121_touchkey.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Touchkey driver for Freescale MPR121 Controllor
54 /* MPR121 has 12 keys */
123 struct mpr121_touchkey *mpr121 = input_get_drvdata(dev); in mpr_touchkey_report() local
124 struct input_dev *input = mpr121->input_dev; in mpr_touchkey_report()
125 struct i2c_client *client = mpr121->client; in mpr_touchkey_report()
132 dev_err(&client->dev, "i2c read error [%d]\n", reg); in mpr_touchkey_report()
139 dev_err(&client->dev, "i2c read error [%d]\n", reg); in mpr_touchkey_report()
145 bit_changed = reg ^ mpr121->statusbits; in mpr_touchkey_report()
146 mpr121->statusbits = reg; in mpr_touchkey_report()
[all …]
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).
148 in the left-hand column will be interpreted as the corresponding key
149 in the right-hand column.
[all …]
/kernel/linux/linux-4.19/drivers/input/keyboard/
Dmpr121_touchkey.c2 * Touchkey driver for Freescale MPR121 Controllor
58 /* MPR121 has 12 keys */
124 struct mpr121_touchkey *mpr121 = dev_id; in mpr_touchkey_interrupt() local
125 struct i2c_client *client = mpr121->client; in mpr_touchkey_interrupt()
126 struct input_dev *input = mpr121->input_dev; in mpr_touchkey_interrupt()
133 dev_err(&client->dev, "i2c read error [%d]\n", reg); in mpr_touchkey_interrupt()
140 dev_err(&client->dev, "i2c read error [%d]\n", reg); in mpr_touchkey_interrupt()
146 bit_changed = reg ^ mpr121->statusbits; in mpr_touchkey_interrupt()
147 mpr121->statusbits = reg; in mpr_touchkey_interrupt()
148 for_each_set_bit(key_num, &bit_changed, mpr121->keycount) { in mpr_touchkey_interrupt()
[all …]
DKconfig24 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.
107 Say Y here if you have a PA-RISC machine and want to use an AT or
109 PA-RISC keyboards.
119 built-in keyboard (as opposed to an external keyboard).
133 in the left-hand column will be interpreted as the corresponding key
134 in the right-hand column.
137 right-hand column will be interpreted as the key shown in the
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dimx53-smd.dts1 // SPDX-License-Identifier: GPL-2.0+
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
12 compatible = "fsl,imx53-smd", "fsl,imx53";
19 gpio-keys {
20 compatible = "gpio-keys";
22 volume-up {
28 volume-down {
37 pinctrl-names = "default";
38 pinctrl-0 = <&pinctrl_esdhc1>;
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx53-smd.dts1 // SPDX-License-Identifier: GPL-2.0+
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
12 compatible = "fsl,imx53-smd", "fsl,imx53";
19 gpio-keys {
20 compatible = "gpio-keys";
22 volume-up {
28 volume-down {
37 pinctrl-names = "default";
38 pinctrl-0 = <&pinctrl_esdhc1>;
[all …]
Dimx6dl-yapp4-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2015-2018 Y Soft Corporation, a.s.
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/pwm/pwm.h>
18 compatible = "pwm-backlight";
20 brightness-levels = <0 32 64 128 255>;
21 default-brightness-level = <32>;
[all …]