Home
last modified time | relevance | path

Searched +full:light +full:- +full:sensor (Results 1 – 25 of 148) sorted by relevance

123456

/Linux-v5.4/drivers/iio/light/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
4 # Light sensors
8 menu "Light sensors"
11 tristate "ACPI Ambient Light Sensor"
18 Ambient Light Sensor.
21 be called acpi-als.
24 tristate "ADJD-S311-CR999 digital color sensor"
29 If you say yes here you get support for the Avago ADJD-S311-CR999
30 digital color light sensor.
36 tristate "AL3320A ambient light sensor"
[all …]
Dbh1750.c1 // SPDX-License-Identifier: GPL-2.0
3 * ROHM BH1710/BH1715/BH1721/BH1750/BH1751 ambient light sensor driver
8 * http://rohmfs.rohm.com/en/products/databook/datasheet/ic/sensor/light/bh1710fvc-e.pdf
9 * http://rohmfs.rohm.com/en/products/databook/datasheet/ic/sensor/light/bh1715fvc-e.pdf
10 * http://rohmfs.rohm.com/en/products/databook/datasheet/ic/sensor/light/bh1721fvc-e.pdf
11 * http://rohmfs.rohm.com/en/products/databook/datasheet/ic/sensor/light/bh1750fvi-e.pdf
12 * http://rohmfs.rohm.com/en/products/databook/datasheet/ic/sensor/light/bh1751fvi-e.pdf
14 * 7-bit I2C slave addresses:
27 #define BH1750_ONE_TIME_H_RES_MODE 0x20 /* auto-mode for BH1721 */
75 const struct bh1750_chip_info *chip_info = data->chip_info; in bh1750_change_int_time()
[all …]
Dcros_ec_light_prox.c1 // SPDX-License-Identifier: GPL-2.0
3 * cros_ec_light_prox - Driver for light and prox sensors behing CrosEC.
25 * We only represent one entry for light or proximity. EC is merging different
26 * light sensors to return the what the eye would see. For proximity, we
27 * currently support only one light source.
47 int idx = chan->scan_index; in cros_ec_light_prox_read()
49 mutex_lock(&st->core.cmd_lock); in cros_ec_light_prox_read()
53 if (chan->type == IIO_PROXIMITY) { in cros_ec_light_prox_read()
61 ret = -EINVAL; in cros_ec_light_prox_read()
65 if (chan->type == IIO_LIGHT) { in cros_ec_light_prox_read()
[all …]
/Linux-v5.4/include/linux/platform_data/
Dadp5588.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright 2009-2010 Analog Devices Inc.
60 #define CMP_CONFG_SENS2 0x32 /* L2 Light Sensor Reference Level, Output Falling for Sensor 1 */
61 #define CMP1_LVL2_TRIP 0x33 /* L2 Light Sensor Hysteresis (Active when Output Rising) for Sensor 1 …
62 #define CMP1_LVL2_HYS 0x34 /* L3 Light Sensor Reference Level, Output Falling For Sensor 1 */
63 #define CMP1_LVL3_TRIP 0x35 /* L3 Light Sensor Hysteresis (Active when Output Rising) For Sensor 1 …
64 #define CMP1_LVL3_HYS 0x36 /* Sensor 2 Comparator Configuration Register */
65 #define CMP2_LVL2_TRIP 0x37 /* L2 Light Sensor Reference Level, Output Falling for Sensor 2 */
66 #define CMP2_LVL2_HYS 0x38 /* L2 Light Sensor Hysteresis (Active when Output Rising) for Sensor 2 */
67 #define CMP2_LVL3_TRIP 0x39 /* L3 Light Sensor Reference Level, Output Falling For Sensor 2 */
[all …]
Dadp8860.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 * Copyright 2009-2010 Analog Devices Inc.
76 #define ADP8860_BL_AMBL_FILT_80ms 0 /* Light sensor filter time */
103 u8 bl_fade_in; /* Backlight Fade-In Timer */
104 u8 bl_fade_out; /* Backlight Fade-Out Timer */
105 u8 bl_fade_law; /* fade-on/fade-off transfer characteristic */
107 u8 en_ambl_sens; /* 1 = enable ambient light sensor */
108 u8 abml_filt; /* Light sensor filter time */
130 u8 led_fade_in; /* LED Fade-In Timer */
131 u8 led_fade_out; /* LED Fade-Out Timer */
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/iio/light/
Dtsl2583.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/light/tsl2583.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AMS/TAOS Ambient Light Sensor (ALS)
10 - Brian Masney <masneyb@onstation.org>
13 Ambient light sensing with an i2c interface.
18 - amstaos,tsl2580
19 - amstaos,tsl2581
20 - amstaos,tsl2583
[all …]
Disl29018.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/light/isl29018.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 Intersil 29018/29023/29035 Ambient Light, Infrared Light, and Proximity Sensor
11 - Brian Masney <masneyb@onstation.org>
14 Ambient and infrared light sensing with proximity detection over an i2c
24 - isil,isl29018
25 - isil,isl29023
26 - isil,isl29035
[all …]
Dbh1750.txt1 ROHM BH1750 - ALS, Ambient light sensor
5 - compatible: Must be one of:
11 - reg: the I2C address of the sensor
15 light-sensor@23 {
Dopt3001.txt1 * Texas Instruments OPT3001 Ambient Light Sensor
3 The driver supports interrupt-driven and interrupt-less operation, depending
5 the optional generation of IIO events on rising/falling light threshold changes
7 of the current light value is supported through the IIO API.
12 - compatible: should be "ti,opt3001"
13 - reg: the I2C address of the sensor
16 - interrupts: interrupt mapping for GPIO IRQ (configure for falling edge)
23 interrupt-parent = <&gpio1>;
Dtsl2772.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/light/tsl2772.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AMS/TAOS Ambient Light Sensor (ALS) and Proximity Detector
10 - Brian Masney <masneyb@onstation.org>
13 Ambient light sensing and proximity detection with an i2c interface.
14 https://ams.com/documents/20143/36005/TSL2772_DS000181_2-00.pdf
19 - amstaos,tsl2571
20 - amstaos,tsl2671
[all …]
Dvcnl4000.txt1 VISHAY VCNL4000 - Ambient Light and proximity sensor
7 -compatible: must be one of :
14 -reg: I2C address of the sensor, should be one from below based on the model:
21 light-sensor@51 {
Dvcnl4035.txt1 VISHAY VCNL4035 - Ambient Light and proximity sensor
7 -compatible: should be "vishay,vcnl4035"
8 -reg: I2C address of the sensor, should be 0x60
9 -interrupts: interrupt mapping for GPIO IRQ (level active low)
13 light-sensor@60 {
16 interrupt-parent = <&gpio4>;
Dnoa1305.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/light/noa1305.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ON Semiconductor NOA1305 Ambient Light Sensor
10 - Martyn Welch <martyn.welch@collabora.com>
15 https://www.onsemi.com/pub/Collateral/NOA1305-D.PDF
20 - onnn,noa1305
25 vin-supply:
26 description: Regulator that provides power to the sensor
[all …]
Dstk33xx.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/light/stk33xx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 Sensortek STK33xx I2C Ambient Light and Proximity sensor
11 - Jonathan Cameron <jic23@kernel.org>
14 Ambient light and proximity sensor over an i2c interface.
19 - sensortek,stk3310
20 - sensortek,stk3311
21 - sensortek,stk3335
[all …]
Dmax44009.txt1 * MAX44009 Ambient Light Sensor
5 - compatible: should be "maxim,max44009"
6 - reg: the I2C address of the device (default is <0x4a>)
10 - interrupts: interrupt mapping for GPIO IRQ. Should be configured with
13 Refer to interrupt-controller/interrupts.txt for generic interrupt client
18 light-sensor@4a {
22 interrupt-parent = <&gpio1>;
Dus5182d.txt1 * UPISEMI us5182d I2C ALS and Proximity sensor
4 - compatible: must be "upisemi,usd5182"
5 - reg: the I2C address of the device
8 - upisemi,glass-coef: glass attenuation factor - compensation factor of
11 - upisemi,dark-ths: array of 8 elements containing 16-bit thresholds (adc
14 - upisemi,upper-dark-gain: 8-bit dark gain compensation factor(4 int and 4
15 fractional bits - Q4.4) applied when light > threshold
17 - upisemi,lower-dark-gain: 8-bit dark gain compensation factor(4 int and 4
18 fractional bits - Q4.4) applied when light < threshold
20 - upisemi,continuous: This chip has two power modes: one-shot (chip takes one
[all …]
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-bus-iio-isl295014 Contact: linux-iio@vger.kernel.org
6 This sensor has an automatic gain control (agc) loop
9 criteria for optimal gain is determined by the sensor.
22 Contact: linux-iio@vger.kernel.org
24 The sensor is able to perform correction of distance
26 light conditions. It can be programmed to correct for
30 ambient light are modulated independently.
40 in_proximity0_calib_phase_light_b for ambient light.
44 Finally, the c constant is set by the sensor
47 The value stored in sensor is displayed when read from.
Dsysfs-class-backlight-driver-adp88701 What: /sys/class/backlight/<backlight>/<ambient light zone>_max
9 Contact: device-drivers-devel@blackfin.uclinux.org
11 Control the maximum brightness for <ambient light zone>
14 <ambient light zone>.
16 What: /sys/class/backlight/<backlight>/<ambient light zone>_dim
23 Contact: device-drivers-devel@blackfin.uclinux.org
25 Control the dim brightness for <ambient light zone>
29 this <ambient light zone>.
34 Contact: device-drivers-devel@blackfin.uclinux.org
36 Get conversion value of the light sensor.
[all …]
Dsysfs-class-backlight-adp88602 -----------------------------------------------------------
14 (RO) 13-bit conversion value for the first light sensor—high
16 the light sensor is enabled).
25 operates. Value "0" enables automatic ambient light sensing, and
40 value between 0 mA and 30 mA using linear or non-linear
54 between 0 mA and 30 mA using linear or non-linear algorithms.
/Linux-v5.4/Documentation/media/uapi/v4l/
Dext-ctrls-camera.rst4 .. Foundation, with no Invariant Sections, no Front-Cover Texts
5 .. and no Back-Cover Texts. A copy of the license is included at
6 .. Documentation/media/uapi/fdl-appendix.rst.
8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
10 .. _camera-controls:
20 .. _camera-control-id:
30 .. _v4l2-exposure-auto-type:
35 enum v4l2_exposure_auto_type -
43 .. flat-table::
44 :header-rows: 0
[all …]
/Linux-v5.4/drivers/misc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
28 See Documentation/misc-devices/ad525x_dpot.txt for the
41 module will be called ad525x_dpot-i2c.
52 module will be called ad525x_dpot-spi.
64 ---help---
73 ---help---
74 This option enables device driver support for in-band access to the
87 website <http://www-03.ibm.com/systems/info/x86servers/serverproven/compat/us/>
126 an Intel Atom (non-netbook) mobile device containing a MIPI
171 ---help---
[all …]
/Linux-v5.4/Documentation/misc-devices/
Dapds990x.txt14 -----------
16 APDS990x is a combined ambient light and proximity sensor. ALS and proximity
21 (infrared + visible light) and IR only. However, threshold comparisons happen
23 might vary quite much depending the spectrum of the light source.
36 values are known. Otherwise plain sensor default values are used.
45 -----
49 RO - shows detected chip type and version
52 RW - enable / disable chip. Uses counting logic
56 RO - measured lux value
60 RO - lux0_input max value. Actually never reaches since sensor tends
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/
Dtrivial-devices.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/trivial-devices.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
28 - enum:
29 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
30 - ad,ad7414
31 # ADM9240: Complete System Hardware Monitor for uProcessor-Based Systems
32 - ad,adm9240
[all …]
/Linux-v5.4/Documentation/driver-api/iio/
Dcore.rst8 :file:`drivers/iio/industrialio-*`
11 ----------------------
13 * struct :c:type:`iio_dev` - industrial I/O device
14 * :c:func:`iio_device_alloc()` - allocate an :c:type:`iio_dev` from a driver
15 * :c:func:`iio_device_free()` - free an :c:type:`iio_dev` from a driver
16 * :c:func:`iio_device_register()` - register a device with the IIO subsystem
17 * :c:func:`iio_device_unregister()` - unregister a device from the IIO
20 An IIO device usually corresponds to a single hardware sensor and it
27 1. :file:`/sys/bus/iio/iio:device{X}/`, this represents a hardware sensor
63 :file:`Documentation/ABI/testing/sysfs-bus-iio` file in the Linux kernel
[all …]
/Linux-v5.4/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-light3 Contact: linux-iio@vger.kernel.org
5 This should return the calculated lux from the light sensor. If
11 Contact: linux-iio@vger.kernel.org
15 use a infrared sensor reading to remove infrared noise from the
17 do this calculation manually by reading the infrared sensor
22 Contact: linux-iio@vger.kernel.org
25 used to return the value of a reading by the sensor. If this
31 Contact: linux-iio@vger.kernel.org
40 Contact: linux-iio@vger.kernel.org
47 Contact: linux-iio@vger.kernel.org
[all …]

123456