linux-hardened/drivers/iio
Peter Meerwald bbdb822c4c iio: add adjd_s311 I2C digital color sensor driver
sensor has 4 channels (10-bit each, R/G/B and clear), sensitivity
and gain is controlled in the driver by ext_info integration_time
and CHAN_INFO_HARDWAREGAIN

driver supports triggered buffer and IIO_CHAN_INFO_RAW to get the
sensor data

v5: address comments by Jonathan Cameron
* use macro for channel declaration
* get timestamp right before measurement
* cleanups

v4: address comments by Lars-Peter Clausen
* make sure trigger handler is exited with iio_trigger_notify_done()
  and IRQ_HANDLED
* kfree()/kalloc() -> krealloc()

v3:
* fix warnings

v2: address comments by Lars-Peter Clausen
* buffer allocation now in update_scan_mode instead of in trigger
  handler
* simplify trigger code (assume active_scan_mask is not empty, use
  for_each_set_bit, use iio_push_to_buffer)
* reorder entry in Makefile and Kconfig
* fix remove

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2012-07-12 17:45:34 +01:00
..
adc iio:adc: Add AD7265/AD7266 support 2012-06-30 10:15:07 +01:00
amplifiers iio: amplifiers: New driver for AD8366 Dual-Digital Variable Gain Amplifier 2012-05-14 13:15:39 -07:00
dac iio:dac:ad5064: Add support for the ad5629r and ad5669r 2012-06-30 10:15:09 +01:00
frequency iio: ad9523: Fix argument type mismatch 2012-06-12 14:50:51 -07:00
light iio: add adjd_s311 I2C digital color sensor driver 2012-07-12 17:45:34 +01:00
iio_core.h IIO: Move the core files to drivers/iio 2012-04-25 11:11:38 -07:00
iio_core_trigger.h IIO: Move the core files to drivers/iio 2012-04-25 11:11:38 -07:00
industrialio-buffer.c iio: Introduce iio_validate_scan_mask_onehot 2012-07-09 18:18:15 +01:00
industrialio-core.c IIO channel type and modifiers for CCT and RGBC data 2012-07-10 18:49:26 +01:00
industrialio-event.c iio: Use dev_to_iio_dev() 2012-05-14 13:37:45 -07:00
industrialio-trigger.c iio:trigger: Register sysfs file statically 2012-07-08 10:39:58 +01:00
industrialio-triggered-buffer.c iio: Add helper function for initializing triggered buffers 2012-06-18 17:26:09 -07:00
inkern.c iio: Rename _st_ functions to loose the bit that meant the staging version. 2012-06-30 10:15:12 +01:00
Kconfig Merge 3.5-rc4 into staging-next 2012-06-25 09:31:00 -07:00
kfifo_buf.c IIO: Move the core files to drivers/iio 2012-04-25 11:11:38 -07:00
Makefile iio: Add helper function for initializing triggered buffers 2012-06-18 17:26:09 -07:00