xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/lltc,ltc2497.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
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 and LTC2309 ADC
8
9maintainers:
10  - Michael Hennerich <michael.hennerich@analog.com>
11  - Liam Beguin <liambeguin@gmail.com>
12
13description: |
14  LTC2309:
15    low noise, low power, 8-channel, 12-bit successive approximation ADC with an
16    I2C compatible serial interface.
17
18    https://www.analog.com/media/en/technical-documentation/data-sheets/2309fd.pdf
19
20  LTC2497:
21  LTC2499:
22    16bit ADC supporting up to 16 single ended or 8 differential inputs.
23    I2C interface.
24
25    https://www.analog.com/media/en/technical-documentation/data-sheets/2497fb.pdf
26    https://www.analog.com/media/en/technical-documentation/data-sheets/2499fe.pdf
27
28properties:
29  compatible:
30    enum:
31      - lltc,ltc2309
32      - lltc,ltc2497
33      - lltc,ltc2499
34
35  reg: true
36  vref-supply: true
37  "#io-channel-cells":
38    const: 1
39
40required:
41  - compatible
42  - reg
43  - vref-supply
44
45additionalProperties: false
46
47examples:
48  - |
49    i2c {
50        #address-cells = <1>;
51        #size-cells = <0>;
52
53        adc@76 {
54            compatible = "lltc,ltc2497";
55            reg = <0x76>;
56            vref-supply = <&ltc2497_reg>;
57            #io-channel-cells = <1>;
58        };
59    };
60...
61