Home
last modified time | relevance | path

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

123456

/Linux-v5.10/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.10/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()
485 ret = device_property_read_u8(dev, "sharp,proximity-far-hysteresis", in gp2ap002_probe()
488 dev_err(dev, "failed to obtain proximity far setting\n"); in gp2ap002_probe()
[all …]
/Linux-v5.10/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>;
Dcm3605.txt2 Ambient Light and Short Distance Proximity Sensor
7 This ALS and proximity sensor was one of the very first deployed in mobile
16 the POUT (proximity sensor out) line. The edge detection must
18 and away from the proximity sensor.
Dgp2ap020a00f.txt1 * Sharp GP2AP020A00F I2C Proximity/ALS sensor
3 The proximity detector sensor requires power supply
Dcm36651.txt1 * Capella CM36651 I2C Proximity and Color Light sensor
9 of the cm36651 for proximity detection.
/Linux-v5.10/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.10/drivers/iio/proximity/
DKconfig3 # Proximity sensors
22 menu "Proximity and distance sensors"
105 tristate "SX9310/SX9311 Semtech proximity sensor"
112 proximity/button sensor.
118 tristate "SX9500 Semtech proximity sensor"
125 proximity/button sensor.
144 tristate "VCNL3020 proximity sensor"
149 proximity sensor.
Dvcnl3020.c3 * Support for Vishay VCNL3020 proximity sensor on i2c bus.
22 #define VCNL_PROXIMITY_RATE 0x82 /* Rate of Proximity Measurement */
23 #define VCNL_LED_CURRENT 0x83 /* IR LED current for proximity mode */
24 #define VCNL_PS_RESULT_HI 0x87 /* Proximity result register, MSB */
25 #define VCNL_PS_RESULT_LO 0x88 /* Proximity result register, LSB */
32 #define VCNL_PS_MOD_ADJ 0x8f /* Proximity Modulator Timing Adjustment */
35 #define VCNL_PS_RDY BIT(5) /* proximity data ready? */
36 #define VCNL_PS_OD BIT(3) /* start on-demand proximity
256 MODULE_DESCRIPTION("Vishay VCNL3020 proximity sensor driver");
/Linux-v5.10/Documentation/devicetree/bindings/iio/proximity/
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.
56 proximity@28 {
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 {
/Linux-v5.10/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.10/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
Dsysfs-bus-iio-sx93106 Proximity measurement indicating that some object is
8 proximity measurements constructed by hardware by
/Linux-v5.10/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.10/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.10/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.10/arch/arm64/kernel/
Dacpi_numa.c13 * Assumes all memory regions belonging to a single proximity domain
91 /* Callback for Proximity Domain -> ACPI processor UID mapping */
113 pr_err("SRAT: Too many proximity domains %d\n", pxm); in acpi_numa_gicc_affinity_init()
/Linux-v5.10/arch/arm64/boot/dts/freescale/
Dimx8mq-librem5-r3.dts25 &proximity {
26 proximity-near-level = <25>;

123456