samsung,tm2-audio.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Samsung Exynos5433 TM2(E) audio complex with WM5110 codec
  2. Required properties:
  3. - compatible : "samsung,tm2-audio"
  4. - model : the user-visible name of this sound complex
  5. - audio-codec : the first entry should be phandle of the wm5110 audio
  6. codec node, as described in ../mfd/arizona.txt;
  7. the second entry should be phandle of the HDMI
  8. transmitter node
  9. - i2s-controller : the list of phandle and argument tuples pointing to
  10. I2S controllers, the first entry should be I2S0 and
  11. the second one I2S1
  12. - audio-amplifier : the phandle of the MAX98504 amplifier
  13. - samsung,audio-routing : a list of the connections between audio components;
  14. each entry is a pair of strings, the first being the
  15. connection's sink, the second being the connection's
  16. source; valid names for sources and sinks are the
  17. WM5110's and MAX98504's pins and the jacks on the
  18. board: HP, SPK, Main Mic, Sub Mic, Third Mic,
  19. Headset Mic
  20. - mic-bias-gpios : GPIO pin that enables the Main Mic bias regulator
  21. Example:
  22. sound {
  23. compatible = "samsung,tm2-audio";
  24. audio-codec = <&wm5110>, <&hdmi>;
  25. i2s-controller = <&i2s0 0>, <&i2s1 0>;
  26. audio-amplifier = <&max98504>;
  27. mic-bias-gpios = <&gpr3 2 0>;
  28. model = "wm5110";
  29. samsung,audio-routing =
  30. "HP", "HPOUT1L",
  31. "HP", "HPOUT1R",
  32. "SPK", "SPKOUT",
  33. "SPKOUT", "HPOUT2L",
  34. "SPKOUT", "HPOUT2R",
  35. "Main Mic", "MICBIAS2",
  36. "IN1R", "Main Mic";
  37. };