Skip to content

Commit

Permalink
Staging: iio: tsl2563 ambient light sensor driver
Browse files Browse the repository at this point in the history
Add driver support for the tsl2563 TAOS ambient light sensor. After looking at
discussions on LKML, the driver was modified from a 'hwmon' driver to an 'iio'
driver. The sysfs interfaces have been tested on an RX51 (N900) to see if it
responds to changing light conditions.

The only real reason for submitting this to staging is that it is dependent on
the IIO subsystem.

Signed-off-by: Amit Kucheria <amit.kucheria@verdurent.com>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Amit Kucheria authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent 51bf00a commit ee1f1fa
Show file tree
Hide file tree
Showing 4 changed files with 793 additions and 0 deletions.
11 changes: 11 additions & 0 deletions drivers/staging/iio/light/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,14 @@ config TSL2561
convertor. This chip has two light sensors. One is broadband
including infrared whilst the other measures only infrared.
Provides direct access via sysfs.

config SENSORS_TSL2563
tristate "TAOS TSL2563 ambient light sensor"
depends on I2C
help
If you say yes here you get support for the Taos TSL2563
ambient light sensor (found in N900).

This driver can also be built as a module. If so, the module
will be called tsl2563.

1 change: 1 addition & 0 deletions drivers/staging/iio/light/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
#

obj-$(CONFIG_TSL2561) += tsl2561.o
obj-$(CONFIG_SENSORS_TSL2563) += tsl2563.o
Loading

0 comments on commit ee1f1fa

Please sign in to comment.