xref: /freebsd/sys/contrib/device-tree/Bindings/sound/img,i2s-in.txt (revision 3ff01b231dfa83d518854c63e7c9cd1debd1139e)
1Imagination Technologies I2S Input Controller
2
3Required Properties:
4
5  - compatible : Compatible list, must contain "img,i2s-in"
6
7  - #sound-dai-cells : Must be equal to 0
8
9  - reg : Offset and length of the register set for the device
10
11  - clocks : Contains an entry for each entry in clock-names
12
13  - clock-names : Must include the following entry:
14	"sys"	The system clock
15
16  - dmas: Contains an entry for each entry in dma-names.
17
18  - dma-names: Must include the following entry:
19	"rx"	Single DMA channel used by all active I2S channels
20
21  - img,i2s-channels : Number of I2S channels instantiated in the I2S in block
22
23Optional Properties:
24
25  - interrupts : Contains the I2S in interrupts. Depending on
26	the configuration, there may be no interrupts, one interrupt,
27	or an interrupt per I2S channel. For the case where there is
28	one interrupt per channel, the interrupts should be listed
29	in ascending channel order
30
31  - resets: Contains a phandle to the I2S in reset signal
32
33  - reset-names: Contains the reset signal name "rst"
34
35Example:
36
37i2s_in: i2s-in@18100800 {
38	compatible = "img,i2s-in";
39	reg = <0x18100800 0x200>;
40	interrupts = <GIC_SHARED 7 IRQ_TYPE_LEVEL_HIGH>;
41	dmas = <&mdc 30 0xffffffff 0>;
42	dma-names = "rx";
43	clocks = <&cr_periph SYS_CLK_I2S_IN>;
44	clock-names = "sys";
45	img,i2s-channels = <6>;
46	#sound-dai-cells = <0>;
47};
48