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.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/ti,adc12138.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Texas Instruments ADC12138 and similar self-calibrating ADCs
    8 
    9 maintainers:
   10   - Akinobu Mita <akinobu.mita@gmail.com>
   11 
   12 description: |
   13   13 bit ADCs with 1, 2 or 8 inputs and self calibrating circuitry to
   14   correct for linearity, zero and full scale errors.
   15 
   16 properties:
   17   compatible:
   18     enum:
   19       - ti,adc12130
   20       - ti,adc12132
   21       - ti,adc12138
   22 
   23   reg:
   24     maxItems: 1
   25 
   26   interrupts:
   27     maxItems: 1
   28     description: End of Conversion (EOC) interrupt
   29 
   30   clocks:
   31     maxItems: 1
   32     description: Conversion clock input.
   33 
   34   spi-max-frequency: true
   35 
   36   vref-p-supply:
   37     description: The regulator supply for positive analog voltage reference
   38 
   39   vref-n-supply:
   40     description: |
   41       The regulator supply for negative analog voltage reference
   42       (Note that this must not go below GND or exceed vref-p)
   43       If not specified, this is assumed to be analog ground.
   44 
   45   ti,acquisition-time:
   46     $ref: /schemas/types.yaml#/definitions/uint32
   47     enum: [ 6, 10, 18, 34 ]
   48     description: |
   49       The number of conversion clock periods for the S/H's acquisition time.
   50       For high source impedances, this value can be increased to 18 or 34.
   51       For less ADC accuracy and/or slower CCLK frequencies this value may be
   52       decreased to 6.  See section 6.0 INPUT SOURCE RESISTANCE in the
   53       datasheet for details.
   54 
   55   "#io-channel-cells":
   56     const: 1
   57 
   58 required:
   59   - compatible
   60   - reg
   61   - interrupts
   62   - clocks
   63   - vref-p-supply
   64 
   65 additionalProperties: false
   66 
   67 examples:
   68   - |
   69     #include <dt-bindings/interrupt-controller/irq.h>
   70     spi {
   71         #address-cells = <1>;
   72         #size-cells = <0>;
   73 
   74         adc@0 {
   75             compatible = "ti,adc12138";
   76             reg = <0>;
   77             interrupts = <28 IRQ_TYPE_EDGE_RISING>;
   78             interrupt-parent = <&gpio1>;
   79             clocks = <&cclk>;
   80             vref-p-supply = <&ldo4_reg>;
   81             spi-max-frequency = <5000000>;
   82             ti,acquisition-time = <6>;
   83             #io-channel-cells = <1>;
   84         };
   85     };
   86 ...

Cache object: e6371aadf5695e370eb40ae145fab03d


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