Commit 4535fa05 authored by Andreas Brauchli's avatar Andreas Brauchli Committed by Jonathan Cameron
Browse files

iio: chemical: sgp30: add device tree support



Add device tree support for Sensirion SGP30/SGPC3 gas sensors.

Signed-off-by: default avatarAndreas Brauchli <andreas.brauchli@sensirion.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent ce514124
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
* Sensirion SGP30/SGPC3 multi-pixel Gas Sensor

Required properties:

  - compatible: must be one of
    "sensirion,sgp30"
    "sensirion,sgpc3"
  - reg: the I2C address of the sensor

Example:

gas@58 {
	compatible = "sensirion,sgp30";
	reg = <0x58>;
};