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/ingenic,aic.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/ingenic,aic.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Ingenic SoCs AC97 / I2S Controller (AIC) DT bindings
    8 
    9 maintainers:
   10   - Paul Cercueil <paul@crapouillou.net>
   11 
   12 properties:
   13   $nodename:
   14     pattern: '^audio-controller@'
   15 
   16   compatible:
   17     oneOf:
   18       - enum:
   19           - ingenic,jz4740-i2s
   20           - ingenic,jz4760-i2s
   21           - ingenic,jz4770-i2s
   22           - ingenic,jz4780-i2s
   23       - items:
   24           - const: ingenic,jz4725b-i2s
   25           - const: ingenic,jz4740-i2s
   26 
   27   '#sound-dai-cells':
   28     const: 0
   29 
   30   reg:
   31     maxItems: 1
   32 
   33   interrupts:
   34     maxItems: 1
   35 
   36   clocks:
   37     items:
   38       - description: AIC clock
   39       - description: I2S clock
   40       - description: EXT clock
   41       - description: PLL/2 clock
   42 
   43   clock-names:
   44     items:
   45       - const: aic
   46       - const: i2s
   47       - const: ext
   48       - const: pll half
   49 
   50   dmas:
   51     items:
   52       - description: DMA controller phandle and request line for I2S RX
   53       - description: DMA controller phandle and request line for I2S TX
   54 
   55   dma-names:
   56     items:
   57       - const: rx
   58       - const: tx
   59 
   60 additionalProperties: false
   61 
   62 required:
   63   - compatible
   64   - reg
   65   - interrupts
   66   - clocks
   67   - clock-names
   68   - dmas
   69   - dma-names
   70   - '#sound-dai-cells'
   71 
   72 examples:
   73   - |
   74     #include <dt-bindings/clock/ingenic,jz4740-cgu.h>
   75     aic: audio-controller@10020000 {
   76       compatible = "ingenic,jz4740-i2s";
   77       reg = <0x10020000 0x38>;
   78 
   79       #sound-dai-cells = <0>;
   80 
   81       interrupt-parent = <&intc>;
   82       interrupts = <18>;
   83 
   84       clocks = <&cgu JZ4740_CLK_AIC>,
   85                <&cgu JZ4740_CLK_I2S>,
   86                <&cgu JZ4740_CLK_EXT>,
   87                <&cgu JZ4740_CLK_PLL_HALF>;
   88       clock-names = "aic", "i2s", "ext", "pll half";
   89 
   90       dmas = <&dmac 25 0xffffffff>, <&dmac 24 0xffffffff>;
   91       dma-names = "rx", "tx";
   92     };

Cache object: b81d609b9103214b0e210d556ab35c12


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