diff options
author | Matt Ranostay <mranostay@gmail.com> | 2016-05-24 21:29:20 -0700 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-05-29 20:03:23 +0100 |
commit | e8dd92bfbff2516f3e76bf08f38131c522454edd (patch) | |
tree | 2e144d1a322d98c1f0505dabba1f118d5433f9f9 /Documentation/devicetree/bindings/iio | |
parent | 4b9d2090a444d44f16788b9ad60180011d133f97 (diff) | |
download | linux-stable-e8dd92bfbff2516f3e76bf08f38131c522454edd.tar.gz linux-stable-e8dd92bfbff2516f3e76bf08f38131c522454edd.tar.bz2 linux-stable-e8dd92bfbff2516f3e76bf08f38131c522454edd.zip |
iio: chemical: atlas-ph-sensor: add EC feature
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r-- | Documentation/devicetree/bindings/iio/chemical/atlas,ec-sm.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/chemical/atlas,ec-sm.txt b/Documentation/devicetree/bindings/iio/chemical/atlas,ec-sm.txt new file mode 100644 index 000000000000..2962bd9a2b3d --- /dev/null +++ b/Documentation/devicetree/bindings/iio/chemical/atlas,ec-sm.txt @@ -0,0 +1,22 @@ +* Atlas Scientific EC-SM OEM sensor + +http://www.atlas-scientific.com/_files/_datasheets/_oem/EC_oem_datasheet.pdf + +Required properties: + + - compatible: must be "atlas,ec-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@64 { + compatible = "atlas,ec-sm"; + reg = <0x64>; + interrupt-parent = <&gpio1>; + interrupts = <16 2>; +}; |