18c2ecf20Sopenharmony_ciFreescale i.MX audio complex with S/PDIF transceiver 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci - compatible : "fsl,imx-audio-spdif" 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci - model : The user-visible name of this sound complex 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci - spdif-controller : The phandle of the i.MX S/PDIF controller 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciOptional properties: 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci - spdif-out : This is a boolean property. If present, the 158c2ecf20Sopenharmony_ci transmitting function of S/PDIF will be enabled, 168c2ecf20Sopenharmony_ci indicating there's a physical S/PDIF out connector 178c2ecf20Sopenharmony_ci or jack on the board or it's connecting to some 188c2ecf20Sopenharmony_ci other IP block, such as an HDMI encoder or 198c2ecf20Sopenharmony_ci display-controller. 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci - spdif-in : This is a boolean property. If present, the receiving 228c2ecf20Sopenharmony_ci function of S/PDIF will be enabled, indicating there 238c2ecf20Sopenharmony_ci is a physical S/PDIF in connector/jack on the board. 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci* Note: At least one of these two properties should be set in the DT binding. 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ciExample: 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_cisound-spdif { 318c2ecf20Sopenharmony_ci compatible = "fsl,imx-audio-spdif"; 328c2ecf20Sopenharmony_ci model = "imx-spdif"; 338c2ecf20Sopenharmony_ci spdif-controller = <&spdif>; 348c2ecf20Sopenharmony_ci spdif-out; 358c2ecf20Sopenharmony_ci spdif-in; 368c2ecf20Sopenharmony_ci}; 37