xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/imx-audio-spdif.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunFreescale i.MX audio complex with S/PDIF transceiver
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun  - compatible		: "fsl,imx-audio-spdif"
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun  - model		: The user-visible name of this sound complex
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun  - spdif-controller	: The phandle of the i.MX S/PDIF controller
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunOptional properties:
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun  - spdif-out		: This is a boolean property. If present, the
15*4882a593Smuzhiyun			  transmitting function of S/PDIF will be enabled,
16*4882a593Smuzhiyun			  indicating there's a physical S/PDIF out connector
17*4882a593Smuzhiyun			  or jack on the board or it's connecting to some
18*4882a593Smuzhiyun			  other IP block, such as an HDMI encoder or
19*4882a593Smuzhiyun			  display-controller.
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun  - spdif-in		: This is a boolean property. If present, the receiving
22*4882a593Smuzhiyun			  function of S/PDIF will be enabled, indicating there
23*4882a593Smuzhiyun			  is a physical S/PDIF in connector/jack on the board.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun* Note: At least one of these two properties should be set in the DT binding.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunExample:
29*4882a593Smuzhiyun
30*4882a593Smuzhiyunsound-spdif {
31*4882a593Smuzhiyun	compatible = "fsl,imx-audio-spdif";
32*4882a593Smuzhiyun	model = "imx-spdif";
33*4882a593Smuzhiyun	spdif-controller = <&spdif>;
34*4882a593Smuzhiyun	spdif-out;
35*4882a593Smuzhiyun	spdif-in;
36*4882a593Smuzhiyun};
37