/linux/Documentation/devicetree/bindings/input/ |
H A D | iqs62x-keys.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/iqs62x-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 - $ref: input.yaml# 16 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors 17 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens- 23 further details and examples. Sensor hardware configuration (self-capacitive 24 vs. mutual-inductive, etc.) is selected based on the device's firmware. [all …]
|
H A D | azoteq,iqs7222.yaml | 1 # 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> 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d 29 irq-gpios: 32 Specifies the GPIO connected to the device's active-low RDY output. [all …]
|
H A D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 - $ref: input.yaml# 16 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 17 additional Hall-effect and inductive sensing capabilities. 24 - azoteq,iqs269a 25 - azoteq,iqs269a-00 26 - azoteq,iqs269a-d0 [all …]
|
H A D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": 37 azoteq,suspend-mode: [all …]
|
/linux/drivers/hid/ |
H A D | wacom_wac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * USB Wacom tablet support - Wacom specific code 25 * 2^14/pi is a good approximation on Intuos5 and 3rd-gen Bamboo 43 struct input_dev *input = wacom_wac->pen_input; in wacom_force_proxout() 45 wacom_wac->shared->stylus_in_proximity = 0; in wacom_force_proxout() 51 input_report_key(input, wacom_wac->tool[0], 0); in wacom_force_proxout() 52 if (wacom_wac->serial[0]) { in wacom_force_proxout() 57 wacom_wac->tool[0] = 0; in wacom_force_proxout() 58 wacom_wac->id[0] = 0; in wacom_force_proxout() 59 wacom_wac->serial[0] = 0; in wacom_force_proxout() [all …]
|
/linux/drivers/input/tablet/ |
H A D | acecad.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2001-2005 Edouard TISSERANT <edouard.tisserant@wanadoo.fr> 4 * Copyright (c) 2004-2005 Stephane VOLTZ <svoltz@numericable.fr> 9 * v3.2 - Added sysfs support 38 struct usb_acecad *acecad = urb->context; in usb_acecad_irq() 39 unsigned char *data = acecad->data; in usb_acecad_irq() 40 struct input_dev *dev = acecad->input; in usb_acecad_irq() 41 struct usb_interface *intf = acecad->intf; in usb_acecad_irq() 43 int prox, status; in usb_acecad_irq() local 45 switch (urb->status) { in usb_acecad_irq() [all …]
|
/linux/drivers/iio/light/ |
H A D | hid-sensor-prox.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/hid-sensor-hub.h> 14 #include "../common/hid-sensors/hid-sensor-trigger.h" 97 if (chan->scan_index >= prox_state->num_channels) in prox_read_raw() 98 return -EINVAL; in prox_read_raw() 99 address = prox_state->channel2usage[chan->scan_index]; in prox_read_raw() 100 report_id = prox_state->prox_attr[chan->scan_index].report_id; in prox_read_raw() 101 hsdev = prox_state->common_attributes.hsdev; in prox_read_raw() 102 min = prox_state->prox_attr[chan->scan_index].logical_minimum; in prox_read_raw() 103 hid_sensor_power_state(&prox_state->common_attributes, true); in prox_read_raw() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 be called acpi-als. 24 tristate "ADJD-S311-CR999 digital color sensor" 29 If you say yes here you get support for the Avago ADJD-S311-CR999 217 Say Y here if you have a Sharp GP2AP002 proximity/ALS combo-chip 231 Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip 245 will be called iqs621-als. 306 module will be called hid-sensor-als. 313 tristate "HID PROX" 319 module will be called hid-sensor-prox. [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8939-huawei-kiwi.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8939-pm8916.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 11 chassis-type = "handset"; 20 stdout-path = "serial0"; 23 reserved-memory { 26 no-map; 30 gpio-hall-sensor { 31 compatible = "gpio-keys"; [all …]
|
/linux/drivers/hid/bpf/progs/ |
H A D | XPPen__Artist24.bpf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 * - the device reports Eraser instead of using Secondary Barrel Switch 22 * - the pen doesn't have a rubber tail, so basically we are removing any 54 0x55, 0x0d, // Unit Exponent (-3) 55 68 0x15, 0x81, // Logical Minimum (-127) 87 74 0x15, 0x81, // Logical Minimum (-127) 99 108 * There are a few cases where the device is sending wrong event 113 * out-of-proximity event is generated and then the firmware 117 * - if the pen is in range, an extra out-of-range is sent 132 * a few out-of-prox events generated, but the user doesn´t [all …]
|
/linux/drivers/platform/chrome/ |
H A D | cros_ec_sensorhub.c | 1 // SPDX-License-Identifier: GPL-2.0 20 #define DRV_NAME "cros-ec-sensorhub" 54 struct cros_ec_command *msg = sensorhub->msg; in cros_ec_sensorhub_register() 55 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_register() 60 msg->version = 1; in cros_ec_sensorhub_register() 61 msg->insize = sizeof(struct ec_response_motion_sense); in cros_ec_sensorhub_register() 62 msg->outsize = sizeof(struct ec_params_motion_sense); in cros_ec_sensorhub_register() 64 for (i = 0; i < sensorhub->sensor_num; i++) { in cros_ec_sensorhub_register() 65 sensorhub->params->cmd = MOTIONSENSE_CMD_INFO; in cros_ec_sensorhub_register() 66 sensorhub->params->info.sensor_num = i; in cros_ec_sensorhub_register() [all …]
|
/linux/drivers/input/keyboard/ |
H A D | iqs62x-keys.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 [IQS62X_SW_HALL_N] = "hall-switch-north", 26 [IQS62X_SW_HALL_S] = "hall-switch-south", 51 ret = device_property_count_u32(&pdev->dev, "linux,keycodes"); in iqs62x_keys_parse_prop() 53 dev_err(&pdev->dev, "Too many keycodes present\n"); in iqs62x_keys_parse_prop() 54 return -EINVAL; in iqs62x_keys_parse_prop() 56 dev_err(&pdev->dev, "Failed to count keycodes: %d\n", ret); in iqs62x_keys_parse_prop() 59 iqs62x_keys->keycodemax = ret; in iqs62x_keys_parse_prop() 61 ret = device_property_read_u32_array(&pdev->dev, "linux,keycodes", in iqs62x_keys_parse_prop() 62 iqs62x_keys->keycode, in iqs62x_keys_parse_prop() [all …]
|
/linux/drivers/input/misc/ |
H A D | iqs7222.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 116 [IQS7222_REG_GRP_CYCLE] = "cycle-%d", 117 [IQS7222_REG_GRP_CHAN] = "channel-%d", 118 [IQS7222_REG_GRP_SLDR] = "slider-%d", 120 [IQS7222_REG_GRP_GPIO] = "gpio-%d", 150 .name = "event-prox", 155 .name = "event-touch", 162 { .name = "event-press", }, 164 .name = "event-tap", 171 .name = "event-swipe-pos", [all …]
|
H A D | iqs626a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * inductive keys as well as Hall-effect switches, and one for a trackpad that 227 .name = "event-prox", 233 .name = "event-prox-alt", 240 .name = "event-touch", 246 .name = "event-touch-alt", 253 .name = "event-deep", 259 .name = "event-deep-alt", 367 .name = "ulp-0", 378 .name = "trackpad-3x2", [all …]
|
H A D | iqs269a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * inductive keys as well as Hall-effect switches, and one for each of the two 225 .name = "event-prox", 231 .name = "event-prox-alt", 238 .name = "event-touch", 244 .name = "event-touch-alt", 251 .name = "event-deep", 257 .name = "event-deep-alt", 339 * Slider 1 is unavailable if the touch-and-hold option is enabled via in iqs269_slider_type() 341 * the touch-and-hold timer ceiling. in iqs269_slider_type() [all …]
|
/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | azoteq,iqs7211.yaml | 1 # 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/drivers/input/touchscreen/ |
H A D | iqs7211.c | 1 // 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/usb/serial/ |
H A D | cp210x.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2010-2021 Johan Hovold (johan@kernel.org) 10 * control thanks to Munir Nassar nassarmu@real-time.com 55 { USB_DEVICE(0x045B, 0x0053) }, /* Renesas RX610 RX-Stick */ 56 { USB_DEVICE(0x0471, 0x066A) }, /* AKTAKOM ACE-1001 cable */ 57 { USB_DEVICE(0x0489, 0xE000) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ 58 { USB_DEVICE(0x0489, 0xE003) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ 59 { USB_DEVICE(0x04BF, 0x1301) }, /* TDK Corporation NC0110013M - Network Controller */ 60 { USB_DEVICE(0x04BF, 0x1303) }, /* TDK Corporation MM0110113M - i3 Micro Module */ 63 { USB_DEVICE(0x08e6, 0x5501) }, /* Gemalto Prox-PU/CU contactless smartcard reader */ [all …]
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | test_tablet.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 22 """Represents whether the BTN_TOUCH event is set to True or False""" 43 https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-pen-states 66 def from_evdev(cls, evdev, test_button) -> "PenState": 99 ) -> "PenState": 101 raise ValueError("EV_SYN is in the event sequence") 146 def valid_transitions(self) -> Tuple["PenState", ...]: 206 def historically_tolerated_transitions(self) -> Tuple["PenState", ...]: 208 for skipping the in-range state, due to historical reasons. [all …]
|
/linux/sound/pci/hda/ |
H A D | patch_realtek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 38 /* extra amp-initialization sequence types */ 147 struct alc_spec *spec = codec->spec; in coef_mutex_lock() 150 mutex_lock(&spec->coef_mutex); in coef_mutex_lock() 155 struct alc_spec *spec = codec->spec; in coef_mutex_unlock() 157 mutex_unlock(&spec->coef_mute in coef_mutex_unlock() 4933 gpio2_mic_hotkey_event(struct hda_codec * codec,struct hda_jack_callback * event) gpio2_mic_hotkey_event() argument 6951 comp_acpi_device_notify(acpi_handle handle,u32 event,void * data) comp_acpi_device_notify() argument [all...] |