Home
last modified time | relevance | path

Searched +full:use +full:- +full:prox (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/input/
Diqs62x-keys.yaml1 # 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 …]
Dazoteq,iqs7222.yaml1 # 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-6.12.1/drivers/hid/
Dwacom_wac.c1 // 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-6.12.1/include/linux/platform_data/
Dtsl2772.h1 /* 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-6.12.1/Documentation/devicetree/bindings/mfd/
Diqs62x.yaml1 # 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-6.12.1/drivers/iio/light/
DKconfig1 # 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
154 Say Y here if you use cm32181.
165 Say Y here if you use cm3232.
195 Say Y here if you use cm36651.
206 Say Y here if you use the light and proximity sensors
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
[all …]
Disl29028.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (c) 2016-2017 Brian Masney <masneyb@onstation.org>
10 * - http://www.intersil.com/content/dam/Intersil/documents/isl2/isl29028.pdf
11 * - http://www.intersil.com/content/dam/Intersil/documents/isl2/isl29030.pdf
106 return -EINVAL; in isl29028_find_prox_sleep_index()
112 struct device *dev = regmap_get_device(chip->regmap); in isl29028_set_proxim_sampling()
120 ret = regmap_update_bits(chip->regmap, ISL29028_REG_CONFIGURE, in isl29028_set_proxim_sampling()
130 chip->prox_sampling_int = sampling_int; in isl29028_set_proxim_sampling()
131 chip->prox_sampling_frac = sampling_fract; in isl29028_set_proxim_sampling()
140 ret = isl29028_set_proxim_sampling(chip, chip->prox_sampling_int, in isl29028_enable_proximity()
[all …]
Dgp2ap002.c1 // SPDX-License-Identifier: GPL-2.0-only
14 * https://lore.kernel.org/lkml/1315556546-7445-1-git-send-email-dg77.kim@samsung.com/
17 * https://lore.kernel.org/linux-input/20190125175045.22576-1-pawel.mikolaj.chmiel@gmail.com/
18 * Based partly on code from the Samsung GT-S7710 by <mjchen@sta.samsung.com>
42 /* ------------------------------------------------------------------------ */
45 /* ------------------------------------------------------------------------ */
46 /* 0 PROX X X X X X X X VO H'00 R */
52 /* ------------------------------------------------------------------------ */
54 /* LED0 :Select switch for LED driver's On-registence(0:2x higher, 1:normal)*/
127 * struct gp2ap002 - GP2AP002 state
[all …]
Dtsl2772.c1 // 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-6.12.1/drivers/platform/chrome/
Dcros_ec_sensorhub.c1 // 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-6.12.1/drivers/input/keyboard/
Diqs62x-keys.c1 // 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-6.12.1/arch/arm64/boot/dts/qcom/
Dmsm8916-huawei-g7.dts1 // 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-6.12.1/drivers/input/misc/
Diqs7222.c1 // 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 …]
Diqs269a.c1 // 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-6.12.1/Documentation/devicetree/bindings/arm/
Dqcom.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
88 bootloader setup and use the open source depthcharge bootloader to boot the
89 OS. These devices use the bootflow explained at
90 https://docs.kernel.org/arch/arm/google/chromebook-boot-flow.html
97 - items:
98 - enum:
99 - qcom,apq8016-sbc
[all …]
/linux-6.12.1/sound/pci/hda/
Dpatch_realtek.c1 // 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_mutex); in coef_mutex_unlock()
209 if (val != -1) in __alc_update_coefex_idx()
229 struct alc_spec *spec = codec->spec; in alc_get_coef0()
231 if (!spec->coef0) in alc_get_coef0()
232 spec->coef0 = alc_read_coef_idx(codec, 0); in alc_get_coef0()
[all …]
/linux-6.12.1/drivers/usb/serial/
Dcp210x.c1 // 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-6.12.1/drivers/input/touchscreen/
Diqs7211.c1 // 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 …]