samsung,odroid.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. Samsung Exynos Odroid XU3/XU4 audio complex with MAX98090 codec
  2. Required properties:
  3. - compatible - "hardkernel,odroid-xu3-audio" - for Odroid XU3 board,
  4. "hardkernel,odroid-xu4-audio" - for Odroid XU4 board (deprecated),
  5. "samsung,odroid-xu3-audio" - for Odroid XU3 board (deprecated),
  6. "samsung,odroid-xu4-audio" - for Odroid XU4 board (deprecated)
  7. - model - the user-visible name of this sound complex
  8. - clocks - should contain entries matching clock names in the clock-names
  9. property
  10. - samsung,audio-widgets - this property specifies off-codec audio elements
  11. like headphones or speakers, for details see widgets.txt
  12. - samsung,audio-routing - a list of the connections between audio
  13. components; each entry is a pair of strings, the first being the
  14. connection's sink, the second being the connection's source;
  15. valid names for sources and sinks are the MAX98090's pins (as
  16. documented in its binding), and the jacks on the board
  17. For Odroid X2:
  18. "Headphone Jack", "Mic Jack", "DMIC"
  19. For Odroid U3, XU3:
  20. "Headphone Jack", "Speakers"
  21. For Odroid XU4:
  22. no entries
  23. Required sub-nodes:
  24. - 'cpu' subnode with a 'sound-dai' property containing the phandle of the I2S
  25. controller
  26. - 'codec' subnode with a 'sound-dai' property containing list of phandles
  27. to the CODEC nodes, first entry must be corresponding to the MAX98090
  28. CODEC and the second entry must be the phandle of the HDMI IP block node
  29. Example:
  30. sound {
  31. compatible = "hardkernel,odroid-xu3-audio";
  32. model = "Odroid-XU3";
  33. samsung,audio-routing =
  34. "Headphone Jack", "HPL",
  35. "Headphone Jack", "HPR",
  36. "IN1", "Mic Jack",
  37. "Mic Jack", "MICBIAS";
  38. cpu {
  39. sound-dai = <&i2s0 0>;
  40. };
  41. codec {
  42. sound-dai = <&hdmi>, <&max98090>;
  43. };
  44. };