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/zte,zx-i2s.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 ZTE ZX296702 I2S controller
    2 
    3 Required properties:
    4  - compatible : Must be one of:
    5         "zte,zx296718-i2s", "zte,zx296702-i2s"
    6         "zte,zx296702-i2s"
    7  - reg : Must contain I2S core's registers location and length
    8  - clocks : Pairs of phandle and specifier referencing the controller's clocks.
    9  - clock-names: "wclk" for the wclk, "pclk" for the pclk to the I2S interface.
   10  - dmas: Pairs of phandle and specifier for the DMA channel that is used by
   11    the core. The core expects two dma channels for transmit.
   12  - dma-names : Must be "tx" and "rx"
   13 
   14 For more details on the 'dma', 'dma-names', 'clock' and 'clock-names' properties
   15 please check:
   16         * resource-names.txt
   17         * clock/clock-bindings.txt
   18         * dma/dma.txt
   19 
   20 Example:
   21         i2s0: i2s@b005000 {
   22                 #sound-dai-cells = <0>;
   23                 compatible = "zte,zx296718-i2s", "zte,zx296702-i2s";
   24                 reg = <0x0b005000 0x1000>;
   25                 clocks = <&audiocrm AUDIO_I2S0_WCLK>, <&audiocrm AUDIO_I2S0_PCLK>;
   26                 clock-names = "wclk", "pclk";
   27                 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
   28                 dmas = <&dma 5>, <&dma 6>;
   29                 dma-names = "tx", "rx";
   30         };
   31 
   32         sound {
   33                 compatible = "simple-audio-card";
   34                 simple-audio-card,name = "zx296702_snd";
   35                 simple-audio-card,format = "left_j";
   36                 simple-audio-card,bitclock-master = <&sndcodec>;
   37                 simple-audio-card,frame-master = <&sndcodec>;
   38                 sndcpu: simple-audio-card,cpu {
   39                         sound-dai = <&i2s0>;
   40                 };
   41 
   42                 sndcodec: simple-audio-card,codec {
   43                         sound-dai = <&acodec>;
   44                 };
   45         };

Cache object: ca08ea02933b76ad921002317fc56ed0


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