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. Example:
  27. sound {
  28. compatible = "nvidia,tegra-audio-max98090-venice2",
  29. "nvidia,tegra-audio-max98090";
  30. nvidia,model = "NVIDIA Tegra Venice2";
  31. nvidia,audio-routing =
  32. "Headphones", "HPR",
  33. "Headphones", "HPL",
  34. "Speakers", "SPKR",
  35. "Speakers", "SPKL",
  36. "Mic Jack", "MICBIAS",
  37. "IN34", "Mic Jack";
  38. nvidia,i2s-controller = <&tegra_i2s1>;
  39. nvidia,audio-codec = <&acodec>;
  40. clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
  41. <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
  42. <&tegra_car TEGRA124_CLK_EXTERN1>;
  43. clock-names = "pll_a", "pll_a_out0", "mclk";
  44. };