Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / adc / at91-sama5d2_adc.txt
1 * AT91 SAMA5D2 Analog to Digital Converter (ADC)
2
3 Required properties:
4   - compatible: Should be "atmel,sama5d2-adc".
5   - reg: Should contain ADC registers location and length.
6   - interrupts: Should contain the IRQ line for the ADC.
7   - clocks: phandle to device clock.
8   - clock-names: Must be "adc_clk".
9   - vref-supply: Supply used as reference for conversions.
10   - vddana-supply: Supply for the adc device.
11   - atmel,min-sample-rate-hz: Minimum sampling rate, it depends on SoC.
12   - atmel,max-sample-rate-hz: Maximum sampling rate, it depends on SoC.
13   - atmel,startup-time-ms: Startup time expressed in ms, it depends on SoC.
14
15 Example:
16
17 adc: adc@fc030000 {
18         compatible = "atmel,sama5d2-adc";
19         reg = <0xfc030000 0x100>;
20         interrupts = <40 IRQ_TYPE_LEVEL_HIGH 7>;
21         clocks = <&adc_clk>;
22         clock-names = "adc_clk";
23         atmel,min-sample-rate-hz = <200000>;
24         atmel,max-sample-rate-hz = <20000000>;
25         atmel,startup-time-ms = <4>;
26         vddana-supply = <&vdd_3v3_lp_reg>;
27         vref-supply = <&vdd_3v3_lp_reg>;
28 }