Based on kernel version 3.9. Page generated on 2013-05-02 23:01 EST.
1 NVIDIA Tegra audio complex 2 3 Required properties: 4 - compatible : "nvidia,tegra-audio-wm8903" 5 - nvidia,model : The user-visible name of this sound complex. 6 - nvidia,audio-routing : A list of the connections between audio components. 7 Each entry is a pair of strings, the first being the connection's sink, 8 the second being the connection's source. Valid names for sources and 9 sinks are the WM8903's pins, and the jacks on the board: 10 11 WM8903 pins: 12 13 * IN1L 14 * IN1R 15 * IN2L 16 * IN2R 17 * IN3L 18 * IN3R 19 * DMICDAT 20 * HPOUTL 21 * HPOUTR 22 * LINEOUTL 23 * LINEOUTR 24 * LOP 25 * LON 26 * ROP 27 * RON 28 * MICBIAS 29 30 Board connectors: 31 32 * Headphone Jack 33 * Int Spk 34 * Mic Jack 35 36 - nvidia,i2s-controller : The phandle of the Tegra I2S1 controller 37 - nvidia,audio-codec : The phandle of the WM8903 audio codec 38 39 Optional properties: 40 - nvidia,spkr-en-gpios : The GPIO that enables the speakers 41 - nvidia,hp-mute-gpios : The GPIO that mutes the headphones 42 - nvidia,hp-det-gpios : The GPIO that detect headphones are plugged in 43 - nvidia,int-mic-en-gpios : The GPIO that enables the internal microphone 44 - nvidia,ext-mic-en-gpios : The GPIO that enables the external microphone 45 46 Example: 47 48 sound { 49 compatible = "nvidia,tegra-audio-wm8903-harmony", 50 "nvidia,tegra-audio-wm8903" 51 nvidia,model = "tegra-wm8903-harmony"; 52 53 nvidia,audio-routing = 54 "Headphone Jack", "HPOUTR", 55 "Headphone Jack", "HPOUTL", 56 "Int Spk", "ROP", 57 "Int Spk", "RON", 58 "Int Spk", "LOP", 59 "Int Spk", "LON", 60 "Mic Jack", "MICBIAS", 61 "IN1L", "Mic Jack"; 62 63 nvidia,i2s-controller = <&i2s1>; 64 nvidia,audio-codec = <&wm8903>; 65 66 nvidia,spkr-en-gpios = <&codec 2 0>; 67 nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ 68 nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ 69 nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ 70 };