Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / Documentation / devicetree / bindings / staging / iio / adc / spear-adc.txt
1 * ST SPEAr ADC device driver
2
3 Required properties:
4 - compatible: Should be "st,spear600-adc"
5 - reg: Address and length of the register set for the device
6 - interrupts: Should contain the ADC interrupt
7 - sampling-frequency: Default sampling frequency
8
9 Optional properties:
10 - vref-external: External voltage reference in milli-volts. If omitted
11   the internal voltage reference will be used.
12 - average-samples: Number of samples to generate an average value. If
13   omitted, single data conversion will be used.
14
15 Examples:
16
17         adc: adc@d8200000 {
18                 compatible = "st,spear600-adc";
19                 reg = <0xd8200000 0x1000>;
20                 interrupt-parent = <&vic1>;
21                 interrupts = <6>;
22                 sampling-frequency = <5000000>;
23                 vref-external = <2500>; /* 2.5V VRef */
24         };