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.yaml

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 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/iio/adc/fsl,imx25-gcq.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Freescale ADC GCQ device
    8 
    9 description:
   10   This is a generic conversion queue device that can convert any of the
   11   analog inputs using the ADC unit of the i.MX25.
   12 
   13 maintainers:
   14   - Jonathan Cameron <jic23@kernel.org>
   15 
   16 properties:
   17   compatible:
   18     const: fsl,imx25-gcq
   19 
   20   reg:
   21     maxItems: 1
   22 
   23   interrupts:
   24     maxItems: 1
   25 
   26   vref-ext-supply:
   27     description:
   28       The regulator supplying the ADC reference voltage.
   29       Required when at least one subnode uses the this reference.
   30 
   31   vref-xp-supply:
   32     description:
   33       The regulator supplying the ADC reference voltage on pin XP.
   34       Required when at least one subnode uses this reference.
   35 
   36   vref-yp-supply:
   37     description:
   38       The regulator supplying the ADC reference voltage on pin YP.
   39       Required when at least one subnode uses this reference.
   40 
   41   "#io-channel-cells":
   42     const: 1
   43 
   44   "#address-cells":
   45     const: 1
   46 
   47   "#size-cells":
   48     const: 0
   49 
   50 required:
   51   - compatible
   52   - reg
   53   - interrupts
   54   - "#address-cells"
   55   - "#size-cells"
   56 
   57 patternProperties:
   58   "[a-z][a-z0-9]+@[0-9a-f]+$":
   59     type: object
   60     description:
   61       Child nodes used to define the reference voltages used for each channel
   62 
   63     properties:
   64       reg:
   65         description: |
   66           Number of the analog input.
   67           0: xp
   68           1: yp
   69           2: xn
   70           3: yn
   71           4: wiper
   72           5: inaux0
   73           6: inaux1
   74           7: inaux2
   75         items:
   76           - minimum: 0
   77             maximum: 7
   78 
   79       fsl,adc-refp:
   80         $ref: /schemas/types.yaml#/definitions/uint32
   81         description: |
   82           Specifies the positive reference input as defined in
   83           <dt-bindings/iio/adc/fsl-imx25-gcq.h>
   84           0: YP voltage reference
   85           1: XP voltage reference
   86           2: External voltage reference
   87           3: Internal voltage reference (default)
   88         minimum: 0
   89         maximum: 3
   90 
   91       fsl,adc-refn:
   92         $ref: /schemas/types.yaml#/definitions/uint32
   93         description: |
   94           Specifies the negative reference input as defined in
   95           <dt-bindings/iio/adc/fsl-imx25-gcq.h>
   96           0: XN ground reference
   97           1: YN ground reference
   98           2: Internal ground reference
   99           3: External ground reference (default)
  100         minimum: 0
  101         maximum: 3
  102 
  103     required:
  104       - reg
  105 
  106     additionalProperties: false
  107 
  108 additionalProperties: false
  109 
  110 examples:
  111   - |
  112     #include <dt-bindings/iio/adc/fsl-imx25-gcq.h>
  113     soc {
  114         #address-cells = <1>;
  115         #size-cells = <1>;
  116         adc@50030800 {
  117             compatible = "fsl,imx25-gcq";
  118             reg = <0x50030800 0x60>;
  119             interrupt-parent = <&tscadc>;
  120             interrupts = <1>;
  121             #address-cells = <1>;
  122             #size-cells = <0>;
  123 
  124             inaux@5 {
  125                 reg = <5>;
  126                 fsl,adc-refp = <MX25_ADC_REFP_INT>;
  127                 fsl,adc-refn = <MX25_ADC_REFN_NGND>;
  128             };
  129         };
  130     };
  131 ...

Cache object: 3926b869f8ec44fee41f915e34e76e2b


[ 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.