xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/lltc,ltc2497.yaml (revision 911f0260390e18cf85f3dbf2c719b593efdc1e3c)
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
16properties:
17  compatible:
18    const:
19      lltc,ltc2497
20
21  reg: true
22  vref-supply: true
23  "#io-channel-cells":
24    const: 1
25
26required:
27  - compatible
28  - reg
29  - vref-supply
30
31additionalProperties: false
32
33examples:
34  - |
35    i2c {
36        #address-cells = <1>;
37        #size-cells = <0>;
38
39        adc@76 {
40            compatible = "lltc,ltc2497";
41            reg = <0x76>;
42            vref-supply = <&ltc2497_reg>;
43            #io-channel-cells = <1>;
44        };
45    };
46...
47