Home
last modified time | relevance | path

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

1234567

/Linux-v5.15/Documentation/misc-devices/
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 …]
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-v5.15/drivers/iio/light/
DKconfig77 tristate "Avago APDS9960 gesture/RGB/ALS/proximity sensor"
84 APDS9960 gesture/RGB/ALS/proximity sensor.
157 tristate "Capella CM3605 ambient light and proximity sensor"
161 ambient light and short range proximity sensor.
171 This option enables proximity & RGB sensor using
178 tristate "ChromeOS EC Light and Proximity Sensors"
181 Say Y here if you use the light and proximity sensors
188 tristate "Sharp GP2AP002 Proximity/ALS sensor"
192 Say Y here if you have a Sharp GP2AP002 proximity/ALS combo-chip
199 tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
[all …]
Dvcnl4000.c4 * light and proximity sensor
43 #define VCNL4010_PROX_RATE 0x82 /* Proximity rate */
44 #define VCNL4000_LED_CURRENT 0x83 /* IR LED current for proximity mode */
49 #define VCNL4000_PS_RESULT_HI 0x87 /* Proximity result register, MSB */
50 #define VCNL4000_PS_RESULT_LO 0x88 /* Proximity result register, LSB */
51 #define VCNL4000_PS_MEAS_FREQ 0x89 /* Proximity test signal frequency */
53 #define VCNL4000_PS_MOD_ADJ 0x8a /* Proximity modulator timing adjustment */
61 #define VCNL4200_PS_CONF1 0x03 /* Proximity configuration */
62 #define VCNL4200_PS_DATA 0x08 /* Proximity data */
70 #define VCNL4000_PS_RDY BIT(5) /* proximity data ready? */
[all …]
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()
484 ret = device_property_read_u8(dev, "sharp,proximity-far-hysteresis", in gp2ap002_probe()
487 dev_err(dev, "failed to obtain proximity far setting\n"); in gp2ap002_probe()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/iio/light/
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 …]
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>;
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>;
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.
Dst,vl6180.yaml7 title: STMicro VL6180 ALS, range and proximity sensor
14 Proximity sensing module incorporating time of flight sensor
40 proximity@29 {
/Linux-v5.15/Documentation/devicetree/bindings/iio/proximity/
Dgoogle,cros-ec-mkbp-proximity.yaml5 $id: http://devicetree.org/schemas/iio/proximity/google,cros-ec-mkbp-proximity.yaml#
8 title: ChromeOS EC MKBP Proximity Sensor
16 Google's ChromeOS EC sometimes has the ability to detect user proximity.
22 const: google,cros-ec-mkbp-proximity
25 description: Name for proximity sensor
34 proximity {
35 compatible = "google,cros-ec-mkbp-proximity";
36 label = "proximity-wifi-lte";
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 {
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.
31 available or that a close/far proximity event has happened.
79 Sensor used for start-up proximity detection. The combined
113 proximity@28 {
Dsemtech,sx9500.yaml4 $id: http://devicetree.org/schemas/iio/proximity/semtech,sx9500.yaml#
7 title: Semtech's SX9500 capacitive proximity button device
42 proximity@28 {
/Linux-v5.15/include/linux/platform_data/
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 …]
Dapds990x.h4 * Chip is combined proximity and ambient light sensor.
48 * @ppcount: number of IR pulses used for proximity estimation
52 * Proximity detection result depends heavily on correct ppcount, pdrive
/Linux-v5.15/drivers/iio/proximity/
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
116 tristate "SX9310/SX9311 Semtech proximity sensor"
123 proximity/button sensor.
129 tristate "SX9500 Semtech proximity sensor"
136 proximity/button sensor.
155 tristate "VCNL3020 proximity sensor"
160 proximity sensor.
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 …]
Dcros_ec_mkbp_proximity.c3 * Driver for cros-ec proximity sensor exposed through MKBP switch
195 dev_warn(dev, "failed to fetch proximity state on resume: %d\n", in cros_ec_mkbp_proximity_resume()
254 { .compatible = "google,cros-ec-mkbp-proximity" },
261 .name = "cros-ec-mkbp-proximity",
271 MODULE_DESCRIPTION("ChromeOS EC MKBP proximity sensor driver");
/Linux-v5.15/drivers/acpi/numa/
Dsrat.c23 /* maps to convert between proximity domain and logical node ID */
89 pr_debug("SRAT Processor (id[0x%02x] eid[0x%02x]) in proximity domain %d %s\n", in acpi_table_print_srat_entry()
101 pr_debug("SRAT Memory (0x%llx length 0x%llx) in proximity domain %d %s%s%s\n", in acpi_table_print_srat_entry()
118 pr_debug("SRAT Processor (x2apicid[0x%08x]) in proximity domain %d %s\n", in acpi_table_print_srat_entry()
130 pr_debug("SRAT Processor (acpi id[0x%04x]) in proximity domain %d %s\n", in acpi_table_print_srat_entry()
146 * are assigned a proximity domain in acpi_table_print_srat_entry()
148 pr_debug("SRAT Generic Initiator(Seg:%u BDF:%u) in proximity domain %d %s\n", in acpi_table_print_srat_entry()
157 * proximity domain reference in acpi_table_print_srat_entry()
159 pr_debug("SRAT Generic Initiator(HID=%.8s UID=%.4s) in proximity domain %d %s\n", in acpi_table_print_srat_entry()
238 * Default callback for parsing of the Proximity Domain <-> Memory
[all …]
/Linux-v5.15/Documentation/ABI/testing/
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-v5.15/arch/x86/mm/
Dsrat.c9 * Assumes all memory regions belonging to a single proximity domain
26 /* Callback for Proximity Domain -> x2APIC mapping */
50 printk(KERN_ERR "SRAT: Too many proximity domains %x\n", pxm); in acpi_numa_x2apic_affinity_init()
65 /* Callback for Proximity Domain -> LAPIC mapping */
85 printk(KERN_ERR "SRAT: Too many proximity domains %x\n", pxm); in acpi_numa_processor_affinity_init()
/Linux-v5.15/Documentation/devicetree/bindings/input/
Diqs62x-keys.yaml38 proximity event according to the following table. An 'x' indicates the
47 | 1 | CH0 Proximity | x | x | x | x | x |
53 | 3 | CH1 Proximity | x | x | x | x | x |
57 | 5 | CH2 Proximity | x | | | | |
82 * Two-channel SAR. Replaces CH0-2 plus metal touch and proximity events
86 *** One-channel SAR. Replaces CH0-2 touch and proximity events if enabled
93 Represents north/south-field Hall-effect sensor touch or proximity
106 use the device's wide-range proximity threshold instead of its
/Linux-v5.15/Documentation/devicetree/bindings/iio/
Dcommon.yaml23 proximity-near-level:
26 For proximity sensors whether an object can be considered near to the
31 Raw proximity values equal or above this level should be
/Linux-v5.15/Documentation/devicetree/bindings/mfd/
Dgoogle,cros-ec.yaml97 proximity:
98 $ref: "/schemas/iio/proximity/google,cros-ec-mkbp-proximity.yaml#"
203 proximity {
204 compatible = "google,cros-ec-mkbp-proximity";

1234567