xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/brcm,bcm2835-i2s.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Broadcom BCM2835 SoC I2S/PCM module
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: "brcm,bcm2835-i2s"
5*4882a593Smuzhiyun- reg: Should contain PCM registers location and length.
6*4882a593Smuzhiyun- clocks: the (PCM) clock to use
7*4882a593Smuzhiyun- dmas: List of DMA controller phandle and DMA request line ordered pairs.
8*4882a593Smuzhiyun- dma-names: Identifier string for each DMA request line in the dmas property.
9*4882a593Smuzhiyun  These strings correspond 1:1 with the ordered pairs in dmas.
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun  One of the DMA channels will be responsible for transmission (should be
12*4882a593Smuzhiyun  named "tx") and one for reception (should be named "rx").
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunbcm2835_i2s: i2s@7e203000 {
17*4882a593Smuzhiyun	compatible = "brcm,bcm2835-i2s";
18*4882a593Smuzhiyun	reg = <0x7e203000 0x24>;
19*4882a593Smuzhiyun	clocks = <&clocks BCM2835_CLOCK_PCM>;
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun	dmas = <&dma 2>,
22*4882a593Smuzhiyun	       <&dma 3>;
23*4882a593Smuzhiyun	dma-names = "tx", "rx";
24*4882a593Smuzhiyun};
25