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,vf610-adc.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,vf610-adc.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: ADC found on Freescale vf610 and similar SoCs
    8 
    9 maintainers:
   10   - Haibo Chen <haibo.chen@nxp.com>
   11 
   12 description:
   13   ADCs found on vf610/i.MX6slx and upward SoCs from Freescale.
   14 
   15 properties:
   16   compatible:
   17     oneOf:
   18       - items:
   19           - enum:
   20               - fsl,imx6sx-adc
   21               - fsl,imx6ul-adc
   22           - const: fsl,vf610-adc
   23       - items:
   24           - const: fsl,vf610-adc
   25 
   26   reg:
   27     maxItems: 1
   28 
   29   interrupts:
   30     maxItems: 1
   31 
   32   clocks:
   33     description: ADC source clock (ipg clock)
   34     maxItems: 1
   35 
   36   clock-names:
   37     const: adc
   38 
   39   vref-supply:
   40     description: ADC reference voltage supply.
   41 
   42   fsl,adck-max-frequency:
   43     $ref: /schemas/types.yaml#/definitions/uint32-array
   44     minItems: 3
   45     maxItems: 3
   46     description: |
   47       Maximum frequencies from datasheet operating requirements.
   48       Three values necessary to cover the 3 conversion modes.
   49       * Frequency in normal mode (ADLPC=0, ADHSC=0)
   50       * Frequency in high-speed mode (ADLPC=0, ADHSC=1)
   51       * Frequency in low-power mode (ADLPC=1, ADHSC=0)
   52 
   53   min-sample-time:
   54     $ref: /schemas/types.yaml#/definitions/uint32
   55     description:
   56       Minimum sampling time in nanoseconds. This value has
   57       to be chosen according to the conversion mode and the connected analog
   58       source resistance (R_as) and capacitance (C_as). Refer the datasheet's
   59       operating requirements. A safe default across a wide range of R_as and
   60       C_as as well as conversion modes is 1000ns.
   61 
   62   "#io-channel-cells":
   63     const: 1
   64 
   65 required:
   66   - compatible
   67   - reg
   68   - interrupts
   69   - clocks
   70   - clock-names
   71   - vref-supply
   72 
   73 additionalProperties: false
   74 
   75 examples:
   76   - |
   77     #include <dt-bindings/clock/vf610-clock.h>
   78     adc@4003b000 {
   79         compatible = "fsl,vf610-adc";
   80         reg = <0x4003b000 0x1000>;
   81         interrupts = <0 53 0x04>;
   82         clocks = <&clks VF610_CLK_ADC0>;
   83         clock-names = "adc";
   84         fsl,adck-max-frequency = <30000000>, <40000000>, <20000000>;
   85         vref-supply = <&reg_vcc_3v3_mcu>;
   86         min-sample-time = <10000>;
   87     };
   88 ...

Cache object: f647983c6824c472a464407e9f1d60be


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