1NVIDIA Tegra audio complex 2 3Required properties: 4- compatible : "nvidia,tegra-audio-alc5632" 5- clocks : Must contain an entry for each entry in clock-names. 6- clock-names : Must include the following entries: 7 "pll_a" (The Tegra clock of that name), 8 "pll_a_out0" (The Tegra clock of that name), 9 "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 10- nvidia,model : The user-visible name of this sound complex. 11- nvidia,audio-routing : A list of the connections between audio components. 12 Each entry is a pair of strings, the first being the connection's sink, 13 the second being the connection's source. Valid names for sources and 14 sinks are the ALC5632's pins: 15 16 ALC5632 pins: 17 18 * SPK_OUTP 19 * SPK_OUTN 20 * HP_OUT_L 21 * HP_OUT_R 22 * AUX_OUT_P 23 * AUX_OUT_N 24 * LINE_IN_L 25 * LINE_IN_R 26 * PHONE_P 27 * PHONE_N 28 * MIC1_P 29 * MIC1_N 30 * MIC2_P 31 * MIC2_N 32 * MICBIAS1 33 * DMICDAT 34 35 Board connectors: 36 37 * Headset Stereophone 38 * Int Spk 39 * Headset Mic 40 * Digital Mic 41 42- nvidia,i2s-controller : The phandle of the Tegra I2S controller 43- nvidia,audio-codec : The phandle of the ALC5632 audio codec 44 45Example: 46 47sound { 48 compatible = "nvidia,tegra-audio-alc5632-paz00", 49 "nvidia,tegra-audio-alc5632"; 50 51 nvidia,model = "Compal PAZ00"; 52 53 nvidia,audio-routing = 54 "Int Spk", "SPK_OUTP", 55 "Int Spk", "SPK_OUTN", 56 "Headset Mic","MICBIAS1", 57 "MIC1_N", "Headset Mic", 58 "MIC1_P", "Headset Mic", 59 "Headset Stereophone", "HP_OUT_R", 60 "Headset Stereophone", "HP_OUT_L"; 61 62 nvidia,i2s-controller = <&tegra_i2s1>; 63 nvidia,audio-codec = <&alc5632>; 64 65 clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>; 66 clock-names = "pll_a", "pll_a_out0", "mclk"; 67}; 68