Skip to contentSkip to conversation

TAOS tsl2771 Device Driver

PATCH New Jon Brenner 1 participant 1 message Apr 23, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 TAOS tsl2771 Device Driver

[PATCH v3] for TAOS tsl2771 Device driver

Patch for tsl2771 driver.
Driver includes (iio_event/interrupt), proximity and ALS.

---
 drivers/staging/iio/light/Kconfig   |   10 +
 drivers/staging/iio/light/Makefile  |    1 +
 drivers/staging/iio/light/tsl2771.c | 1849 +++++++++++++++++++++++++++++++++++
 3 files changed, 1860 insertions(+), 0 deletions(-)
drivers/staging/iio/light/Kconfig +10 -0
index 36d8bbe..f0e7c11 100644
@@ -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_TSL2771
+	tristate "TAOS TSL2771 proximity and ambient light sensor"
+	depends on I2C
+	help
+	 If you say yes here you get support for the TAOS tsl2771,
+	 proximity and ambient light sensors.
+
+	 This driver can also be built as a module.  If so, the module
+	 will be called tsl2771.
+
drivers/staging/iio/light/Makefile +1 -0
index 9142c0e..33ed99d 100644
@@ -4,3 +4,4 @@
 
 obj-$(CONFIG_SENSORS_TSL2563)	+= tsl2563.o
 obj-$(CONFIG_SENSORS_ISL29018)	+= isl29018.o
+obj-$(CONFIG_SENSORS_TSL2771)	+= tsl2771.o
drivers/staging/iio/light/tsl2771.c new file +1849 -0

1,849 lines not on this page · raw message

--
1.7.0.4