* [PATCH 4/4] iio: chemical: add dsm501 particle sensor driver bindings
@ 2017-02-05 15:03 Tomasz Duszynski
2017-02-08 22:10 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Tomasz Duszynski @ 2017-02-05 15:03 UTC (permalink / raw)
To: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-iio-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA
Cc: jic23-DgEjT+Ai2ygdnm+yROfE0A, knaack.h-Mmb7MZpHnFY,
lars-Qo5EllUWu/uELgA04lAiVw, pmeerw-jW+XmwGofnusTnJN9+BGXg,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8
This patch adds bindings for dsm501 particle sensor driver.
Signed-off-by: Tomasz Duszynski <tduszyns-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
.../devicetree/bindings/iio/chemical/dsm501.txt | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/chemical/dsm501.txt
diff --git a/Documentation/devicetree/bindings/iio/chemical/dsm501.txt b/Documentation/devicetree/bindings/iio/chemical/dsm501.txt
new file mode 100644
index 000000000000..918c55c4c401
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/chemical/dsm501.txt
@@ -0,0 +1,16 @@
+* DSM501 particle sensor
+
+Required properties:
+
+- compatible: should be one of:
+ "samyoung,dsm501"
+ "shinyei,ppd42ns"
+- gpios: should specify the GPIO connected to the sensor's data line, see
+ "gpios property" in Documentation/devicetree/bindings/gpio/gpio.txt
+
+Example:
+
+dsm501 {
+ compatible = "samyoung,dsm501";
+ gpios = <&gpio1 28 0>;
+};
--
2.11.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 4/4] iio: chemical: add dsm501 particle sensor driver bindings
2017-02-05 15:03 [PATCH 4/4] iio: chemical: add dsm501 particle sensor driver bindings Tomasz Duszynski
@ 2017-02-08 22:10 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2017-02-08 22:10 UTC (permalink / raw)
To: Tomasz Duszynski
Cc: linux-kernel, linux-iio, devicetree, jic23, knaack.h, lars,
pmeerw, mark.rutland
On Sun, Feb 05, 2017 at 04:03:44PM +0100, Tomasz Duszynski wrote:
> This patch adds bindings for dsm501 particle sensor driver.
>
> Signed-off-by: Tomasz Duszynski <tduszyns@gmail.com>
> ---
> .../devicetree/bindings/iio/chemical/dsm501.txt | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/chemical/dsm501.txt
>
> diff --git a/Documentation/devicetree/bindings/iio/chemical/dsm501.txt b/Documentation/devicetree/bindings/iio/chemical/dsm501.txt
> new file mode 100644
> index 000000000000..918c55c4c401
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/chemical/dsm501.txt
> @@ -0,0 +1,16 @@
> +* DSM501 particle sensor
> +
> +Required properties:
> +
> +- compatible: should be one of:
> + "samyoung,dsm501"
> + "shinyei,ppd42ns"
> +- gpios: should specify the GPIO connected to the sensor's data line, see
> + "gpios property" in Documentation/devicetree/bindings/gpio/gpio.txt
data-gpios would be preferred. With that,
Acked-by: Rob Herring <robh@kernel.org>
> +
> +Example:
> +
> +dsm501 {
> + compatible = "samyoung,dsm501";
> + gpios = <&gpio1 28 0>;
> +};
> --
> 2.11.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-08 22:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-05 15:03 [PATCH 4/4] iio: chemical: add dsm501 particle sensor driver bindings Tomasz Duszynski
2017-02-08 22:10 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).