xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/maxim,max1238.yaml (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
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 inteface 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
65examples:
66  - |
67    i2c {
68        #address-cells = <1>;
69        #size-cells = <0>;
70
71        adc@36 {
72            compatible = "maxim,max1238";
73            reg = <0x36>;
74        };
75    };
76...
77