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/ti-adc12138.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 * Texas Instruments' ADC12130/ADC12132/ADC12138
    2 
    3 Required properties:
    4  - compatible: Should be one of
    5         * "ti,adc12130"
    6         * "ti,adc12132"
    7         * "ti,adc12138"
    8  - reg: SPI chip select number for the device
    9  - interrupts: Should contain interrupt for EOC (end of conversion)
   10  - clocks: phandle to conversion clock input
   11  - spi-max-frequency: Definision as per
   12         Documentation/devicetree/bindings/spi/spi-bus.txt
   13  - vref-p-supply: The regulator supply for positive analog voltage reference
   14 
   15 Optional properties:
   16  - vref-n-supply: The regulator supply for negative analog voltage reference
   17         (Note that this must not go below GND or exceed vref-p)
   18         If not specified, this is assumed to be analog ground.
   19  - ti,acquisition-time: The number of conversion clock periods for the S/H's
   20         acquisition time.  Should be one of 6, 10, 18, 34.  If not specified,
   21         default value of 10 is used.
   22         For high source impedances, this value can be increased to 18 or 34.
   23         For less ADC accuracy and/or slower CCLK frequencies this value may be
   24         decreased to 6.  See section 6.0 INPUT SOURCE RESISTANCE in the
   25         datasheet for details.
   26 
   27 Example:
   28 adc@0 {
   29         compatible = "ti,adc12138";
   30         reg = <0>;
   31         interrupts = <28 IRQ_TYPE_EDGE_RISING>;
   32         interrupt-parent = <&gpio1>;
   33         clocks = <&cclk>;
   34         vref-p-supply = <&ldo4_reg>;
   35         spi-max-frequency = <5000000>;
   36         ti,acquisition-time = <6>;
   37 };

Cache object: 72d62822b6d78cd50f8c6e46eb862443


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