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/adi,ad7768-1.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 Analog Devices AD7768-1 ADC device driver
    2 
    3 Required properties for the AD7768-1:
    4 
    5 - compatible: Must be "adi,ad7768-1"
    6 - reg: SPI chip select number for the device
    7 - spi-max-frequency: Max SPI frequency to use
    8         see: Documentation/devicetree/bindings/spi/spi-bus.txt
    9 - clocks: phandle to the master clock (mclk)
   10         see: Documentation/devicetree/bindings/clock/clock-bindings.txt
   11 - clock-names: Must be "mclk".
   12 - interrupts: IRQ line for the ADC
   13         see: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
   14 - vref-supply: vref supply can be used as reference for conversion
   15 - adi,sync-in-gpios: must be the device tree identifier of the SYNC-IN pin. Enables
   16         synchronization of multiple devices that require simultaneous sampling.
   17         A pulse is always required if the configuration is changed in any way, for example
   18         if the filter decimation rate changes. As the line is active low, it should
   19         be marked GPIO_ACTIVE_LOW.
   20 
   21 Optional properties:
   22 
   23  - reset-gpios : GPIO spec for the RESET pin. If specified, it will be asserted during
   24         driver probe. As the line is active low, it should be marked GPIO_ACTIVE_LOW.
   25 
   26 Example:
   27 
   28         adc@0 {
   29                 compatible = "adi,ad7768-1";
   30                 reg = <0>;
   31                 spi-max-frequency = <2000000>;
   32                 spi-cpol;
   33                 spi-cpha;
   34                 vref-supply = <&adc_vref>;
   35                 interrupts = <25 IRQ_TYPE_EDGE_RISING>;
   36                 interrupt-parent = <&gpio>;
   37                 adi,sync-in-gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
   38                 reset-gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
   39                 clocks = <&ad7768_mclk>;
   40                 clock-names = "mclk";
   41         };

Cache object: 9c4303fe1861945e7d20c7b41d2a445b


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