Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 |
| 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 | |
| 28 | Example: |
| 29 | |
| 30 | sound-spdif { |
| 31 | compatible = "fsl,imx-audio-spdif"; |
| 32 | model = "imx-spdif"; |
| 33 | spdif-controller = <&spdif>; |
| 34 | spdif-out; |
| 35 | spdif-in; |
| 36 | }; |