2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/drivers/iio/light
Peter Meerwald 2690be9051 iio: Add Lite-On ltr501 ambient light / proximity sensor driver
combined ambient light (two channels) and proximity sensor with I2C
interface; the ALS channels are visible+IR and IR

datasheet is here
http://optoelectronics.liteon.com/upload/download/DS86-2012-0006/P_100_LTR-501ALS-01_PrelimDS_ver1.1.pdf

v3:
* fix use of sizeof in _read_als()
v2: (thanks to Lars-Peter Clausen)
* cannot use devm_iio_device_register() due to cleanup order in _remove()
* mutex around data wait/read
* turn info message in _probe() into check for part number
* change copyright year to 2014

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-01-12 18:15:40 +00:00
..
adjd_s311.c iio: delete non-required instances of include <linux/init.h> 2014-01-11 11:59:00 +00:00
apds9300.c iio: Remove support for the legacy event config interface 2013-12-08 13:13:52 +00:00
cm32181.c iio: add Capella CM32181 ambient light sensor driver. 2014-01-01 12:03:32 +00:00
cm36651.c 2nd round of new IIO drivers, features and cleanups for the 3.14 cycle. 2013-12-24 10:30:57 -08:00
gp2ap020a00f.c iio: Remove support for the legacy event config interface 2013-12-08 13:13:52 +00:00
hid-sensor-als.c Merge v3.13-rc2 into staging-next 2013-12-02 16:39:07 -08:00
Kconfig iio: Add Lite-On ltr501 ambient light / proximity sensor driver 2014-01-12 18:15:40 +00:00
lm3533-als.c iio: light: lm3533-als: Use devm_iio_device_alloc 2013-08-03 18:55:25 +01:00
ltr501.c iio: Add Lite-On ltr501 ambient light / proximity sensor driver 2014-01-12 18:15:40 +00:00
Makefile iio: Add Lite-On ltr501 ambient light / proximity sensor driver 2014-01-12 18:15:40 +00:00
tcs3472.c iio: Remove obsolete variable in tcs3472 driver 2014-01-11 11:51:33 +00:00
tsl2563.c iio: Remove support for the legacy event config interface 2013-12-08 13:13:52 +00:00
tsl4531.c iio: Add tsl4531 ambient light sensor driver 2013-09-14 21:17:15 +01:00
vcnl4000.c iio:vcnl4000: Mark transfer buffer as __be16 2013-12-03 20:22:27 +00:00