GNU Linux-libre 4.19.264-gnu1
[releases.git] / Documentation / devicetree / bindings / iio / adc / ti-ads7950.txt
1 * Texas Instruments ADS7950 family of A/DC chips
2
3 Required properties:
4  - compatible: Must be one of "ti,ads7950", "ti,ads7951", "ti,ads7952",
5    "ti,ads7953", "ti,ads7954", "ti,ads7955", "ti,ads7956", "ti,ads7957",
6    "ti,ads7958", "ti,ads7959", "ti,ads7960", or "ti,ads7961"
7  - reg: SPI chip select number for the device
8  - #io-channel-cells: Must be 1 as per ../iio-bindings.txt
9  - vref-supply: phandle to a regulator node that supplies the 2.5V or 5V
10    reference voltage
11
12 Recommended properties:
13  - spi-max-frequency: Definition as per
14                 Documentation/devicetree/bindings/spi/spi-bus.txt
15
16 Example:
17 adc@0 {
18         compatible = "ti,ads7957";
19         reg = <0>;
20         #io-channel-cells = <1>;
21         vref-supply = <&refin_supply>;
22         spi-max-frequency = <10000000>;
23 };