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/vf610-adc.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 vf610 Analog to Digital Converter bindings
    2 
    3 The devicetree bindings are for the new ADC driver written for
    4 vf610/i.MX6slx and upward SoCs from Freescale.
    5 
    6 Required properties:
    7 - compatible: Should contain "fsl,vf610-adc"
    8 - reg: Offset and length of the register set for the device
    9 - interrupts: Should contain the interrupt for the device
   10 - clocks: The clock is needed by the ADC controller, ADC clock source is ipg clock.
   11 - clock-names: Must contain "adc", matching entry in the clocks property.
   12 - vref-supply: The regulator supply ADC reference voltage.
   13 
   14 Recommended properties:
   15 - fsl,adck-max-frequency: Maximum frequencies according to datasheets operating
   16   requirements. Three values are required, depending on conversion mode:
   17   - Frequency in normal mode (ADLPC=0, ADHSC=0)
   18   - Frequency in high-speed mode (ADLPC=0, ADHSC=1)
   19   - Frequency in low-power mode (ADLPC=1, ADHSC=0)
   20 - min-sample-time: Minimum sampling time in nanoseconds. This value has
   21   to be chosen according to the conversion mode and the connected analog
   22   source resistance (R_as) and capacitance (C_as). Refer the datasheet's
   23   operating requirements. A safe default across a wide range of R_as and
   24   C_as as well as conversion modes is 1000ns.
   25 
   26 Example:
   27 adc0: adc@4003b000 {
   28         compatible = "fsl,vf610-adc";
   29         reg = <0x4003b000 0x1000>;
   30         interrupts = <0 53 0x04>;
   31         clocks = <&clks VF610_CLK_ADC0>;
   32         clock-names = "adc";
   33         fsl,adck-max-frequency = <30000000>, <40000000>,
   34                                 <20000000>;
   35         vref-supply = <&reg_vcc_3v3_mcu>;
   36 };

Cache object: 942ee1ef567656ad92a90825d7c43211


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