^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * Freescale MXS audio complex with SGTL5000 codec
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - compatible : "fsl,mxs-audio-sgtl5000"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - model : The user-visible name of this sound complex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - saif-controllers : The phandle list of the MXS SAIF controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - audio-codec : The phandle of the SGTL5000 audio codec
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - audio-routing : A list of the connections between audio components.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Each entry is a pair of strings, the first being the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) connection's sink, the second being the connection's
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) source. Valid names could be power supplies, SGTL5000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) pins, and the jacks on the board:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Power supplies:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) * Mic Bias
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) SGTL5000 pins:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) * MIC_IN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) * LINE_IN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) * HP_OUT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) * LINE_OUT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Board connectors:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) * Mic Jack
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) * Line In Jack
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) * Headphone Jack
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) * Line Out Jack
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) * Ext Spk
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) sound {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) compatible = "fsl,imx28-evk-sgtl5000",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) "fsl,mxs-audio-sgtl5000";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) model = "imx28-evk-sgtl5000";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) saif-controllers = <&saif0 &saif1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) audio-codec = <&sgtl5000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) audio-routing =
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) "MIC_IN", "Mic Jack",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) "Mic Jack", "Mic Bias",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) "Headphone Jack", "HP_OUT";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) };