diff options
author | Matt Ranostay <mranostay@gmail.com> | 2016-08-19 22:36:11 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-08-21 12:59:53 +0200 |
commit | ce08cc986ed6bcd43fcbef83ef6efc62a2d44eef (patch) | |
tree | d3fe8098c4a41f9e40f690e549f2126d6de07624 /Documentation | |
parent | iio: chemical: atlas-ph-sensor: switch to REGCACHE_NONE regmap tree (diff) | |
download | linux-ce08cc986ed6bcd43fcbef83ef6efc62a2d44eef.tar.xz linux-ce08cc986ed6bcd43fcbef83ef6efc62a2d44eef.zip |
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')
-rw-r--r-- | Documentation/devicetree/bindings/iio/chemical/atlas,orp-sm.txt | 22 |
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>; +}; |