cgroup: Fix memory leak when parsing multiple source parameters
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / sound / zte,zx-i2s.txt
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         };