Re: [PATCH v5 3/4] drivers: iio: chemical: Add support for Sensirion SCD4x CO2 sensor
From: Randy Dunlap <hidden>
Date: 2021-10-08 16:15:46
Also in:
linux-iio, lkml
From: Randy Dunlap <hidden>
Date: 2021-10-08 16:15:46
Also in:
linux-iio, lkml
On 10/8/21 3:17 AM, Roan van Dijk wrote:
diff --git a/drivers/iio/chemical/Kconfig b/drivers/iio/chemical/Kconfig index c03667e62732..f4d2fcb1b9ac 100644 --- a/drivers/iio/chemical/Kconfig +++ b/drivers/iio/chemical/Kconfig@@ -118,6 +118,19 @@ config SCD30_SERIAL To compile this driver as a module, choose M here: the module will be called scd30_serial. +config SCD4X + tristate "SCD4X carbon dioxide sensor driver" + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER + depends on I2C + select CRC8 + help + Say Y here to build support for the Sensirion SCD4X sensor with cabon
carbon
+ dioxide, relative humidity and temperature sensing capabilities
capabilities.
+ + To compile this driver as a module, choose M here: the module will + be called scd4x.
-- ~Randy