From e510190e013961b4b21a73c79175a6431b566075 Mon Sep 17 00:00:00 2001 From: Tomasz Duszynski Date: Sun, 21 Jun 2020 21:56:59 +0200 Subject: iio: chemical: scd30: add I2C interface driver Add I2C interface driver for the SCD30 sensor. Signed-off-by: Tomasz Duszynski Reviewed-by: Andy Shevchenko Signed-off-by: Jonathan Cameron --- drivers/iio/chemical/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'drivers/iio/chemical/Kconfig') 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 -- cgit