xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/img,spdif-out.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunImagination Technologies SPDIF Output Controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired Properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun  - compatible : Compatible list, must contain "img,spdif-out"
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun  - #sound-dai-cells : Must be equal to 0
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun  - reg : Offset and length of the register set for the device
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun  - dmas: Contains an entry for each entry in dma-names.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun  - dma-names: Must include the following entry:
14*4882a593Smuzhiyun	"tx"
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun  - clocks : Contains an entry for each entry in clock-names.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun  - clock-names : Includes the following entries:
19*4882a593Smuzhiyun	"sys"	The system clock
20*4882a593Smuzhiyun	"ref"	The reference clock
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun  - resets: Contains a phandle to the spdif out reset signal
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun  - reset-names: Contains the reset signal name "rst"
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunOptional Properties:
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun  - interrupts : Contains the parallel out interrupt, if present
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunExample:
31*4882a593Smuzhiyun
32*4882a593Smuzhiyunspdif_out: spdif-out@18100d00 {
33*4882a593Smuzhiyun	compatible = "img,spdif-out";
34*4882a593Smuzhiyun	reg = <0x18100D00 0x100>;
35*4882a593Smuzhiyun	interrupts = <GIC_SHARED 21 IRQ_TYPE_LEVEL_HIGH>;
36*4882a593Smuzhiyun	dmas = <&mdc 14 0xffffffff 0>;
37*4882a593Smuzhiyun	dma-names = "tx";
38*4882a593Smuzhiyun	clocks = <&cr_periph SYS_CLK_SPDIF_OUT>,
39*4882a593Smuzhiyun		 <&clk_core CLK_SPDIF>;
40*4882a593Smuzhiyun	clock-names = "sys", "ref";
41*4882a593Smuzhiyun	resets = <&pistachio_reset PISTACHIO_RESET_SPDIF_OUT>;
42*4882a593Smuzhiyun	reset-names = "rst";
43*4882a593Smuzhiyun	#sound-dai-cells = <0>;
44*4882a593Smuzhiyun};
45