Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1573890 > unrolled thread
| Started by | Tomasz Duszynski <tduszyns@gmail.com> |
|---|---|
| First post | 2017-02-05 16:10 +0100 |
| Last post | 2017-02-08 23:20 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 4/4] iio: chemical: add dsm501 particle sensor driver bindings Tomasz Duszynski <tduszyns@gmail.com> - 2017-02-05 16:10 +0100
Re: [PATCH 4/4] iio: chemical: add dsm501 particle sensor driver bindings Rob Herring <robh@kernel.org> - 2017-02-08 23:20 +0100
| From | Tomasz Duszynski <tduszyns@gmail.com> |
|---|---|
| Date | 2017-02-05 16:10 +0100 |
| Subject | [PATCH 4/4] iio: chemical: add dsm501 particle sensor driver bindings |
| Message-ID | <t7wBY-xf-31@gated-at.bofh.it> |
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
+
+Example:
+
+dsm501 {
+ compatible = "samyoung,dsm501";
+ gpios = <&gpio1 28 0>;
+};
--
2.11.1
[toc] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2017-02-08 23:20 +0100 |
| Subject | Re: [PATCH 4/4] iio: chemical: add dsm501 particle sensor driver bindings |
| Message-ID | <t8IKK-63Z-13@gated-at.bofh.it> |
| In reply to | #1573890 |
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
>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web