diff options
author | srinivas pandruvada <srinivas.pandruvada@intel.com> | 2012-09-05 13:56:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-09-06 19:24:15 +0100 |
commit | ed5514c925a0e1266e70630092a77bd0c89aee1f (patch) | |
tree | 2d7398ba5e7427b8454d4e079cb236f7fd7c8903 /drivers/iio/light/Kconfig | |
parent | bc1d57ba0669877819822c05861961bb1f348840 (diff) | |
download | linux-stable-ed5514c925a0e1266e70630092a77bd0c89aee1f.tar.gz linux-stable-ed5514c925a0e1266e70630092a77bd0c89aee1f.tar.bz2 linux-stable-ed5514c925a0e1266e70630092a77bd0c89aee1f.zip |
iio: hid-sensors: Added ALS
Added usage id processing for ALS. This uses IIO
interfaces for triggered buffer to present data to user
mode.This uses HID sensor framework for registering callback
events from the sensor hub.
Signed-off-by: srinivas pandruvada <srinivas.pandruvada@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light/Kconfig')
-rw-r--r-- | drivers/iio/light/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig index 91d15d2f694f..1763c9bcb98a 100644 --- a/drivers/iio/light/Kconfig +++ b/drivers/iio/light/Kconfig @@ -42,4 +42,14 @@ config VCNL4000 To compile this driver as a module, choose M here: the module will be called vcnl4000. +config HID_SENSOR_ALS + depends on HID_SENSOR_HUB + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER + select HID_SENSOR_IIO_COMMON + tristate "HID ALS" + help + Say yes here to build support for the HID SENSOR + Ambient light sensor. + endmenu |