Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors
14 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens-
20 further details and examples. Sensor hardware configuration (self-capacitive
21 vs. mutual-inductive, etc.) is selected based on the device's firmware.
26 - azoteq,iqs620a-keys
[all …]
/kernel/linux/linux-5.10/drivers/hid/
Dwacom_wac.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * USB Wacom tablet support - Wacom specific code
29 * 2^14/pi is a good approximation on Intuos5 and 3rd-gen Bamboo
60 bool changed = battery->bat_status != bat_status || in __wacom_notify_battery()
61 battery->battery_capacity != bat_capacity || in __wacom_notify_battery()
62 battery->bat_charging != bat_charging || in __wacom_notify_battery()
63 battery->bat_connected != bat_connected || in __wacom_notify_battery()
64 battery->ps_connected != ps_connected; in __wacom_notify_battery()
67 battery->bat_status = bat_status; in __wacom_notify_battery()
68 battery->battery_capacity = bat_capacity; in __wacom_notify_battery()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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
128 Say Y here if you use cm32181.
139 Say Y here if you use cm3232.
170 Say Y here if you use cm36651.
181 Say Y here if you use the light and proximity sensors
192 Say Y here if you have a Sharp GP2AP002 proximity/ALS combo-chip
206 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>
39 * TAOS Register definitions - Note: depending on device, some of these register
143 /* Per-device data */
324 ret = i2c_smbus_read_byte_data(chip->client, in tsl2772_read_status()
327 dev_err(&chip->client->dev, in tsl2772_read_status()
338 ret = i2c_smbus_write_byte_data(chip->client, in tsl2772_write_control_reg()
341 dev_err(&chip->client->dev, in tsl2772_write_control_reg()
355 ret = i2c_smbus_write_byte(chip->client, in tsl2772_read_autoinc_regs()
[all …]
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_sensorhub.c1 // SPDX-License-Identifier: GPL-2.0
19 #define DRV_NAME "cros-ec-sensorhub"
53 struct cros_ec_command *msg = sensorhub->msg; in cros_ec_sensorhub_register()
54 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_register()
59 msg->version = 1; in cros_ec_sensorhub_register()
60 msg->insize = sizeof(struct ec_response_motion_sense); in cros_ec_sensorhub_register()
61 msg->outsize = sizeof(struct ec_params_motion_sense); in cros_ec_sensorhub_register()
63 for (i = 0; i < sensorhub->sensor_num; i++) { in cros_ec_sensorhub_register()
64 sensorhub->params->cmd = MOTIONSENSE_CMD_INFO; in cros_ec_sensorhub_register()
65 sensorhub->params->info.sensor_num = i; in cros_ec_sensorhub_register()
[all …]
/kernel/linux/linux-5.10/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",
52 ret = device_property_count_u32(&pdev->dev, "linux,keycodes"); in iqs62x_keys_parse_prop()
54 dev_err(&pdev->dev, "Too many keycodes present\n"); in iqs62x_keys_parse_prop()
55 return -EINVAL; in iqs62x_keys_parse_prop()
57 dev_err(&pdev->dev, "Failed to count keycodes: %d\n", ret); in iqs62x_keys_parse_prop()
60 iqs62x_keys->keycodemax = ret; in iqs62x_keys_parse_prop()
62 ret = device_property_read_u32_array(&pdev->dev, "linux,keycodes", in iqs62x_keys_parse_prop()
63 iqs62x_keys->keycode, in iqs62x_keys_parse_prop()
[all …]
/kernel/linux/linux-5.10/drivers/input/misc/
Diqs269a.c1 // SPDX-License-Identifier: GPL-2.0+
8 * inductive keys as well as Hall-effect switches, and one for each of the two
149 #define IQS269_ATI_POLL_SLEEP_US (iqs269->delay_mult * 10000)
150 #define IQS269_ATI_POLL_TIMEOUT_US (iqs269->delay_mult * 500000)
151 #define IQS269_ATI_STABLE_DELAY_MS (iqs269->delay_mult * 150)
201 .name = "event-prox",
207 .name = "event-prox-alt",
214 .name = "event-touch",
220 .name = "event-touch-alt",
227 .name = "event-deep",
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/
Dimx8mq-librem5.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018-2020 Purism SPC
6 /dts-v1/;
8 #include "dt-bindings/input/input.h"
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include "dt-bindings/pwm/pwm.h"
11 #include "dt-bindings/usb/pd.h"
18 backlight_dsi: backlight-dsi {
19 compatible = "led-backlight";
23 pmic_osc: clock-pmic {
[all …]
/kernel/linux/linux-5.10/drivers/usb/serial/
Dcp210x.c1 // SPDX-License-Identifier: GPL-2.0
9 * control thanks to Munir Nassar nassarmu@real-time.com
59 { USB_DEVICE(0x045B, 0x0053) }, /* Renesas RX610 RX-Stick */
60 { USB_DEVICE(0x0471, 0x066A) }, /* AKTAKOM ACE-1001 cable */
61 { USB_DEVICE(0x0489, 0xE000) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */
62 { USB_DEVICE(0x0489, 0xE003) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */
65 { USB_DEVICE(0x08e6, 0x5501) }, /* Gemalto Prox-PU/CU contactless smartcard reader */
67 { USB_DEVICE(0x0908, 0x0070) }, /* Siemens SCALANCE LPE-9000 USB Serial Console */
71 { USB_DEVICE(0x0BED, 0x1100) }, /* MEI (TM) Cashflow-SC Bill/Voucher Acceptor */
76 { USB_DEVICE(0x0FDE, 0xCA05) }, /* OWL Wireless Electricity Monitor CM-160 */
[all …]