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/mcp320x.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 * Microchip Analog to Digital Converter (ADC)
    2 
    3 The node for this driver must be a child node of a SPI controller, hence
    4 all mandatory properties described in
    5 
    6         Documentation/devicetree/bindings/spi/spi-bus.txt
    7 
    8 must be specified.
    9 
   10 Required properties:
   11         - compatible:   Must be one of the following, depending on the
   12                         model:
   13                                 "mcp3001" (DEPRECATED)
   14                                 "mcp3002" (DEPRECATED)
   15                                 "mcp3004" (DEPRECATED)
   16                                 "mcp3008" (DEPRECATED)
   17                                 "mcp3201" (DEPRECATED)
   18                                 "mcp3202" (DEPRECATED)
   19                                 "mcp3204" (DEPRECATED)
   20                                 "mcp3208" (DEPRECATED)
   21                                 "mcp3301" (DEPRECATED)
   22 
   23                                 "microchip,mcp3001"
   24                                 "microchip,mcp3002"
   25                                 "microchip,mcp3004"
   26                                 "microchip,mcp3008"
   27                                 "microchip,mcp3201"
   28                                 "microchip,mcp3202"
   29                                 "microchip,mcp3204"
   30                                 "microchip,mcp3208"
   31                                 "microchip,mcp3301"
   32                                 "microchip,mcp3550-50"
   33                                 "microchip,mcp3550-60"
   34                                 "microchip,mcp3551"
   35                                 "microchip,mcp3553"
   36 
   37                         NOTE: The use of the compatibles with no vendor prefix
   38                         is deprecated and only listed because old DT use them.
   39 
   40         - spi-cpha, spi-cpol (boolean):
   41                         Either SPI mode (0,0) or (1,1) must be used, so specify
   42                         none or both of spi-cpha, spi-cpol.  The MCP3550/1/3
   43                         is more efficient in mode (1,1) as only 3 instead of
   44                         4 bytes need to be read from the ADC, but not all SPI
   45                         masters support it.
   46 
   47         - vref-supply:  Phandle to the external reference voltage supply.
   48 
   49 Examples:
   50 spi_controller {
   51         mcp3x0x@0 {
   52                 compatible = "microchip,mcp3002";
   53                 reg = <0>;
   54                 spi-max-frequency = <1000000>;
   55                 vref-supply = <&vref_reg>;
   56         };
   57 };

Cache object: 2bdd3c7f4939ffb77a81991ca566c808


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