1Spreadtrum SC27XX series PMICs ADC binding
2
3Required 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- nvmem-cells: A phandle to the calibration cells provided by eFuse device.
16- nvmem-cell-names: Should be "big_scale_calib", "small_scale_calib".
17
18Example:
19
20	sc2731_pmic: pmic@0 {
21		compatible = "sprd,sc2731";
22		reg = <0>;
23		spi-max-frequency = <26000000>;
24		interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
25		interrupt-controller;
26		#interrupt-cells = <2>;
27		#address-cells = <1>;
28		#size-cells = <0>;
29
30		pmic_adc: adc@480 {
31			compatible = "sprd,sc2731-adc";
32			reg = <0x480>;
33			interrupt-parent = <&sc2731_pmic>;
34			interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
35			#io-channel-cells = <1>;
36			hwlocks = <&hwlock 4>;
37			nvmem-cells = <&adc_big_scale>, <&adc_small_scale>;
38			nvmem-cell-names = "big_scale_calib", "small_scale_calib";
39		};
40	};
41