brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · 0cc38ae Raw
76 lines · plain
1======================2Kernel driver isl290033======================4 5Supported chips:6 7* Intersil ISL290038 9Prefix: 'isl29003'10 11Addresses scanned: none12 13Datasheet:14http://www.intersil.com/data/fn/fn7464.pdf15 16Author: Daniel Mack <daniel@caiaq.de>17 18 19Description20-----------21The ISL29003 is an integrated light sensor with a 16-bit integrating type22ADC, I2C user programmable lux range select for optimized counts/lux, and23I2C multi-function control and monitoring capabilities. The internal ADC24provides 16-bit resolution while rejecting 50Hz and 60Hz flicker caused by25artificial light sources.26 27The driver allows to set the lux range, the bit resolution, the operational28mode (see below) and the power state of device and can read the current lux29value, of course.30 31 32Detection33---------34 35The ISL29003 does not have an ID register which could be used to identify36it, so the detection routine will just try to read from the configured I2C37address and consider the device to be present as soon as it ACKs the38transfer.39 40 41Sysfs entries42-------------43 44range:45        == ===========================46	0: 0 lux to 1000 lux (default)47	1: 0 lux to 4000 lux48	2: 0 lux to 16,000 lux49	3: 0 lux to 64,000 lux50        == ===========================51 52resolution:53        == =====================54	0: 2^16 cycles (default)55	1: 2^12 cycles56	2: 2^8 cycles57	3: 2^4 cycles58        == =====================59 60mode:61        == =================================================62	0: diode1's current (unsigned 16bit) (default)63	1: diode1's current (unsigned 16bit)64	2: difference between diodes (l1 - l2, signed 15bit)65        == =================================================66 67power_state:68        == =================================================69	0: device is disabled (default)70	1: device is enabled71        == =================================================72 73lux (read only):74	returns the value from the last sensor reading75 76