1 Freescale i.MX25 ADC GCQ device
2
3 This is a generic conversion queue device that can convert any of the
4 analog inputs using the ADC unit of the i.MX25.
5
6 Required properties:
7 - compatible: Should be "fsl,imx25-gcq".
8 - reg: Should be the register range of the module.
9 - interrupts: Should be the interrupt number of the module.
10 Typically this is <1>.
11 - #address-cells: Should be <1> (setting for the subnodes)
12 - #size-cells: Should be <0> (setting for the subnodes)
13
14 Optional properties:
15 - vref-ext-supply: The regulator supplying the ADC reference voltage.
16 Required when at least one subnode uses the this reference.
17 - vref-xp-supply: The regulator supplying the ADC reference voltage on pin XP.
18 Required when at least one subnode uses this reference.
19 - vref-yp-supply: The regulator supplying the ADC reference voltage on pin YP.
20 Required when at least one subnode uses this reference.
21
22 Sub-nodes:
23 Optionally you can define subnodes which define the reference voltage
24 for the analog inputs.
25
26 Required properties for subnodes:
27 - reg: Should be the number of the analog input.
28 0: xp
29 1: yp
30 2: xn
31 3: yn
32 4: wiper
33 5: inaux0
34 6: inaux1
35 7: inaux2
36 Optional properties for subnodes:
37 - fsl,adc-refp: specifies the positive reference input as defined in
38 <dt-bindings/iio/adc/fsl-imx25-gcq.h>
39 - fsl,adc-refn: specifies the negative reference input as defined in
40 <dt-bindings/iio/adc/fsl-imx25-gcq.h>
41
42 Example:
43
44 adc: adc@50030800 {
45 compatible = "fsl,imx25-gcq";
46 reg = <0x50030800 0x60>;
47 interrupt-parent = <&tscadc>;
48 interrupts = <1>;
49 #address-cells = <1>;
50 #size-cells = <0>;
51
52 inaux@5 {
53 reg = <5>;
54 fsl,adc-refp = <MX25_ADC_REFP_INT>;
55 fsl,adc-refn = <MX25_ADC_REFN_NGND>;
56 };
57 };
Cache object: 9d50b13a5c4144b74c72b83fdb3f5243
|