Linux-IIO Archive on lore.kernel.org
 help / Atom feed
* [PATCH v3 3/3] iio: chemical: sgp30: add device tree support
@ 2018-12-13 14:44 Andreas Brauchli
  2018-12-16 13:35 ` Jonathan Cameron
  2018-12-17 22:43 ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Brauchli @ 2018-12-13 14:44 UTC (permalink / raw)
  To: Jonathan Cameron, Hartmut Knaack, Lars-Peter Clausen,
	Peter Meerwald-Stadler, Rob Herring, Mark Rutland
  Cc: linux-iio, devicetree, linux-kernel, Andreas Brauchli

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

Signed-off-by: Andreas Brauchli <andreas.brauchli@sensirion.com>
---
 .../bindings/iio/chemical/sensirion,sgp30.txt     | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt

diff --git a/Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt b/Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt
new file mode 100644
index 000000000000..5844ed58173c
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt
@@ -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>;
+};
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3 3/3] iio: chemical: sgp30: add device tree support
  2018-12-13 14:44 [PATCH v3 3/3] iio: chemical: sgp30: add device tree support Andreas Brauchli
@ 2018-12-16 13:35 ` Jonathan Cameron
  2018-12-17 22:43 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2018-12-16 13:35 UTC (permalink / raw)
  To: Andreas Brauchli
  Cc: Hartmut Knaack, Lars-Peter Clausen, Peter Meerwald-Stadler,
	Rob Herring, Mark Rutland, linux-iio, devicetree, linux-kernel,
	Andreas Brauchli

On Thu, 13 Dec 2018 15:44:18 +0100
Andreas Brauchli <a.brauchli@elementarea.net> wrote:

> Add device tree support for Sensirion SGP30/SGPC3 gas sensors.
> 
> Signed-off-by: Andreas Brauchli <andreas.brauchli@sensirion.com>
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

> ---
>  .../bindings/iio/chemical/sensirion,sgp30.txt     | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt
> 
> diff --git a/Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt b/Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt
> new file mode 100644
> index 000000000000..5844ed58173c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt
> @@ -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>;
> +};


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3 3/3] iio: chemical: sgp30: add device tree support
  2018-12-13 14:44 [PATCH v3 3/3] iio: chemical: sgp30: add device tree support Andreas Brauchli
  2018-12-16 13:35 ` Jonathan Cameron
@ 2018-12-17 22:43 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2018-12-17 22:43 UTC (permalink / raw)
  To: Andreas Brauchli
  Cc: Jonathan Cameron, Hartmut Knaack, Lars-Peter Clausen,
	Peter Meerwald-Stadler, Mark Rutland, linux-iio, devicetree,
	linux-kernel, Andreas Brauchli

On Thu, 13 Dec 2018 15:44:18 +0100, Andreas Brauchli wrote:
> Add device tree support for Sensirion SGP30/SGPC3 gas sensors.
> 
> Signed-off-by: Andreas Brauchli <andreas.brauchli@sensirion.com>
> ---
>  .../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 <robh@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-13 14:44 [PATCH v3 3/3] iio: chemical: sgp30: add device tree support Andreas Brauchli
2018-12-16 13:35 ` Jonathan Cameron
2018-12-17 22:43 ` Rob Herring

Linux-IIO Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-iio/0 linux-iio/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-iio linux-iio/ https://lore.kernel.org/linux-iio \
		linux-iio@vger.kernel.org linux-iio@archiver.kernel.org
	public-inbox-index linux-iio


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-iio


AGPL code for this site: git clone https://public-inbox.org/ public-inbox