[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180317234938.qf7j45o53nu4ryu2@rob-hp-laptop>
Date: Sun, 18 Mar 2018 07:48:33 -0500
From: Rob Herring <robh@...nel.org>
To: Andreas Brauchli <a.brauchli@...mentarea.net>
Cc: Jonathan Cameron <jic23@...nel.org>,
Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Mark Rutland <mark.rutland@....com>,
Jonathan Corbet <corbet@....net>, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-doc@...r.kernel.org
Subject: Re: [PATCH v2 2/2] iio: chemical: sgp30: Support Sensirion SGPxx
sensors
On Sat, Mar 10, 2018 at 11:07:30PM +0100, Andreas Brauchli wrote:
> Support Sensirion SGP30 and SGPC3 multi-pixel I2C gas sensors
>
> Supported Features:
>
> * Indoor Air Quality (IAQ) concentrations for
> - tVOC (in_concentration_voc_input)
> - CO2eq (in_concentration_co2_input) - SGP30 only
> IAQ concentrations are periodically read out by a background thread
> to allow the sensor to maintain its internal baseline.
> * Baseline support for IAQ (in_iaq_baseline, set_iaq_baseline)
> * Gas concentration signals
> - Ethanol (in_concentration_ethanol_raw)
> - H2 (in_concentration_h2_raw) - SGP30 only
> * On-chip self test (in_selftest)
> * Sensor interface version (in_feature_set_version)
> * Sensor serial number (in_serial_id)
> * Humidity compensation
> With the help of an external humidity signal, the gas signals can be
> humidity-compensated. The sensor performs the compensation on-chip.
> * Power mode switching between low power mode (1/2Hz) and
> ultra low power mode (1/30Hz) sampling - SGPC3 only
> * Checksummed I2C communication
>
> For all features, refer to the data sheet or the documentation in
> Documentation/iio/chemical/sgp30.txt for more details.
>
> The ABI is documented in
> Documentation/ABI/testing/sysfs-bus-iio-chemical-sgp30
>
> Signed-off-by: Andreas Brauchli <andreas.brauchli@...sirion.com>
> ---
> .../ABI/testing/sysfs-bus-iio-chemical-sgp30 | 62 ++
> .../bindings/iio/chemical/sensirion,sgp30.txt | 15 +
Please split bindings to separate patch.
> Documentation/iio/chemical/sgp30.txt | 97 ++
> drivers/iio/chemical/Kconfig | 13 +
> drivers/iio/chemical/Makefile | 1 +
> drivers/iio/chemical/sgp30.c | 1120 ++++++++++++++++++++
> 6 files changed, 1308 insertions(+)
> create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-chemical-sgp30
> create mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt
> create mode 100644 Documentation/iio/chemical/sgp30.txt
> create mode 100644 drivers/iio/chemical/sgp30.c
Powered by blists - more mailing lists