1*c66ec88fSEmmanuel VadotNVIDIA Tegra audio complex, with SGTL5000 CODEC 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot- compatible : "nvidia,tegra-audio-sgtl5000" 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 SGTL5000's pins (as documented in its binding), and the jacks 16*c66ec88fSEmmanuel Vadot on the board: 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel Vadot * Headphone Jack 19*c66ec88fSEmmanuel Vadot * Line In Jack 20*c66ec88fSEmmanuel Vadot * Mic Jack 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel Vadot- nvidia,i2s-controller : The phandle of the Tegra I2S controller that's 23*c66ec88fSEmmanuel Vadot connected to the CODEC. 24*c66ec88fSEmmanuel Vadot- nvidia,audio-codec : The phandle of the SGTL5000 audio codec. 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel VadotExample: 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadotsound { 29*c66ec88fSEmmanuel Vadot compatible = "toradex,tegra-audio-sgtl5000-apalis_t30", 30*c66ec88fSEmmanuel Vadot "nvidia,tegra-audio-sgtl5000"; 31*c66ec88fSEmmanuel Vadot nvidia,model = "Toradex Apalis T30"; 32*c66ec88fSEmmanuel Vadot nvidia,audio-routing = 33*c66ec88fSEmmanuel Vadot "Headphone Jack", "HP_OUT", 34*c66ec88fSEmmanuel Vadot "LINE_IN", "Line In Jack", 35*c66ec88fSEmmanuel Vadot "MIC_IN", "Mic Jack"; 36*c66ec88fSEmmanuel Vadot nvidia,i2s-controller = <&tegra_i2s2>; 37*c66ec88fSEmmanuel Vadot nvidia,audio-codec = <&sgtl5000>; 38*c66ec88fSEmmanuel Vadot clocks = <&tegra_car TEGRA30_CLK_PLL_A>, 39*c66ec88fSEmmanuel Vadot <&tegra_car TEGRA30_CLK_PLL_A_OUT0>, 40*c66ec88fSEmmanuel Vadot <&tegra_car TEGRA30_CLK_EXTERN1>; 41*c66ec88fSEmmanuel Vadot clock-names = "pll_a", "pll_a_out0", "mclk"; 42*c66ec88fSEmmanuel Vadot}; 43