GNU Linux-libre 4.19.295-gnu1
[releases.git] / Documentation / devicetree / bindings / iio / adc / max1118.txt
1 * MAX1117/MAX1118/MAX1119 8-bit, dual-channel ADCs
2
3 Required properties:
4  - compatible: Should be one of
5         * "maxim,max1117"
6         * "maxim,max1118"
7         * "maxim,max1119"
8  - reg: spi chip select number for the device
9  - (max1118 only) vref-supply: The regulator supply for ADC reference voltage
10
11 Recommended properties:
12  - spi-max-frequency: Definition as per
13                 Documentation/devicetree/bindings/spi/spi-bus.txt
14
15 Example:
16 adc@0 {
17         compatible = "maxim,max1118";
18         reg = <0>;
19         vref-supply = <&vdd_supply>;
20         spi-max-frequency = <1000000>;
21 };