[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210831074832.16310-1-roan@protonic.nl>
Date: Tue, 31 Aug 2021 09:48:25 +0200
From: Roan van Dijk <roan@...tonic.nl>
To: Jonathan Cameron <jic23@...nel.org>
Cc: Rob Herring <robh+dt@...nel.org>,
Tomasz Duszynski <tomasz.duszynski@...akon.com>,
linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, david@...tonic.nl,
Lars-Peter Clausen <lars@...afoo.de>,
Roan van Dijk <roan@...tonic.nl>
Subject: [PATCH 0/3] iio: chemical: Add support for Sensirion SCD4x CO2 sensor
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
Powered by blists - more mailing lists