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/snps,designware-i2s.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/sound/snps,designware-i2s.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: DesignWare I2S controller
    8 
    9 maintainers:
   10   - Jose Abreu <joabreu@synopsys.com>
   11 
   12 properties:
   13   compatible:
   14     oneOf:
   15       - items:
   16           - const: canaan,k210-i2s
   17           - const: snps,designware-i2s
   18       - enum:
   19           - snps,designware-i2s
   20 
   21   reg:
   22     maxItems: 1
   23 
   24   interrupts:
   25     description: |
   26       The interrupt line number for the I2S controller. Add this
   27       parameter if the I2S controller that you are using does not
   28       support DMA.
   29     maxItems: 1
   30 
   31   clocks:
   32     description: Sampling rate reference clock
   33     maxItems: 1
   34 
   35   clock-names:
   36     const: i2sclk
   37 
   38   resets:
   39     maxItems: 1
   40 
   41   dmas:
   42     items:
   43       - description: TX DMA Channel
   44       - description: RX DMA Channel
   45     minItems: 1
   46 
   47   dma-names:
   48     items:
   49       - const: tx
   50       - const: rx
   51     minItems: 1
   52 
   53 if:
   54   properties:
   55     compatible:
   56       contains:
   57         const: canaan,k210-i2s
   58 
   59 then:
   60   properties:
   61     "#sound-dai-cells":
   62       const: 1
   63 
   64 else:
   65   properties:
   66     "#sound-dai-cells":
   67       const: 0
   68 
   69 required:
   70   - compatible
   71   - reg
   72   - clocks
   73   - clock-names
   74 
   75 oneOf:
   76   - required:
   77       - dmas
   78       - dma-names
   79   - required:
   80       - interrupts
   81 
   82 unevaluatedProperties: false
   83 
   84 examples:
   85   - |
   86     soc_i2s: i2s@7ff90000 {
   87       compatible = "snps,designware-i2s";
   88       reg = <0x7ff90000 0x1000>;
   89       clocks = <&scpi_i2sclk 0>;
   90       clock-names = "i2sclk";
   91       #sound-dai-cells = <0>;
   92       dmas = <&dma0 5>;
   93       dma-names = "tx";
   94     };

Cache object: ea174841861c13fe0b244268899f6a26


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