iio: chemical: add dsm501 particle sensor driver bindings
Subsystems (2)
PATCH v2 4/4 iio: chemical: add dsm501 particle sensor driver bindings
This patch adds bindings for dsm501 particle sensor driver.
Signed-off-by Tomasz Duszynski <[email protected]>
---
Changes in v2:
o add 'data' prefix to gpios property
.../devicetree/bindings/iio/chemical/dsm501.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/chemical/dsm501.txt
Documentation/devicetree/bindings/iio/chemical/dsm501.txt new file +16 -0
@@ -0,0 +1,16 @@ +* DSM501 particle sensor + +Required properties: + +- compatible: should be one of: + "samyoung,dsm501" + "shinyei,ppd42ns" +- data-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"; + data-gpios = <&gpio1 28 0>; +};
--
2.11.1
Quoted 10 lines · Tomasz Duszynski
This patch adds bindings for dsm501 particle sensor driver.
Signed-off-by Tomasz Duszynski <[email protected]>---
Changes in v2:
o add 'data' prefix to gpios property.../devicetree/bindings/iio/chemical/dsm501.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/chemical/dsm501.txt
Acked-by Rob Herring <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html