Merge branch 'drm-tda9950-fixes' of git://git.armlinux.org.uk/~rmk/linux-arm into...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / adc / sprd,sc27xx-adc.txt
1 Spreadtrum SC27XX series PMICs ADC binding
2
3 Required properties:
4 - compatible: Should be one of the following.
5         "sprd,sc2720-adc"
6         "sprd,sc2721-adc"
7         "sprd,sc2723-adc"
8         "sprd,sc2730-adc"
9         "sprd,sc2731-adc"
10 - reg: The address offset of ADC controller.
11 - interrupt-parent: The interrupt controller.
12 - interrupts: The interrupt number for the ADC device.
13 - #io-channel-cells: Number of cells in an IIO specifier.
14 - hwlocks: Reference to a phandle of a hwlock provider node.
15
16 Example:
17
18         sc2731_pmic: pmic@0 {
19                 compatible = "sprd,sc2731";
20                 reg = <0>;
21                 spi-max-frequency = <26000000>;
22                 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
23                 interrupt-controller;
24                 #interrupt-cells = <2>;
25                 #address-cells = <1>;
26                 #size-cells = <0>;
27
28                 pmic_adc: adc@480 {
29                         compatible = "sprd,sc2731-adc";
30                         reg = <0x480>;
31                         interrupt-parent = <&sc2731_pmic>;
32                         interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
33                         #io-channel-cells = <1>;
34                         hwlocks = <&hwlock 4>;
35                 };
36         };