xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/lltc,ltc2497.yaml (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
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
7title: Linear Technology / Analog Devices LTC2497 ADC
8
9maintainers:
10  - Michael Hennerich <michael.hennerich@analog.com>
11
12description: |
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
19properties:
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
30required:
31  - compatible
32  - reg
33  - vref-supply
34
35additionalProperties: false
36
37examples:
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...
51