linux/drivers/iio
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
..
accel iio:accel:bma180 replaces IIO_ST macro with explicit entries to struct scan_type 2013-12-17 20:55:01 +00:00
adc iio: delete non-required instances of include <linux/init.h> 2014-01-11 11:59:00 +00:00
amplifiers iio: amplifiers: ad8366: Remove regulator_put 2013-09-28 11:49:45 +01:00
common iio: hid-sensors: Fix power and report state 2013-12-02 21:05:32 +00:00
dac iio: delete non-required instances of include <linux/init.h> 2014-01-11 11:59:00 +00:00
frequency Merge 3.12-rc6 into staging-next. 2013-10-19 13:14:34 -07:00
gyro Merge v3.13-rc2 into staging-next 2013-12-02 16:39:07 -08:00
humidity iio: Add si7005 relative humidity and temperature sensor driver 2014-01-11 11:12:44 +00:00
imu iio: delete non-required instances of include <linux/init.h> 2014-01-11 11:59:00 +00:00
light iio: Add Lite-On ltr501 ambient light / proximity sensor driver 2014-01-12 18:15:40 +00:00
magnetometer iio🔍mag3110 replaces IIO_ST macro with explicit entries to struct scan_type 2013-12-17 20:55:50 +00:00
orientation iio: hid-sensors: Added Inclinometer 3D 2013-12-03 20:31:59 +00:00
pressure iio:pressure:mpl3115: Fix sparse cast to restricted __be32 warning 2014-01-11 16:15:32 +00:00
temperature Merge 3.12-rc2 into staging-next. 2013-09-25 08:59:04 -07:00
trigger iio:trigger: fix sysfs name on list mutex 2013-09-28 11:51:16 +01:00
buffer_cb.c iio: Add reference counting for buffers 2013-10-12 12:04:01 +01:00
iio_core.h iio: Factor IIO value formating into its own function 2013-10-12 12:23:33 +01:00
iio_core_trigger.h iio: fix semicolon in io_core_trigger.h 2013-08-03 18:40:32 +01:00
industrialio-buffer.c iio: Add support for blocking IO on buffers 2013-12-03 20:22:29 +00:00
industrialio-core.c iio: Add support for humidity sensors 2013-12-03 20:22:29 +00:00
industrialio-event.c iio: Remove support for the legacy event config interface 2013-12-08 13:13:52 +00:00
industrialio-trigger.c iio:trigger: Convert to use ATTRIBUTE_GROUPS 2013-12-03 20:22:29 +00:00
industrialio-triggered-buffer.c iio:triggered-buffer: Remove redundant call to iio_sw_buffer_preenable(). 2013-10-16 19:12:47 +01:00
inkern.c iio: inkern: fix iio_convert_raw_to_processed_unlocked 2013-07-03 20:30:52 +01:00
Kconfig iio: hid-sensors: Added Inclinometer 3D 2013-12-03 20:31:59 +00:00
kfifo_buf.c iio: kfifo_buf: Implement data_available() callback 2013-12-03 20:22:28 +00:00
Makefile iio: hid-sensors: Added Inclinometer 3D 2013-12-03 20:31:59 +00:00