iio: chemical: sgp30: add device tree support
Add device tree support for Sensirion SGP30/SGPC3 gas sensors. Signed-off-by: Andreas Brauchli <andreas.brauchli@sensirion.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
ce51412416
commit
4535fa0576
@ -0,0 +1,15 @@
|
|||||||
|
* 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>;
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user