xref: /linux/Documentation/devicetree/bindings/iio/adc/ti,adc081c.yaml (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1*c9d8b868SSamuel Holland# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*c9d8b868SSamuel Holland%YAML 1.2
3*c9d8b868SSamuel Holland---
4*c9d8b868SSamuel Holland$id: http://devicetree.org/schemas/iio/adc/ti,adc081c.yaml#
5*c9d8b868SSamuel Holland$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c9d8b868SSamuel Holland
7*c9d8b868SSamuel Hollandtitle: TI Single-channel I2C ADCs
8*c9d8b868SSamuel Holland
9*c9d8b868SSamuel Hollandmaintainers:
10*c9d8b868SSamuel Holland  - Jonathan Cameron <jic23@kernel.org>
11*c9d8b868SSamuel Holland  - Lars-Peter Clausen <lars@metafoo.de>
12*c9d8b868SSamuel Holland
13*c9d8b868SSamuel Hollanddescription: |
14*c9d8b868SSamuel Holland  Single-channel ADC supporting 8, 10, or 12-bit samples and high/low alerts.
15*c9d8b868SSamuel Holland
16*c9d8b868SSamuel Hollandproperties:
17*c9d8b868SSamuel Holland  compatible:
18*c9d8b868SSamuel Holland    enum:
19*c9d8b868SSamuel Holland      - ti,adc081c
20*c9d8b868SSamuel Holland      - ti,adc101c
21*c9d8b868SSamuel Holland      - ti,adc121c
22*c9d8b868SSamuel Holland
23*c9d8b868SSamuel Holland  reg:
24*c9d8b868SSamuel Holland    maxItems: 1
25*c9d8b868SSamuel Holland
26*c9d8b868SSamuel Holland  interrupts:
27*c9d8b868SSamuel Holland    maxItems: 1
28*c9d8b868SSamuel Holland
29*c9d8b868SSamuel Holland  vref-supply:
30*c9d8b868SSamuel Holland    description:
31*c9d8b868SSamuel Holland      Regulator for the combined power supply and voltage reference
32*c9d8b868SSamuel Holland
33*c9d8b868SSamuel Holland  "#io-channel-cells":
34*c9d8b868SSamuel Holland    const: 1
35*c9d8b868SSamuel Holland
36*c9d8b868SSamuel Hollandrequired:
37*c9d8b868SSamuel Holland  - compatible
38*c9d8b868SSamuel Holland  - reg
39*c9d8b868SSamuel Holland  - vref-supply
40*c9d8b868SSamuel Holland
41*c9d8b868SSamuel HollandadditionalProperties: false
42*c9d8b868SSamuel Holland
43*c9d8b868SSamuel Hollandexamples:
44*c9d8b868SSamuel Holland  - |
45*c9d8b868SSamuel Holland    i2c {
46*c9d8b868SSamuel Holland        #address-cells = <1>;
47*c9d8b868SSamuel Holland        #size-cells = <0>;
48*c9d8b868SSamuel Holland
49*c9d8b868SSamuel Holland        adc@52 {
50*c9d8b868SSamuel Holland            compatible = "ti,adc081c";
51*c9d8b868SSamuel Holland            reg = <0x52>;
52*c9d8b868SSamuel Holland            vref-supply = <&reg_2p5v>;
53*c9d8b868SSamuel Holland        };
54*c9d8b868SSamuel Holland    };
55*c9d8b868SSamuel Holland...
56