0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/adc/maxim,max1238.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Maxim MAX1238 and similar ADCs
0008
0009 maintainers:
0010 - Jonathan Cameron <jic23@kernel.org>
0011
0012 description: |
0013 Family of simple ADCs with i2c inteface and internal references.
0014
0015 properties:
0016 compatible:
0017 enum:
0018 - maxim,max1036
0019 - maxim,max1037
0020 - maxim,max1038
0021 - maxim,max1039
0022 - maxim,max1136
0023 - maxim,max1137
0024 - maxim,max1138
0025 - maxim,max1139
0026 - maxim,max1236
0027 - maxim,max1237
0028 - maxim,max1238
0029 - maxim,max1239
0030 - maxim,max11600
0031 - maxim,max11601
0032 - maxim,max11602
0033 - maxim,max11603
0034 - maxim,max11604
0035 - maxim,max11605
0036 - maxim,max11606
0037 - maxim,max11607
0038 - maxim,max11608
0039 - maxim,max11609
0040 - maxim,max11610
0041 - maxim,max11611
0042 - maxim,max11612
0043 - maxim,max11613
0044 - maxim,max11614
0045 - maxim,max11615
0046 - maxim,max11616
0047 - maxim,max11617
0048 - maxim,max11644
0049 - maxim,max11645
0050 - maxim,max11646
0051 - maxim,max11647
0052
0053 reg:
0054 maxItems: 1
0055
0056 vcc-supply: true
0057 vref-supply:
0058 description: Optional external reference. If not supplied, internal
0059 reference will be used.
0060
0061 required:
0062 - compatible
0063 - reg
0064
0065 additionalProperties: false
0066
0067 examples:
0068 - |
0069 i2c {
0070 #address-cells = <1>;
0071 #size-cells = <0>;
0072
0073 adc@36 {
0074 compatible = "maxim,max1238";
0075 reg = <0x36>;
0076 };
0077 };
0078 ...