GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / iio / adc / lltc,ltc2497.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/lltc,ltc2497.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Linear Technology / Analog Devices LTC2497 ADC
8
9 maintainers:
10   - Michael Hennerich <michael.hennerich@analog.com>
11
12 description: |
13   16bit ADC supporting up to 16 single ended or 8 differential inputs.
14   I2C interface.
15
16   https://www.analog.com/media/en/technical-documentation/data-sheets/2497fb.pdf
17   https://www.analog.com/media/en/technical-documentation/data-sheets/2499fe.pdf
18
19 properties:
20   compatible:
21     enum:
22       - lltc,ltc2497
23       - lltc,ltc2499
24
25   reg: true
26   vref-supply: true
27   "#io-channel-cells":
28     const: 1
29
30 required:
31   - compatible
32   - reg
33   - vref-supply
34
35 additionalProperties: false
36
37 examples:
38   - |
39     i2c {
40         #address-cells = <1>;
41         #size-cells = <0>;
42
43         adc@76 {
44             compatible = "lltc,ltc2497";
45             reg = <0x76>;
46             vref-supply = <&ltc2497_reg>;
47             #io-channel-cells = <1>;
48         };
49     };
50 ...