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@xxxxxxxxxxxxx> > --- > .../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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html