aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/proximity/Kconfig
diff options
context:
space:
mode:
authorVlad Dogaru <vlad.dogaru@intel.com>2014-12-29 14:41:14 +0200
committerJonathan Cameron <jic23@kernel.org>2015-01-05 18:59:42 +0000
commit4193c0f1d8631d439cea5f78329fe70f3a6e9128 (patch)
tree82ed14193f085308e9724d767d4848cea762de02 /drivers/iio/proximity/Kconfig
parentstaging: iio: dummy: fix compile error when not using buffering (diff)
downloadlinux-dev-4193c0f1d8631d439cea5f78329fe70f3a6e9128.tar.xz
linux-dev-4193c0f1d8631d439cea5f78329fe70f3a6e9128.zip
iio: driver for Semtech SX9500 proximity solution
Supports buffering, IIO events and changing sampling frequency. Datasheet available at: http://www.semtech.com/images/datasheet/sx9500_ag.pdf Signed-off-by: Vlad Dogaru <vlad.dogaru@intel.com> Reviewed-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/proximity/Kconfig')
-rw-r--r--drivers/iio/proximity/Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/iio/proximity/Kconfig b/drivers/iio/proximity/Kconfig
index 0c8cdf58f6a1..41a8d8ffa0de 100644
--- a/drivers/iio/proximity/Kconfig
+++ b/drivers/iio/proximity/Kconfig
@@ -17,3 +17,20 @@ config AS3935
module will be called as3935
endmenu
+
+menu "Proximity sensors"
+
+config SX9500
+ tristate "SX9500 Semtech proximity sensor"
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
+ select REGMAP_I2C
+ depends on I2C
+ help
+ Say Y here to build a driver for Semtech's SX9500 capacitive
+ proximity/button sensor.
+
+ To compile this driver as a module, choose M here: the
+ module will be called sx9500.
+
+endmenu