Merge tag 'nfsd-4.20' of git://linux-nfs.org/~bfields/linux
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / adc / mcp3911.txt
1 * Microchip MCP3911 Dual channel analog front end (ADC)
2
3 Required properties:
4  - compatible: Should be "microchip,mcp3911"
5  - reg: SPI chip select number for the device
6
7 Recommended properties:
8  - spi-max-frequency: Definition as per
9          Documentation/devicetree/bindings/spi/spi-bus.txt.
10          Max frequency for this chip is 20MHz.
11
12 Optional properties:
13  - clocks: Phandle and clock identifier for sampling clock
14  - interrupt-parent: Phandle to the parent interrupt controller
15  - interrupts: IRQ line for the ADC
16  - microchip,device-addr: Device address when multiple MCP3911 chips are present on the
17         same SPI bus. Valid values are 0-3. Defaults to 0.
18  - vref-supply: Phandle to the external reference voltage supply.
19
20 Example:
21 adc@0 {
22         compatible = "microchip,mcp3911";
23         reg = <0>;
24         interrupt-parent = <&gpio5>;
25         interrupts = <15 IRQ_TYPE_EDGE_RISING>;
26         spi-max-frequency = <20000000>;
27         microchip,device-addr = <0>;
28         vref-supply = <&vref_reg>;
29         clocks = <&xtal>;
30 };