003 File Manager
Current Path:
/usr/src/sys/contrib/device-tree/Bindings/iio/light
usr
/
src
/
sys
/
contrib
/
device-tree
/
Bindings
/
iio
/
light
/
📁
..
📄
adux1020.yaml
(989 B)
📄
amstaos,tsl2563.yaml
(915 B)
📄
apds9300.txt
(387 B)
📄
apds9960.txt
(478 B)
📄
bh1750.yaml
(729 B)
📄
cm3605.txt
(1.54 KB)
📄
cm36651.txt
(622 B)
📄
dynaimage,al3010.yaml
(826 B)
📄
dynaimage,al3320a.yaml
(830 B)
📄
gp2ap020a00f.txt
(571 B)
📄
isl29018.yaml
(1.22 KB)
📄
max44009.txt
(515 B)
📄
noa1305.yaml
(812 B)
📄
opt3001.txt
(795 B)
📄
renesas,isl29501.txt
(220 B)
📄
sharp,gp2ap002.yaml
(2.27 KB)
📄
stk33xx.yaml
(975 B)
📄
tsl2583.yaml
(857 B)
📄
tsl2772.yaml
(1.84 KB)
📄
us5182d.txt
(2.02 KB)
📄
uvis25.txt
(549 B)
📄
vcnl4035.txt
(451 B)
📄
veml6030.yaml
(1.49 KB)
📄
vishay,vcnl4000.yaml
(943 B)
📄
vl6180.txt
(287 B)
Editing: us5182d.txt
* UPISEMI us5182d I2C ALS and Proximity sensor Required properties: - compatible: must be "upisemi,usd5182" - reg: the I2C address of the device Optional properties: - upisemi,glass-coef: glass attenuation factor - compensation factor of resolution 1000 for material transmittance. - upisemi,dark-ths: array of 8 elements containing 16-bit thresholds (adc counts) corresponding to every scale. - upisemi,upper-dark-gain: 8-bit dark gain compensation factor(4 int and 4 fractional bits - Q4.4) applied when light > threshold - upisemi,lower-dark-gain: 8-bit dark gain compensation factor(4 int and 4 fractional bits - Q4.4) applied when light < threshold - upisemi,continuous: This chip has two power modes: one-shot (chip takes one measurement and then shuts itself down) and continuous ( chip takes continuous measurements). The one-shot mode is more power-friendly but the continuous mode may be more reliable. If this property is specified the continuous mode will be used instead of the default one-shot one for raw reads. If the optional properties are not specified these factors will default to the values in the below example. The glass-coef defaults to no compensation for the covering material. The threshold array defaults to experimental values that work with US5182D sensor on evaluation board - roughly between 12-32 lux. There will be no dark-gain compensation by default when ALS > thresh (0 * dark-gain), and a 1.35 compensation factor when ALS < thresh. Example: usd5182@39 { compatible = "upisemi,usd5182"; reg = <0x39>; upisemi,glass-coef = < 1000 >; upisemi,dark-ths = /bits/ 16 <170 200 512 512 800 2000 4000 8000>; upisemi,upper-dark-gain = /bits/ 8 <0x00>; upisemi,lower-dark-gain = /bits/ 8 <0x16>; };
Upload File
Create Folder