1 ====================== 1 ====================== 2 Kernel driver isl29003 2 Kernel driver isl29003 3 ====================== 3 ====================== 4 4 5 Supported chips: 5 Supported chips: 6 6 7 * Intersil ISL29003 7 * Intersil ISL29003 8 8 9 Prefix: 'isl29003' 9 Prefix: 'isl29003' 10 10 11 Addresses scanned: none 11 Addresses scanned: none 12 12 13 Datasheet: 13 Datasheet: 14 http://www.intersil.com/data/fn/fn7464.pdf 14 http://www.intersil.com/data/fn/fn7464.pdf 15 15 16 Author: Daniel Mack <daniel@caiaq.de> 16 Author: Daniel Mack <daniel@caiaq.de> 17 17 18 18 19 Description 19 Description 20 ----------- 20 ----------- 21 The ISL29003 is an integrated light sensor wit 21 The ISL29003 is an integrated light sensor with a 16-bit integrating type 22 ADC, I2C user programmable lux range select fo 22 ADC, I2C user programmable lux range select for optimized counts/lux, and 23 I2C multi-function control and monitoring capa 23 I2C multi-function control and monitoring capabilities. The internal ADC 24 provides 16-bit resolution while rejecting 50H 24 provides 16-bit resolution while rejecting 50Hz and 60Hz flicker caused by 25 artificial light sources. 25 artificial light sources. 26 26 27 The driver allows to set the lux range, the bi 27 The driver allows to set the lux range, the bit resolution, the operational 28 mode (see below) and the power state of device 28 mode (see below) and the power state of device and can read the current lux 29 value, of course. 29 value, of course. 30 30 31 31 32 Detection 32 Detection 33 --------- 33 --------- 34 34 35 The ISL29003 does not have an ID register whic 35 The ISL29003 does not have an ID register which could be used to identify 36 it, so the detection routine will just try to 36 it, so the detection routine will just try to read from the configured I2C 37 address and consider the device to be present 37 address and consider the device to be present as soon as it ACKs the 38 transfer. 38 transfer. 39 39 40 40 41 Sysfs entries 41 Sysfs entries 42 ------------- 42 ------------- 43 43 44 range: 44 range: 45 == =========================== 45 == =========================== 46 0: 0 lux to 1000 lux (default) 46 0: 0 lux to 1000 lux (default) 47 1: 0 lux to 4000 lux 47 1: 0 lux to 4000 lux 48 2: 0 lux to 16,000 lux 48 2: 0 lux to 16,000 lux 49 3: 0 lux to 64,000 lux 49 3: 0 lux to 64,000 lux 50 == =========================== 50 == =========================== 51 51 52 resolution: 52 resolution: 53 == ===================== 53 == ===================== 54 0: 2^16 cycles (default) 54 0: 2^16 cycles (default) 55 1: 2^12 cycles 55 1: 2^12 cycles 56 2: 2^8 cycles 56 2: 2^8 cycles 57 3: 2^4 cycles 57 3: 2^4 cycles 58 == ===================== 58 == ===================== 59 59 60 mode: 60 mode: 61 == =================================== 61 == ================================================= 62 0: diode1's current (unsigned 16bit) ( 62 0: diode1's current (unsigned 16bit) (default) 63 1: diode1's current (unsigned 16bit) 63 1: diode1's current (unsigned 16bit) 64 2: difference between diodes (l1 - l2, 64 2: difference between diodes (l1 - l2, signed 15bit) 65 == =================================== 65 == ================================================= 66 66 67 power_state: 67 power_state: 68 == =================================== 68 == ================================================= 69 0: device is disabled (default) 69 0: device is disabled (default) 70 1: device is enabled 70 1: device is enabled 71 == =================================== 71 == ================================================= 72 72 73 lux (read only): 73 lux (read only): 74 returns the value from the last sensor 74 returns the value from the last sensor reading 75 75
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.