| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| 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 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-6.6/Documentation/devicetree/bindings/input/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/hid/ |
| D | wacom_wac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * USB Wacom tablet support - Wacom specific code 30 * 2^14/pi is a good approximation on Intuos5 and 3rd-gen Bamboo 48 struct input_dev *input = wacom_wac->pen_input; in wacom_force_proxout() 50 wacom_wac->shared->stylus_in_proximity = 0; in wacom_force_proxout() 56 input_report_key(input, wacom_wac->tool[0], 0); in wacom_force_proxout() 57 if (wacom_wac->serial[0]) { in wacom_force_proxout() 62 wacom_wac->tool[0] = 0; in wacom_force_proxout() 63 wacom_wac->id[0] = 0; in wacom_force_proxout() 64 wacom_wac->serial[0] = 0; in wacom_force_proxout() [all …]
|
| /kernel/linux/linux-6.6/drivers/hid/ |
| 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 …]
|
| /kernel/linux/linux-6.6/include/linux/platform_data/ |
| 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
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| 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
|
| /kernel/linux/linux-5.10/drivers/iio/light/ |
| 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 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 …]
|
| D | isl29028.c | 1 // 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 …]
|
| D | gp2ap002.c | 1 // 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 …]
|
| 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> 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-6.6/Documentation/devicetree/bindings/mfd/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/iio/light/ |
| 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 128 Say Y here if you use cm32181. 139 Say Y here if you use cm3232. 169 Say Y here if you use cm36651. 180 Say Y here if you use the light and proximity sensors 191 Say Y here if you have a Sharp GP2AP002 proximity/ALS combo-chip 205 Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip [all …]
|
| D | isl29028.c | 1 // 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 …]
|
| D | gp2ap002.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/platform/chrome/ |
| D | cros_ec_sensorhub.c | 1 // 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-6.6/drivers/platform/chrome/ |
| D | cros_ec_sensorhub.c | 1 // 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-6.6/drivers/input/keyboard/ |
| 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", 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/keyboard/ |
| 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", 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-6.6/arch/arm64/boot/dts/qcom/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/input/misc/ |
| 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 …]
|
| 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 193 .name = "event-prox", 199 .name = "event-prox-alt", 206 .name = "event-touch", 212 .name = "event-touch-alt", 219 .name = "event-deep", 225 .name = "event-deep-alt", 301 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_set() 305 return -EINVAL; in iqs269_ati_mode_set() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/arm/ |
| D | qcom.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 18 Each board must specify a top-level board compatible string with the following 21 compatible = "qcom,<SoC>[-<soc_version>][-<foundry_id>]-<board>[/<subtype>][-<board_version>]" 92 ap-al02-c2 93 ap-al02-c6 94 ap-al02-c7 95 ap-al02-c8 [all …]
|
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| 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 193 .name = "event-prox", 199 .name = "event-prox-alt", 206 .name = "event-touch", 212 .name = "event-touch-alt", 219 .name = "event-deep", 225 .name = "event-deep-alt", 301 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_set() 305 return -EINVAL; in iqs269_ati_mode_set() [all …]
|