summaryrefslogtreecommitdiffstats
path: root/drivers/iio/chemical/Kconfig
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2016-01-26 18:34:31 -0800
committerJonathan Cameron <jic23@kernel.org>2016-01-30 16:27:17 +0000
commit27dec00ecf2dfc830c6a407a9870776ea8efabcb (patch)
treecfda267df7f5eb02db38cf95b602d3855a81f745 /drivers/iio/chemical/Kconfig
parentecb3a7ccc653fc8007edd0591d32d839386673f1 (diff)
downloadlinux-27dec00ecf2dfc830c6a407a9870776ea8efabcb.tar.gz
linux-27dec00ecf2dfc830c6a407a9870776ea8efabcb.tar.bz2
linux-27dec00ecf2dfc830c6a407a9870776ea8efabcb.zip
iio: chemical: add Atlas pH-SM sensor support
Add support for the Atlas Scientific pH-SM chemical sensor that can detect pH levels of solutions in the range of 0-14. Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/chemical/Kconfig')
-rw-r--r--drivers/iio/chemical/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/iio/chemical/Kconfig b/drivers/iio/chemical/Kconfig
index f16de61be46d..ce7cd1370f74 100644
--- a/drivers/iio/chemical/Kconfig
+++ b/drivers/iio/chemical/Kconfig
@@ -4,6 +4,19 @@
menu "Chemical Sensors"
+config ATLAS_PH_SENSOR
+ tristate "Atlas Scientific OEM pH-SM sensor"
+ depends on I2C
+ select REGMAP_I2C
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
+ help
+ Say Y here to build I2C interface support for the Atlas
+ Scientific OEM pH-SM sensor.
+
+ To compile this driver as module, choose M here: the
+ module will be called atlas-ph-sensor.
+
config IAQCORE
tristate "AMS iAQ-Core VOC sensors"
depends on I2C