diff options
author | Matt Ranostay <mranostay@gmail.com> | 2016-01-26 18:34:31 -0800 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-01-30 16:27:17 +0000 |
commit | 27dec00ecf2dfc830c6a407a9870776ea8efabcb (patch) | |
tree | cfda267df7f5eb02db38cf95b602d3855a81f745 /Documentation/devicetree/bindings/iio/chemical/atlas,ph-sm.txt | |
parent | ecb3a7ccc653fc8007edd0591d32d839386673f1 (diff) |
iio: chemical: add Atlas pH-SM sensor support
Add support for the Atlas Scientific pH-SM chemical sensor that can
detect pH levels of solutions in the range of 0-14.
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,ph-sm.txt')
-rw-r--r-- | Documentation/devicetree/bindings/iio/chemical/atlas,ph-sm.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/chemical/atlas,ph-sm.txt b/Documentation/devicetree/bindings/iio/chemical/atlas,ph-sm.txt new file mode 100644 index 000000000000..cffa1907463a --- /dev/null +++ b/Documentation/devicetree/bindings/iio/chemical/atlas,ph-sm.txt @@ -0,0 +1,22 @@ +* Atlas Scientific pH-SM OEM sensor + +http://www.atlas-scientific.com/_files/_datasheets/_oem/pH_oem_datasheet.pdf + +Required properties: + + - compatible: must be "atlas,ph-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@65 { + compatible = "atlas,ph-sm"; + reg = <0x65>; + interrupt-parent = <&gpio1>; + interrupts = <16 2>; +}; |