summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/chemical/atlas,orp-sm.txt
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2016-08-19 13:36:11 -0700
committerJonathan Cameron <jic23@kernel.org>2016-08-21 11:59:53 +0100
commitce08cc986ed6bcd43fcbef83ef6efc62a2d44eef (patch)
treed3fe8098c4a41f9e40f690e549f2126d6de07624 /Documentation/devicetree/bindings/iio/chemical/atlas,orp-sm.txt
parentd7c0e5ae70205be94809c887b8f621dd226ea2f2 (diff)
iio: chemical: atlas-ph-sensor: add ORP feature
Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/chemical/atlas,orp-sm.txt')
-rw-r--r--Documentation/devicetree/bindings/iio/chemical/atlas,orp-sm.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/chemical/atlas,orp-sm.txt b/Documentation/devicetree/bindings/iio/chemical/atlas,orp-sm.txt
new file mode 100644
index 000000000000..5d8b687d5edc
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/chemical/atlas,orp-sm.txt
@@ -0,0 +1,22 @@
+* Atlas Scientific ORP-SM OEM sensor
+
+https://www.atlas-scientific.com/_files/_datasheets/_oem/ORP_oem_datasheet.pdf
+
+Required properties:
+
+ - compatible: must be "atlas,orp-sm"
+ - reg: the I2C address of the sensor
+ - interrupt-parent: should be the phandle for the interrupt controller
+ - interrupts: the sole interrupt generated by the device
+
+ Refer to interrupt-controller/interrupts.txt for generic interrupt client
+ node bindings.
+
+Example:
+
+atlas@66 {
+ compatible = "atlas,orp-sm";
+ reg = <0x66>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <16 2>;
+};