| /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 …]
|
| /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/include/linux/platform_data/ |
| H A D | tsl2772.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 4 * and proximity (prox) within the TAOS TSL2772 family of devices. 7 * Copyright (c) 2017-2018 Brian Masney <masneyb@onstation.org> 25 /* Proximity diode to use */ 37 * struct tsl2772_settings - Settings for the tsl2772 driver 40 * (256 - als_time) * 2.73. 47 * (256 - prx_time) * 2.73. 64 * @prox_diode Which diode(s) to use for driving the external 66 * @prox_power The amount of power to use for the external LED(s). 92 * struct tsl2772_platform_data - Platform callback, glass and defaults
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | iqs62x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS620A/621/622/624/625 Multi-Function Sensors 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors 21 - azoteq,iqs620a 22 - azoteq,iqs621 23 - azoteq,iqs622 24 - azoteq,iqs624 [all …]
|
| /linux/drivers/platform/chrome/ |
| H A D | cros_ec_sensorhub.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #define DRV_NAME "cros-ec-sensorhub" 56 struct cros_ec_command *msg = sensorhub->msg; in cros_ec_sensorhub_register() 57 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_register() 62 msg->version = 1; in cros_ec_sensorhub_register() 63 msg->insize = sizeof(struct ec_response_motion_sense); in cros_ec_sensorhub_register() 64 msg->outsize = sizeof(struct ec_params_motion_sense); in cros_ec_sensorhub_register() 66 for (i = 0; i < sensorhub->sensor_num; i++) { in cros_ec_sensorhub_register() 67 sensorhub->params->cmd = MOTIONSENSE_CMD_INFO; in cros_ec_sensorhub_register() 68 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/arch/arm64/boot/dts/qcom/ |
| H A D | msm8916-huawei-g7.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include "msm8916-pm8916.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/sound/apq8016-lpass.h> 16 * Note: The original firmware from Huawei can only boot 32-bit kernels. 17 * To boot this device tree using arm64 it is necessary to flash 64-bit TZ/HYP [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 | 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/drivers/iio/light/ |
| H A D | tsl2772.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * detection (prox) within the TAOS TSL2571, TSL2671, TMD2671, TSL2771, TMD2771, 8 * Copyright (c) 2017-2018 Brian Masney <masneyb@onstation.org> 41 * TAOS Register definitions - Note: depending on device, some of these register 145 /* Per-device data */ 326 ret = i2c_smbus_read_byte_data(chip->client, in tsl2772_read_status() 329 dev_err(&chip->client->dev, in tsl2772_read_status() 340 ret = i2c_smbus_write_byte_data(chip->client, in tsl2772_write_control_reg() 343 dev_err(&chip->client->dev, in tsl2772_write_control_reg() 357 ret = i2c_smbus_write_byte(chip->client, in tsl2772_read_autoinc_regs() [all …]
|
| /linux/sound/hda/codecs/realtek/ |
| H A D | alc269.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 /* different alc269-variants */ 55 struct alc_spec *spec = codec->spec; in alc269_parse_auto_config() 58 switch (spec->codec_variant) { in alc269_parse_auto_config() 106 if (jack->unsol_res & (7 << 13)) in alc_headset_btn_callback() 109 if (jack->unsol_res & (1 << 16 | 3 << 8)) in alc_headset_btn_callback() 113 if (jack->unsol_res & (7 << 23)) in alc_headset_btn_callback() 117 if (jack->unsol_res & (7 << 10)) in alc_headset_btn_callback() 120 snd_hda_jack_set_button_state(codec, jack->nid, report); in alc_headset_btn_callback() 125 struct alc_spec *spec = codec->spec; in alc_disable_headset_jack_key() [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/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 …]
|