Merge tag 'iwlwifi-next-for-kalle-2014-12-30' of https://git.kernel.org/pub/scm/linux...
[cascardo/linux.git] / Documentation / devicetree / bindings / iio / adc / rockchip-saradc.txt
1 Rockchip Successive Approximation Register (SAR) A/D Converter bindings
2
3 Required properties:
4 - compatible: Should be "rockchip,saradc" or "rockchip,rk3066-tsadc"
5 - reg: physical base address of the controller and length of memory mapped
6        region.
7 - interrupts: The interrupt number to the cpu. The interrupt specifier format
8               depends on the interrupt controller.
9 - clocks: Must contain an entry for each entry in clock-names.
10 - clock-names: Shall be "saradc" for the converter-clock, and "apb_pclk" for
11                the peripheral clock.
12 - vref-supply: The regulator supply ADC reference voltage.
13 - #io-channel-cells: Should be 1, see ../iio-bindings.txt
14
15 Example:
16         saradc: saradc@2006c000 {
17                 compatible = "rockchip,saradc";
18                 reg = <0x2006c000 0x100>;
19                 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
20                 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
21                 clock-names = "saradc", "apb_pclk";
22                 #io-channel-cells = <1>;
23                 vref-supply = <&vcc18>;
24         };