dt-bindings: Whitespace clean-ups in schema files
[linux-2.6-microblaze.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
23 properties:
24   compatible:
25     enum:
26       - atlas,do-sm
27       - atlas,ec-sm
28       - atlas,orp-sm
29       - atlas,ph-sm
30       - atlas,rtd-sm
31       - atlas,co2-ezo
32
33   reg:
34     maxItems: 1
35
36   interrupts:
37     maxItems: 1
38
39 required:
40   - compatible
41   - reg
42
43 additionalProperties: false
44
45 examples:
46   - |
47     i2c {
48       #address-cells = <1>;
49       #size-cells = <0>;
50
51       atlas@66 {
52         compatible = "atlas,orp-sm";
53         reg = <0x66>;
54         interrupt-parent = <&gpio1>;
55         interrupts = <16 2>;
56       };
57     };