diff options
author | Amit Kucheria <amit.kucheria@verdurent.com> | 2009-11-09 15:14:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 12:23:19 -0800 |
commit | ee1f1fa4071416b130fd0771d1f26ea3f41e1fc3 (patch) | |
tree | d99055300b4b7aa812256396262de67ab0e0bc8d /drivers/staging/iio/light/tsl2563.h | |
parent | 51bf00aef02d410bf74afb31ec2d5dbcedb1a52f (diff) | |
download | op-kernel-dev-ee1f1fa4071416b130fd0771d1f26ea3f41e1fc3.zip op-kernel-dev-ee1f1fa4071416b130fd0771d1f26ea3f41e1fc3.tar.gz |
Staging: iio: tsl2563 ambient light sensor driver
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>
Diffstat (limited to 'drivers/staging/iio/light/tsl2563.h')
-rw-r--r-- | drivers/staging/iio/light/tsl2563.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/staging/iio/light/tsl2563.h b/drivers/staging/iio/light/tsl2563.h new file mode 100644 index 0000000..b97368b --- /dev/null +++ b/drivers/staging/iio/light/tsl2563.h @@ -0,0 +1,9 @@ +#ifndef __LINUX_TSL2563_H +#define __LINUX_TSL2563_H + +struct tsl2563_platform_data { + int cover_comp_gain; +}; + +#endif /* __LINUX_TSL2563_H */ + |