TAOS 2571 Device Driver
Subsystems (3)
PATCH v2 1/1 TAOS 2571 Device Driver
[PATCH v2] for TAOS tsl2571 Device driver
Patch for tsl2571 driver.
Driver includes (iio_event/interrupt).
Corrected various functions to return proper status (vs eating status).
Corrected various formatting issues.
Changed term in lux calculation from 2^13 to 2^8 to accommodate updated lux table (glass coefficients). Updated default lux table (clear glass).
Signed-off-by Jon August Brenner <[email protected]>
--- drivers/staging/iio/light/Kconfig | 10 + drivers/staging/iio/light/Makefile | 1 + drivers/staging/iio/light/tsl2571.c | 1362 +++++++++++++++++++++++++++++++++++ 3 files changed, 1373 insertions(+), 0 deletions(-)
drivers/staging/iio/light/Kconfig +10 -0
@@ -24,3 +24,13 @@ config SENSORS_ISL29018 in lux, proximity infrared sensing and normal infrared sensing. Data from sensor is accessible via sysfs. +config SENSORS_TSL2571 + tristate "TAOS TSL2571 ambient light sensor" + depends on I2C + help + If you say yes here you get support for the TAOS TSL2571, + ambient light sensor with interrupt. + + This driver can also be built as a module. If so, the module + will be called tsl2571. +
drivers/staging/iio/light/Makefile +1 -0
@@ -4,3 +4,4 @@ obj-$(CONFIG_SENSORS_TSL2563) += tsl2563.o obj-$(CONFIG_SENSORS_ISL29018) += isl29018.o +obj-$(CONFIG_SENSORS_TSL2571) += tsl2571.o
drivers/staging/iio/light/tsl2571.c new file +1362 -0
1,362 lines not on this page · raw message
--
1.7.0.4