mbox series

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

Message ID 20210831074832.16310-1-roan@protonic.nl (mailing list archive)
Headers show
Series iio: chemical: Add support for Sensirion SCD4x CO2 sensor | expand

Message

Roan van Dijk Aug. 31, 2021, 7:48 a.m. UTC
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