iio: chemical: sgp30: add device tree support
Subsystems (2)
PATCH v3 3/3 iio: chemical: sgp30: add device tree support
Add device tree support for Sensirion SGP30/SGPC3 gas sensors.
Signed-off-by Andreas Brauchli <[email protected]>
--- .../bindings/iio/chemical/sensirion,sgp30.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt
Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt new file +15 -0
@@ -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>; +};
Signature · 1 line
2.17.1
Jonathan Cameron
maintainerQuoted 3 lines · On Thu, 13 Dec 2018 15:44:18 +0100 Andreas Brauchli…
Add device tree support for Sensirion SGP30/SGPC3 gas sensors.
Signed-off-by Andreas Brauchli <[email protected]>
Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.
Note this missed (by about a week) the cut off for the current cycle, so this will be in the second one of the new year.
Jonathan
Quoted 26 lines
--- .../bindings/iio/chemical/sensirion,sgp30.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txtDocumentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt new file +15
-0@@ -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>; +};
Quoted 8 lines · Andreas Brauchli
Add device tree support for Sensirion SGP30/SGPC3 gas sensors.
Signed-off-by Andreas Brauchli <[email protected]>--- .../bindings/iio/chemical/sensirion,sgp30.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt
Reviewed-by Rob Herring <[email protected]>