nvidia,tegra-audio-alc5632.txt 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. NVIDIA Tegra audio complex
  2. Required properties:
  3. - compatible : "nvidia,tegra-audio-alc5632"
  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 ALC5632's pins:
  14. ALC5632 pins:
  15. * SPK_OUTP
  16. * SPK_OUTN
  17. * HP_OUT_L
  18. * HP_OUT_R
  19. * AUX_OUT_P
  20. * AUX_OUT_N
  21. * LINE_IN_L
  22. * LINE_IN_R
  23. * PHONE_P
  24. * PHONE_N
  25. * MIC1_P
  26. * MIC1_N
  27. * MIC2_P
  28. * MIC2_N
  29. * MICBIAS1
  30. * DMICDAT
  31. Board connectors:
  32. * Headset Stereophone
  33. * Int Spk
  34. * Headset Mic
  35. * Digital Mic
  36. - nvidia,i2s-controller : The phandle of the Tegra I2S controller
  37. - nvidia,audio-codec : The phandle of the ALC5632 audio codec
  38. Example:
  39. sound {
  40. compatible = "nvidia,tegra-audio-alc5632-paz00",
  41. "nvidia,tegra-audio-alc5632";
  42. nvidia,model = "Compal PAZ00";
  43. nvidia,audio-routing =
  44. "Int Spk", "SPK_OUTP",
  45. "Int Spk", "SPK_OUTN",
  46. "Headset Mic","MICBIAS1",
  47. "MIC1_N", "Headset Mic",
  48. "MIC1_P", "Headset Mic",
  49. "Headset Stereophone", "HP_OUT_R",
  50. "Headset Stereophone", "HP_OUT_L";
  51. nvidia,i2s-controller = <&tegra_i2s1>;
  52. nvidia,audio-codec = <&alc5632>;
  53. clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>;
  54. clock-names = "pll_a", "pll_a_out0", "mclk";
  55. };