summaryrefslogtreecommitdiff
path: root/drivers/iio/chemical/Kconfig
diff options
context:
space:
mode:
authorTomasz Duszynski <tomasz.duszynski@octakon.com>2020-06-21 21:57:00 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-06-27 14:52:38 +0100
commitd4553d6ec17aaf98a123ae47682b0fed72f1d4dc (patch)
treeea88a4c8a74950224f349ca16a2500cc46c159df /drivers/iio/chemical/Kconfig
parente510190e013961b4b21a73c79175a6431b566075 (diff)
iio: chemical: scd30: add serial interface driver
Add serial 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 970d34888c2e..10bb431bc3ce 100644
--- a/drivers/iio/chemical/Kconfig
+++ b/drivers/iio/chemical/Kconfig
@@ -107,6 +107,17 @@ config SCD30_I2C
To compile this driver as a module, choose M here: the module will
be called scd30_i2c.
+config SCD30_SERIAL
+ tristate "SCD30 carbon dioxide sensor serial driver"
+ depends on SCD30_CORE && SERIAL_DEV_BUS
+ select CRC16
+ help
+ Say Y here to build support for the Sensirion SCD30 serial interface
+ driver.
+
+ To compile this driver as a module, choose M here: the module will
+ be called scd30_serial.
+
config SENSIRION_SGP30
tristate "Sensirion SGPxx gas sensors"
depends on I2C