xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/max1118.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* MAX1117/MAX1118/MAX1119 8-bit, dual-channel ADCs
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot - compatible: Should be one of
5*c66ec88fSEmmanuel Vadot	* "maxim,max1117"
6*c66ec88fSEmmanuel Vadot	* "maxim,max1118"
7*c66ec88fSEmmanuel Vadot	* "maxim,max1119"
8*c66ec88fSEmmanuel Vadot - reg: spi chip select number for the device
9*c66ec88fSEmmanuel Vadot - (max1118 only) vref-supply: The regulator supply for ADC reference voltage
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotRecommended properties:
12*c66ec88fSEmmanuel Vadot - spi-max-frequency: Definition as per
13*c66ec88fSEmmanuel Vadot		Documentation/devicetree/bindings/spi/spi-bus.txt
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadotadc@0 {
17*c66ec88fSEmmanuel Vadot	compatible = "maxim,max1118";
18*c66ec88fSEmmanuel Vadot	reg = <0>;
19*c66ec88fSEmmanuel Vadot	vref-supply = <&vdd_supply>;
20*c66ec88fSEmmanuel Vadot	spi-max-frequency = <1000000>;
21*c66ec88fSEmmanuel Vadot};
22