Skip to contentSkip to conversation

TAOS tsl2771 Device Driver

PATCH Superseded Jon Brenner 1 participant 1 message Apr 21, 2011

Subsystems (3)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 TAOS tsl2771 Device Driver

[PATCH v2] 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 | 1851 +++++++++++++++++++++++++++++++++++
 3 files changed, 1862 insertions(+), 0 deletions(-)
drivers/staging/iio/light/Kconfig +10 -0
index 36d8bbe..8f19b50 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 TSL277x,
+	 proximity and ambient light sensor family.
+
+	 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 +1851 -0

1,851 lines not on this page · raw message

--
1.7.0.4