diff options
author | Archana Patni <archana.patni@linux.intel.com> | 2014-02-20 07:29:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-02-22 14:07:01 +0100 |
commit | 39a3a0138f6113805dc9e0813214cd4b03bd8ac0 (patch) | |
tree | 22d4649c5340abe1e868bc32bfef6d6f4751270f /drivers/iio/light/Kconfig | |
parent | iio: Avoid unnecessary kasprintf (diff) | |
download | linux-39a3a0138f6113805dc9e0813214cd4b03bd8ac0.tar.xz linux-39a3a0138f6113805dc9e0813214cd4b03bd8ac0.zip |
iio: hid-sensors: Added Proximity Sensor Driver
Added usage id processing for Proximity (Human Presence).
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: Archana Patni <archana.patni@intel.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light/Kconfig')
-rw-r--r-- | drivers/iio/light/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig index 3a7a5d9f03a3..c89740d4748f 100644 --- a/drivers/iio/light/Kconfig +++ b/drivers/iio/light/Kconfig @@ -73,6 +73,20 @@ config HID_SENSOR_ALS Say yes here to build support for the HID SENSOR Ambient light sensor. +config HID_SENSOR_PROX + depends on HID_SENSOR_HUB + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER + select HID_SENSOR_IIO_COMMON + select HID_SENSOR_IIO_TRIGGER + tristate "HID PROX" + help + Say yes here to build support for the HID SENSOR + Proximity sensor. + + To compile this driver as a module, choose M here: the + module will be called hid-sensor-prox. + config SENSORS_LM3533 tristate "LM3533 ambient light sensor" depends on MFD_LM3533 |