Home
last modified time | relevance | path

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

1234567891011

/OK3568_Linux_fs/kernel/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.
/OK3568_Linux_fs/kernel/drivers/iio/light/
H A 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 …]
H A 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 …]
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()
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 …]
H A Disl29018.c5 * IIO driver for monitoring ambient light intensity in luxi, proximity
232 /* Do proximity sensing with required scheme */ in isl29018_read_proximity_ir()
307 * Proximity Sensing Scheme: Bit 7. This bit programs the function
308 * of the proximity detection. Logic 0 of this bit, Scheme 0, makes
309 * full n (4, 8, 12, 16) bits (unsigned) proximity detection. The range
310 * of Scheme 0 proximity count is from 0 to 2^n. Logic 1 of this bit,
313 * proximity count is from -2^(n-1) to 2^(n-1) . The sign bit is extended
315 * range, Scheme 1 proximity detection is less affected by the
329 * Return the "proximity scheme" i.e. if the chip does on chip in proximity_on_chip_ambient_infrared_suppression_show()
349 * Get the "proximity scheme" i.e. if the chip does on chip in proximity_on_chip_ambient_infrared_suppression_store()
H A Dcm3605.c3 * CM3605 Ambient Light and Proximity Sensor
9 * and an early endavour into mobile light and proximity sensors.
41 * @dir: proximity direction: start as FALLING
42 * @led: trigger for the infrared LED used by the proximity sensor
328 MODULE_DESCRIPTION("CM3605 ambient light and proximity sensor driver");
/OK3568_Linux_fs/kernel/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 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.
/OK3568_Linux_fs/kernel/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 …]
H A 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
/OK3568_Linux_fs/kernel/drivers/iio/proximity/
H A 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.
H A 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");
/OK3568_Linux_fs/kernel/drivers/input/sensors/psensor/
H A DKconfig7 tristate "proximity sensor device support"
25 tristate "proximity sensor stk3332"
28 tristate "proximity sensor stk3410"
32 tristate "proximity sensor em3071x"
35 tristate "proximity sensor ucs14620"
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/proximity/
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.
31 available or that a close/far proximity event has happened.
56 proximity@28 {
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 {
/OK3568_Linux_fs/kernel/drivers/acpi/numa/
H A 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 …]
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/arch/x86/mm/
H A 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()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A 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
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/
H A 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
/OK3568_Linux_fs/kernel/drivers/misc/
H A Dbh1770glc.c4 * Chip is combined proximity and ambient light sensor.
205 /* Proper proximity response needs fastest lux rate (100ms) */ in bh1770_lux_rate()
226 /* InfraredLED is controlled by the chip during proximity scanning */
397 * ALS is started always since proximity needs als results in bh1770_chip_on()
464 * when ALS levels goes above limit, proximity result may be in bh1770_prox_read_result()
465 * false proximity. Thus ignore the result. With real proximity in bh1770_prox_read_result()
473 /* Strong proximity level or force mode requires immediate response */ in bh1770_prox_read_result()
480 /* Persistence filttering to reduce false proximity events */ in bh1770_prox_read_result()
496 /* Set proximity detection rate based on above or below value */ in bh1770_prox_read_result()
549 * This work is re-scheduled at every proximity interrupt.
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A 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()

1234567891011