Skip to contentSkip to conversation

TAOS tsl2771 Device Driver

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

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 TAOS tsl2771 Device Driver

[PATCH v1] 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 | 1917 +++++++++++++++++++++++++++++++++++
 3 files changed, 1928 insertions(+), 0 deletions(-)
drivers/staging/iio/light/Kconfig +10 -0
index 36d8bbe..a75a700 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,
+	 family of 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 +1917 -0

1,917 lines not on this page · raw message

--
1.7.0.4