Home
last modified time | relevance | path

Searched full:proximity (Results 1 – 25 of 190) sorted by relevance

12345678

/linux/Documentation/misc-devices/
H A Dbh1770glc.rst20 BH1770GLC and SFH7770 are combined ambient light and proximity sensors.
21 ALS and proximity parts operates on their own, but they shares common I2C
23 but ALS side results are used to estimate reliability of the proximity sensor.
28 Proximity part contains IR-led driver up to 3 IR leds. The chip measures
29 amount of reflected IR light and produces proximity result. Resolution is
31 reliability of the proximity results. Thus ALS is always running while
32 proximity detection is needed.
35 Proximity low interrupt doesn't exists in the chip. This is simulated
36 by using a delayed work. As long as there is proximity threshold above
37 interrupts the delayed work is pushed forward. So, when proximity level goes
[all …]
H A Dapds990x.rst19 APDS990x is a combined ambient light and proximity sensor. ALS and proximity
21 while the proximity functionality is enabled.
41 Proximity side is little bit simpler. There is no need for complex conversions.
101 RO - measured proximity value
109 RW - enable / disable proximity - uses counting logic
111 - 1 enables the proximity
112 - 0 disables the proximity
118 values: 0 or prox0_sensor_range value. 0 means no proximity,
119 1023 means proximity. This causes minimal number of interrupts.
128 RW - threshold level which trigs proximity events.
/linux/drivers/iio/proximity/
H A DKconfig3 # Proximity sensors
22 menu "Proximity and distance sensors"
25 tristate "ChromeOS EC MKBP Proximity sensor"
28 Say Y here to enable the proximity sensor implemented via the ChromeOS EC MKBP
44 SAR sensors. This sensors is used for proximity detection applications.
146 Common Semtech proximity sensor code.
149 tristate "SX9310/SX9311 Semtech proximity sensor"
157 proximity/button sensor.
163 tristate "SX9324 Semtech proximity sensor"
171 proximity/button sensor.
[all …]
H A Dvcnl3020.c3 * Support for Vishay VCNL3020 proximity sensor on i2c bus.
21 #define VCNL_PROXIMITY_RATE 0x82 /* Rate of Proximity Measurement */
22 #define VCNL_LED_CURRENT 0x83 /* IR LED current for proximity mode */
23 #define VCNL_PS_RESULT_HI 0x87 /* Proximity result register, MSB */
24 #define VCNL_PS_RESULT_LO 0x88 /* Proximity result register, LSB */
31 #define VCNL_PS_MOD_ADJ 0x8f /* Proximity Modulator Timing Adjustment */
34 #define VCNL_PS_RDY BIT(5) /* proximity data ready? */
35 #define VCNL_PS_OD BIT(3) /* start on-demand proximity
39 /* Enables periodic proximity measurement */
265 "Error (%d) writing proximity rate register\n", rc); in vcnl3020_write_proxy_samp_freq()
[all …]
/linux/drivers/iio/light/
H A DKconfig89 tristate "Avago APDS9960 gesture/RGB/ALS/proximity sensor"
96 APDS9960 gesture/RGB/ALS/proximity sensor.
183 tristate "Capella CM3605 ambient light and proximity sensor"
186 ambient light and short range proximity sensor.
196 This option enables proximity & RGB sensor using
203 tristate "ChromeOS EC Light and Proximity Sensors"
206 Say Y here if you use the light and proximity sensors
213 tristate "Sharp GP2AP002 Proximity/ALS sensor"
217 Say Y here if you have a Sharp GP2AP002 proximity/ALS combo-chip
224 tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
[all …]
H A Dvcnl4000.c4 * light and proximity sensor
45 #define VCNL4010_PROX_RATE 0x82 /* Proximity rate */
46 #define VCNL4000_LED_CURRENT 0x83 /* IR LED current for proximity mode */
51 #define VCNL4000_PS_RESULT_HI 0x87 /* Proximity result register, MSB */
52 #define VCNL4000_PS_RESULT_LO 0x88 /* Proximity result register, LSB */
53 #define VCNL4000_PS_MEAS_FREQ 0x89 /* Proximity test signal frequency */
55 #define VCNL4000_PS_MOD_ADJ 0x8a /* Proximity modulator timing adjustment */
63 #define VCNL4200_PS_CONF1 0x03 /* Proximity configuration */
64 #define VCNL4200_PS_CONF3 0x04 /* Proximity configuration */
65 #define VCNL4040_PS_THDL_LM 0x06 /* Proximity threshold low */
[all …]
H A Dgp2ap002.c4 * GP2AP002A00F Ambient Light and Proximity Sensor
5 * GP2AP002S00F Proximity Sensor
53 /* VO :Proximity sensing result(0: no detection, 1: detection) */
76 * These bits adjusts the proximity sensitivity, determining characteristics
166 dev_err(gp2ap002->dev, "error reading proximity\n"); in gp2ap002_prox_irq()
177 "error setting up proximity hysteresis\n"); in gp2ap002_prox_irq()
187 "error setting up proximity hysteresis\n"); in gp2ap002_prox_irq()
294 "error setting up proximity hysteresis\n"); in gp2ap002_init()
483 ret = device_property_read_u8(dev, "sharp,proximity-far-hysteresis", in gp2ap002_probe()
486 dev_err(dev, "failed to obtain proximity far setting\n"); in gp2ap002_probe()
[all …]
/linux/Documentation/devicetree/bindings/iio/light/
H A Dsharp,gp2ap002.yaml7 title: Sharp GP2AP002A00F and GP2AP002S00F proximity and ambient light sensors
13 Proximity and ambient light sensor with IR LED for the proximity
28 description: an interrupt for proximity, usually a GPIO line
43 sharp,proximity-far-hysteresis:
47 device-unique and adjust the optical setting for proximity detection
50 sharp,proximity-close-hysteresis:
54 device-unique and adjust the optical setting for proximity detection
61 - sharp,proximity-far-hysteresis
62 - sharp,proximity-close-hysteresis
82 sharp,proximity-far-hysteresis = /bits/ 8 <0x2f>;
[all …]
H A Dtsl2772.yaml7 title: AMS/TAOS Ambient Light Sensor (ALS) and Proximity Detector
13 Ambient light sensing and proximity detection with an i2c interface.
34 amstaos,proximity-diodes:
35 description: Proximity diodes to enable
47 description: Current for the proximity LED
80 amstaos,proximity-diodes = <0>;
H A Dvishay,vcnl4000.yaml7 title: VISHAY VCNL4000 ambient light and proximity sensor
13 Ambient light sensing with proximity detection over an i2c
34 proximity-near-level: true
51 proximity-near-level = <220>;
H A Dstk33xx.yaml8 Sensortek STK33xx I2C Ambient Light and Proximity sensor
14 Ambient light and proximity sensor over an i2c interface.
37 proximity-near-level: true
57 proximity-near-level = <25>;
H A Dcapella,cm3605.yaml8 Capella Microsystems CM3605 Ambient Light and Short Distance Proximity Sensor
18 This ALS and proximity sensor was one of the very first deployed in mobile
35 Connected to the POUT (proximity sensor out) line. The edge
37 movements toward and away from the proximity sensor.
H A Dst,vl6180.yaml7 title: STMicro VL6180 ALS, range and proximity sensor
14 Proximity sensing module incorporating time of flight sensor
40 proximity@29 {
/linux/Documentation/devicetree/bindings/iio/proximity/
H A Dgoogle,cros-ec-mkbp-proximity.yaml4 $id: http://devicetree.org/schemas/iio/proximity/google,cros-ec-mkbp-proximity.yaml#
7 title: ChromeOS EC MKBP Proximity Sensor
14 Google's ChromeOS EC sometimes has the ability to detect user proximity.
20 const: google,cros-ec-mkbp-proximity
23 description: Name for proximity sensor
32 proximity {
33 compatible = "google,cros-ec-mkbp-proximity";
34 label = "proximity-wifi-lte";
H A Dawinic,aw96103.yaml4 $id: http://devicetree.org/schemas/iio/proximity/awinic,aw96103.yaml#
7 title: Awinic's AW96103 capacitive proximity sensor and similar
13 Awinic's AW96103/AW96105 proximity sensor.
17 In mobile phone applications, the proximity sensor is primarily
18 used to detect the proximity of the human body to the phone. When the
21 we also refer to the proximity sensor as a SAR sensor.
35 proximity event has happened.
54 proximity@12 {
H A Dvishay,vcnl3020.yaml4 $id: http://devicetree.org/schemas/iio/proximity/vishay,vcnl3020.yaml#
7 title: Integrated Proximity Sensor With Infrared Emitter
13 The VCNL3020 is a fully integrated proximity sensor. Fully integrated means
40 The driver current for the LED used in proximity sensing.
59 proximity@13 {
H A Dtyhx,hx9023s.yaml4 $id: http://devicetree.org/schemas/iio/proximity/tyhx,hx9023s.yaml#
7 title: TYHX HX9023S capacitive proximity sensor
13 TYHX HX9023S proximity sensor. Datasheet can be found here:
26 and data is available or that a close/far proximity event has happened.
62 proximity@2a {
H A Dsemtech,sx9310.yaml4 $id: http://devicetree.org/schemas/iio/proximity/semtech,sx9310.yaml#
7 title: Semtech's SX9310 capacitive proximity sensor
13 Semtech's SX9310/SX9311 capacitive proximity/button solution.
34 available or that a close/far proximity event has happened.
82 Sensor used for start-up proximity detection. The combined
116 proximity@28 {
H A Dsemtech,sx9360.yaml4 $id: http://devicetree.org/schemas/iio/proximity/semtech,sx9360.yaml#
7 title: Semtech's SX9360 capacitive proximity sensor
14 Semtech's SX9360 proximity sensor.
26 and data is available or that a close/far proximity event has happened.
85 proximity@28 {
H A Dsemtech,sx9324.yaml4 $id: http://devicetree.org/schemas/iio/proximity/semtech,sx9324.yaml#
7 title: Semtech's SX9324 capacitive proximity sensor
14 Semtech's SX9324 proximity sensor.
29 and data is available or that a close/far proximity event has happened.
102 Phase used for start-up proximity detection.
181 proximity@28 {
/linux/include/linux/platform_data/
H A Dtsl2772.h4 * and proximity (prox) within the TAOS TSL2772 family of devices.
25 /* Proximity diode to use */
43 * @wait_time: Time between proximity and ALS cycles in 2.73
45 * @prox_time: Integration time of the proximity ADC in 2.73 ms
49 * @als_prox_config: The value of the ALS / Proximity configuration
56 * @prox_persistence: H/W Filters, Number of 'out of limits' proximity
58 * @prox_interrupt_en: Enable/Disable proximity interrupts.
59 * @prox_thres_low: Low threshold proximity detection.
60 * @prox_thres_high: High threshold proximity detection.
61 * @prox_pulse_count: Number if proximity emitter pulses.
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-light-isl290189 Scheme 0, makes full n (4, 8, 12, 16) bits (unsigned) proximity
10 detection. The range of Scheme 0 proximity count is from 0 to
13 range of Scheme 1 proximity count is from -2^(n-1) to 2^(n-1).
15 Scheme 0 has wider dynamic range, Scheme 1 proximity detection
/linux/drivers/acpi/numa/
H A Dsrat.c24 /* maps to convert between proximity domain and logical node ID */
92 pr_debug("SRAT Processor (id[0x%02x] eid[0x%02x]) in proximity domain %d %s\n", in acpi_table_print_srat_entry()
104 pr_debug("SRAT Memory (0x%llx length 0x%llx) in proximity domain %d %s%s%s\n", in acpi_table_print_srat_entry()
121 pr_debug("SRAT Processor (x2apicid[0x%08x]) in proximity domain %d %s\n", in acpi_table_print_srat_entry()
133 pr_debug("SRAT Processor (acpi id[0x%04x]) in proximity domain %d %s\n", in acpi_table_print_srat_entry()
149 * are assigned a proximity domain in acpi_table_print_srat_entry()
151 pr_debug("SRAT Generic Initiator(Seg:%u BDF:%u) in proximity domain %d %s\n", in acpi_table_print_srat_entry()
160 * proximity domain reference in acpi_table_print_srat_entry()
162 pr_debug("SRAT Generic Initiator(HID=%.8s UID=%.4s) in proximity domain %d %s\n", in acpi_table_print_srat_entry()
176 pr_debug("SRAT Processor (acpi id[0x%04x]) in proximity domain %d %s\n", in acpi_table_print_srat_entry()
[all …]
/linux/arch/x86/mm/
H A Dsrat.c9 * Assumes all memory regions belonging to a single proximity domain
26 /* Callback for Proximity Domain -> x2APIC mapping */
49 printk(KERN_ERR "SRAT: Too many proximity domains %x\n", pxm); in acpi_numa_x2apic_affinity_init()
63 /* Callback for Proximity Domain -> LAPIC mapping */
83 printk(KERN_ERR "SRAT: Too many proximity domains %x\n", pxm); in acpi_numa_processor_affinity_init()
/linux/Documentation/devicetree/bindings/input/
H A Diqs62x-keys.yaml40 proximity event according to the following table. An 'x' indicates the
49 | 1 | CH0 Proximity | x | x | x | x | x |
55 | 3 | CH1 Proximity | x | x | x | x | x |
59 | 5 | CH2 Proximity | x | | | | |
84 * Two-channel SAR. Replaces CH0-2 plus metal touch and proximity events
88 *** One-channel SAR. Replaces CH0-2 touch and proximity events if enabled
96 Represents north/south-field Hall-effect sensor touch or proximity
107 use the device's wide-range proximity threshold instead of its

12345678