nvidia,tegra-audio-max98090.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. NVIDIA Tegra audio complex, with MAX98090 CODEC
  2. Required properties:
  3. - compatible : "nvidia,tegra-audio-max98090"
  4. - clocks : Must contain an entry for each entry in clock-names.
  5. See ../clocks/clock-bindings.txt for details.
  6. - clock-names : Must include the following entries:
  7. - pll_a
  8. - pll_a_out0
  9. - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
  10. - nvidia,model : The user-visible name of this sound complex.
  11. - nvidia,audio-routing : A list of the connections between audio components.
  12. Each entry is a pair of strings, the first being the connection's sink,
  13. the second being the connection's source. Valid names for sources and
  14. sinks are the MAX98090's pins (as documented in its binding), and the jacks
  15. on the board:
  16. * Headphones
  17. * Speakers
  18. * Mic Jack
  19. * Int Mic
  20. - nvidia,i2s-controller : The phandle of the Tegra I2S controller that's
  21. connected to the CODEC.
  22. - nvidia,audio-codec : The phandle of the MAX98090 audio codec.
  23. Optional properties:
  24. - nvidia,hp-det-gpios : The GPIO that detect headphones are plugged in
  25. - nvidia,mic-det-gpios : The GPIO that detect microphones are plugged in
  26. - codec-enable-gpio : The GPIO used to enable the audio codec
  27. Example:
  28. sound {
  29. compatible = "nvidia,tegra-audio-max98090-venice2",
  30. "nvidia,tegra-audio-max98090";
  31. nvidia,model = "NVIDIA Tegra Venice2";
  32. nvidia,audio-routing =
  33. "Headphones", "HPR",
  34. "Headphones", "HPL",
  35. "Speakers", "SPKR",
  36. "Speakers", "SPKL",
  37. "Mic Jack", "MICBIAS",
  38. "IN34", "Mic Jack";
  39. nvidia,i2s-controller = <&tegra_i2s1>;
  40. nvidia,audio-codec = <&acodec>;
  41. clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
  42. <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
  43. <&tegra_car TEGRA124_CLK_EXTERN1>;
  44. clock-names = "pll_a", "pll_a_out0", "mclk";
  45. };