/Linux-v5.10/Documentation/misc-devices/ |
D | bh1770glc.rst | 20 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 …]
|
D | apds990x.rst | 19 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/ |
D | Kconfig | 77 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 …]
|
D | vcnl4000.c | 4 * 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 …]
|
D | gp2ap002.c | 4 * 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/ |
D | sharp,gp2ap002.yaml | 7 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 …]
|
D | tsl2772.yaml | 7 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>;
|
D | vishay,vcnl4000.yaml | 7 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>;
|
D | cm3605.txt | 2 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.
|
D | gp2ap020a00f.txt | 1 * Sharp GP2AP020A00F I2C Proximity/ALS sensor 3 The proximity detector sensor requires power supply
|
D | cm36651.txt | 1 * Capella CM36651 I2C Proximity and Color Light sensor 9 of the cm36651 for proximity detection.
|
/Linux-v5.10/include/linux/platform_data/ |
D | tsl2772.h | 4 * 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 …]
|
D | apds990x.h | 4 * 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/ |
D | Kconfig | 3 # 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.
|
D | vcnl3020.c | 3 * 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/ |
D | semtech,sx9310.yaml | 4 $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 {
|
D | vishay,vcnl3020.yaml | 4 $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/ |
D | srat.c | 23 /* 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/ |
D | sysfs-bus-iio-light-isl29018 | 9 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
|
D | sysfs-bus-iio-sx9310 | 6 Proximity measurement indicating that some object is 8 proximity measurements constructed by hardware by
|
/Linux-v5.10/arch/x86/mm/ |
D | srat.c | 9 * 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/ |
D | iqs62x-keys.yaml | 38 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/ |
D | common.yaml | 23 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/ |
D | acpi_numa.c | 13 * 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/ |
D | imx8mq-librem5-r3.dts | 25 &proximity { 26 proximity-near-level = <25>;
|