summaryrefslogtreecommitdiffstats
path: root/drivers/iio/chemical/Kconfig
diff options
context:
space:
mode:
authorTomasz Duszynski <tomasz.duszynski@octakon.com>2020-06-21 21:56:59 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-06-27 15:50:30 +0200
commite510190e013961b4b21a73c79175a6431b566075 (patch)
treebf87ae2068cd15c1820e688fbbbf56a7ed1eb1ef /drivers/iio/chemical/Kconfig
parentiio: chemical: scd30: add core driver (diff)
downloadlinux-e510190e013961b4b21a73c79175a6431b566075.tar.xz
linux-e510190e013961b4b21a73c79175a6431b566075.zip
iio: chemical: scd30: add I2C interface driver
Add I2C interface driver for the SCD30 sensor. Signed-off-by: Tomasz Duszynski <tomasz.duszynski@octakon.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/chemical/Kconfig')
-rw-r--r--drivers/iio/chemical/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/iio/chemical/Kconfig b/drivers/iio/chemical/Kconfig
index 99e852b67e55..970d34888c2e 100644
--- a/drivers/iio/chemical/Kconfig
+++ b/drivers/iio/chemical/Kconfig
@@ -96,6 +96,17 @@ config SCD30_CORE
To compile this driver as a module, choose M here: the module will
be called scd30_core.
+config SCD30_I2C
+ tristate "SCD30 carbon dioxide sensor I2C driver"
+ depends on SCD30_CORE && I2C
+ select CRC8
+ help
+ Say Y here to build support for the Sensirion SCD30 I2C interface
+ driver.
+
+ To compile this driver as a module, choose M here: the module will
+ be called scd30_i2c.
+
config SENSIRION_SGP30
tristate "Sensirion SGPxx gas sensors"
depends on I2C