diff options
author | Tomasz Duszynski <tomasz.duszynski@octakon.com> | 2020-06-21 22:57:00 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-06-27 16:52:38 +0300 |
commit | d4553d6ec17aaf98a123ae47682b0fed72f1d4dc (patch) | |
tree | ea88a4c8a74950224f349ca16a2500cc46c159df /drivers/iio/chemical/Kconfig | |
parent | e510190e013961b4b21a73c79175a6431b566075 (diff) | |
download | linux-d4553d6ec17aaf98a123ae47682b0fed72f1d4dc.tar.xz |
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/Kconfig | 11 |
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 |