[PATCH 0/3] iio: chemical: Add support for Sensirion SCD4x CO2 sensor

From: Roan van Dijk
Date: Tue Aug 31 2021 - 03:55:03 EST


This series adds support for the Sensirion SCD4x sensor.

The driver supports continuous reads of temperature, relative humdity and CO2
concentration. There is an interval of 5 seconds between readings. During
this interval the drivers checks if the sensor has new data available.

The driver is based on the scd30 driver. However, The scd4x has become too
different to just expand the scd30 driver. I made a new driver instead of
expanding the scd30 driver. I hope I made the right choice by doing so?

Roan van Dijk (3):
dt-bindings: iio: chemical: sensirion,scd4x: Add yaml description
MAINTAINERS: Add myself as maintainer of the scd4x driver
drivers: iio: chemical: Add support for Sensirion SCD4x CO2 sensor

.../iio/chemical/sensirion,scd4x.yaml | 45 ++
MAINTAINERS | 6 +
drivers/iio/chemical/Kconfig | 13 +
drivers/iio/chemical/Makefile | 1 +
drivers/iio/chemical/scd4x.c | 707 ++++++++++++++++++
5 files changed, 772 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,scd4x.yaml
create mode 100644 drivers/iio/chemical/scd4x.c

--
2.30.2