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