1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/adc/maxim,max1238.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Maxim MAX1238 and similar ADCs
8
9maintainers:
10  - Jonathan Cameron <jic23@kernel.org>
11
12description: |
13  Family of simple ADCs with i2c interface and internal references.
14
15properties:
16  compatible:
17    enum:
18      - maxim,max1036
19      - maxim,max1037
20      - maxim,max1038
21      - maxim,max1039
22      - maxim,max1136
23      - maxim,max1137
24      - maxim,max1138
25      - maxim,max1139
26      - maxim,max1236
27      - maxim,max1237
28      - maxim,max1238
29      - maxim,max1239
30      - maxim,max11600
31      - maxim,max11601
32      - maxim,max11602
33      - maxim,max11603
34      - maxim,max11604
35      - maxim,max11605
36      - maxim,max11606
37      - maxim,max11607
38      - maxim,max11608
39      - maxim,max11609
40      - maxim,max11610
41      - maxim,max11611
42      - maxim,max11612
43      - maxim,max11613
44      - maxim,max11614
45      - maxim,max11615
46      - maxim,max11616
47      - maxim,max11617
48      - maxim,max11644
49      - maxim,max11645
50      - maxim,max11646
51      - maxim,max11647
52
53  reg:
54    maxItems: 1
55
56  vcc-supply: true
57  vref-supply:
58    description: Optional external reference.  If not supplied, internal
59      reference will be used.
60
61required:
62  - compatible
63  - reg
64
65additionalProperties: false
66
67examples:
68  - |
69    i2c {
70        #address-cells = <1>;
71        #size-cells = <0>;
72
73        adc@36 {
74            compatible = "maxim,max1238";
75            reg = <0x36>;
76        };
77    };
78...
79