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/sound/adi,adau1977.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-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/sound/adi,adau1977.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Analog Devices ADAU1977/ADAU1978/ADAU1979 Quad ADC with Diagnostics
    8 
    9 maintainers:
   10   - Lars-Peter Clausen <lars@metafoo.de>
   11   - Bogdan Togorean <bogdan.togorean@analog.com>
   12 
   13 description: |
   14   Analog Devices ADAU1977 and similar quad ADC with Diagnostics
   15   https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1977.pdf
   16   https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1978.pdf
   17   https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1979.pdf
   18 
   19 properties:
   20   compatible:
   21     enum:
   22       - adi,adau1977
   23       - adi,adau1978
   24       - adi,adau1979
   25 
   26   reg:
   27     maxItems: 1
   28 
   29   "#sound-dai-cells":
   30     const: 0
   31 
   32   reset-gpios:
   33     maxItems: 1
   34 
   35   AVDD-supply:
   36     description: Analog power support for the device.
   37 
   38   DVDD-supply:
   39     description: Supply voltage for digital core.
   40 
   41   adi,micbias:
   42     description: |
   43       Configures the voltage setting for the MICBIAS pin.
   44     $ref: /schemas/types.yaml#/definitions/uint32
   45     enum: [0, 1, 2, 3, 4, 5, 6, 7, 8]
   46     default: 7
   47 
   48 required:
   49   - reg
   50   - compatible
   51   - AVDD-supply
   52 
   53 allOf:
   54   - $ref: /schemas/spi/spi-peripheral-props.yaml#
   55 
   56 unevaluatedProperties: false
   57 
   58 examples:
   59   - |
   60     #include <dt-bindings/gpio/gpio.h>
   61 
   62     spi {
   63         #address-cells = <1>;
   64         #size-cells = <0>;
   65         adau1977_spi: adau1977@0 {
   66             compatible = "adi,adau1977";
   67             reg = <0>;
   68             spi-max-frequency = <600000>;
   69 
   70             AVDD-supply = <&regulator>;
   71             DVDD-supply = <&regulator_digital>;
   72 
   73             reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
   74 
   75             adi,micbias = <3>;
   76         };
   77     };
   78   - |
   79     #include <dt-bindings/gpio/gpio.h>
   80 
   81     i2c {
   82         #address-cells = <1>;
   83         #size-cells = <0>;
   84         adau1977_i2c: adau1977@11 {
   85             compatible = "adi,adau1977";
   86             reg = <0x11>;
   87 
   88             AVDD-supply = <&regulator>;
   89             DVDD-supply = <&regulator_digital>;
   90 
   91             reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
   92         };
   93     };

Cache object: 3801e971faabf26ab76392d6fc4b6439


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