nvidia,tegra-audio-wm9712.txt 1.4 KB

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