Commit | Line | Data |
---|---|---|
2a956ec0 NC |
1 | Freescale i.MX audio complex with S/PDIF transceiver |
2 | ||
3 | Required 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 | ||
12 | Optional properties: | |
13 | ||
14 | - spdif-out : This is a boolean property. If present, the transmitting | |
15 | function of S/PDIF will be enabled, indicating there's a physical | |
16 | S/PDIF out connector/jack on the board or it's connecting to some | |
17 | other IP block, such as an HDMI encoder/display-controller. | |
18 | ||
19 | - spdif-in : This is a boolean property. If present, the receiving | |
20 | function of S/PDIF will be enabled, indicating there's a physical | |
21 | S/PDIF in connector/jack on the board. | |
22 | ||
23 | * Note: At least one of these two properties should be set in the DT binding. | |
24 | ||
25 | ||
26 | Example: | |
27 | ||
28 | sound-spdif { | |
29 | compatible = "fsl,imx-audio-spdif"; | |
30 | model = "imx-spdif"; | |
31 | spdif-controller = <&spdif>; | |
32 | spdif-out; | |
33 | spdif-in; | |
34 | }; |