The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/iio/adc/fsl,imx25-gcq.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.