GNU Linux-libre 6.8.9-gnu
[releases.git] / Documentation / devicetree / bindings / iio / chemical / atlas,sensor.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/chemical/atlas,sensor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Atlas Scientific OEM + EZO sensors
8
9 maintainers:
10   - Matt Ranostay <matt.ranostay@konsulko.com>
11
12 description: |
13   Atlas Scientific OEM + EZO sensors connected via I2C
14
15   Datasheets:
16     http://www.atlas-scientific.com/_files/_datasheets/_oem/DO_oem_datasheet.pdf
17     http://www.atlas-scientific.com/_files/_datasheets/_oem/EC_oem_datasheet.pdf
18     http://www.atlas-scientific.com/_files/_datasheets/_oem/ORP_oem_datasheet.pdf
19     http://www.atlas-scientific.com/_files/_datasheets/_oem/pH_oem_datasheet.pdf
20     http://www.atlas-scientific.com/_files/_datasheets/_oem/RTD_oem_datasheet.pdf
21     http://www.atlas-scientific.com/_files/_datasheets/_probe/EZO_CO2_Datasheet.pdf
22     https://www.atlas-scientific.com/files/EZO_O2_datasheet.pdf
23     https://www.atlas-scientific.com/files/EZO_HUM_Datasheet.pdf
24
25 properties:
26   compatible:
27     enum:
28       - atlas,do-sm
29       - atlas,ec-sm
30       - atlas,orp-sm
31       - atlas,ph-sm
32       - atlas,rtd-sm
33       - atlas,co2-ezo
34       - atlas,o2-ezo
35       - atlas,hum-ezo
36
37   reg:
38     maxItems: 1
39
40   interrupts:
41     maxItems: 1
42
43 required:
44   - compatible
45   - reg
46
47 additionalProperties: false
48
49 examples:
50   - |
51     i2c {
52       #address-cells = <1>;
53       #size-cells = <0>;
54
55       atlas@66 {
56         compatible = "atlas,orp-sm";
57         reg = <0x66>;
58         interrupt-parent = <&gpio1>;
59         interrupts = <16 2>;
60       };
61     };