summaryrefslogtreecommitdiff
path: root/drivers/iio/light/tsl4531.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-15iio: Add tsl4531 ambient light sensor driverPeter Meerwald1-0/+258
driver for the TSL4531 family of 16-bit I2C ambient light sensors; information is here: http://www.ams.com/eng/Products/Light-Sensors/Ambient-Light-Sensor-ALS/TSL45315 the chip offers simple lux output v3 (thanks Lars-Peter Clausen): * add mutex to when updating integration time * fix chip ID checking * code cleanups v2: * rename to tsl4351 * use INT_TIME Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>