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