1*c66ec88fSEmmanuel VadotNVIDIA Tegra audio complex 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot- compatible : "nvidia,tegra-audio-wm9712" 5*c66ec88fSEmmanuel Vadot- clocks : Must contain an entry for each entry in clock-names. 6*c66ec88fSEmmanuel Vadot See ../clocks/clock-bindings.txt for details. 7*c66ec88fSEmmanuel Vadot- clock-names : Must include the following entries: 8*c66ec88fSEmmanuel Vadot - pll_a 9*c66ec88fSEmmanuel Vadot - pll_a_out0 10*c66ec88fSEmmanuel Vadot - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 11*c66ec88fSEmmanuel Vadot- nvidia,model : The user-visible name of this sound complex. 12*c66ec88fSEmmanuel Vadot- nvidia,audio-routing : A list of the connections between audio components. 13*c66ec88fSEmmanuel Vadot Each entry is a pair of strings, the first being the connection's sink, 14*c66ec88fSEmmanuel Vadot the second being the connection's source. Valid names for sources and 15*c66ec88fSEmmanuel Vadot sinks are the WM9712's pins, and the jacks on the board: 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadot WM9712 pins: 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel Vadot * MONOOUT 20*c66ec88fSEmmanuel Vadot * HPOUTL 21*c66ec88fSEmmanuel Vadot * HPOUTR 22*c66ec88fSEmmanuel Vadot * LOUT2 23*c66ec88fSEmmanuel Vadot * ROUT2 24*c66ec88fSEmmanuel Vadot * OUT3 25*c66ec88fSEmmanuel Vadot * LINEINL 26*c66ec88fSEmmanuel Vadot * LINEINR 27*c66ec88fSEmmanuel Vadot * PHONE 28*c66ec88fSEmmanuel Vadot * PCBEEP 29*c66ec88fSEmmanuel Vadot * MIC1 30*c66ec88fSEmmanuel Vadot * MIC2 31*c66ec88fSEmmanuel Vadot * Mic Bias 32*c66ec88fSEmmanuel Vadot 33*c66ec88fSEmmanuel Vadot Board connectors: 34*c66ec88fSEmmanuel Vadot 35*c66ec88fSEmmanuel Vadot * Headphone 36*c66ec88fSEmmanuel Vadot * LineIn 37*c66ec88fSEmmanuel Vadot * Mic 38*c66ec88fSEmmanuel Vadot 39*c66ec88fSEmmanuel Vadot- nvidia,ac97-controller : The phandle of the Tegra AC97 controller 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel Vadot 42*c66ec88fSEmmanuel VadotExample: 43*c66ec88fSEmmanuel Vadot 44*c66ec88fSEmmanuel Vadotsound { 45*c66ec88fSEmmanuel Vadot compatible = "nvidia,tegra-audio-wm9712-colibri_t20", 46*c66ec88fSEmmanuel Vadot "nvidia,tegra-audio-wm9712"; 47*c66ec88fSEmmanuel Vadot nvidia,model = "Toradex Colibri T20"; 48*c66ec88fSEmmanuel Vadot 49*c66ec88fSEmmanuel Vadot nvidia,audio-routing = 50*c66ec88fSEmmanuel Vadot "Headphone", "HPOUTL", 51*c66ec88fSEmmanuel Vadot "Headphone", "HPOUTR", 52*c66ec88fSEmmanuel Vadot "LineIn", "LINEINL", 53*c66ec88fSEmmanuel Vadot "LineIn", "LINEINR", 54*c66ec88fSEmmanuel Vadot "Mic", "MIC1"; 55*c66ec88fSEmmanuel Vadot 56*c66ec88fSEmmanuel Vadot nvidia,ac97-controller = <&ac97>; 57*c66ec88fSEmmanuel Vadot 58*c66ec88fSEmmanuel Vadot clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>; 59*c66ec88fSEmmanuel Vadot clock-names = "pll_a", "pll_a_out0", "mclk"; 60*c66ec88fSEmmanuel Vadot}; 61