omap-abe-twl6040.txt 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. * Texas Instruments OMAP4+ and twl6040 based audio setups
  2. Required properties:
  3. - compatible: "ti,abe-twl6040"
  4. - ti,model: Name of the sound card ( for example "SDP4430")
  5. - ti,mclk-freq: MCLK frequency for HPPLL operation
  6. - ti,mcpdm: phandle for the McPDM node
  7. - ti,twl6040: phandle for the twl6040 core node
  8. - ti,audio-routing: List of connections between audio components.
  9. Each entry is a pair of strings, the first being the connection's sink,
  10. the second being the connection's source.
  11. Optional properties:
  12. - ti,dmic: phandle for the OMAP dmic node if the machine have it connected
  13. - ti,jack_detection: Need to be present if the board capable to detect jack
  14. insertion, removal.
  15. Available audio endpoints for the audio-routing table:
  16. Board connectors:
  17. * Headset Stereophone
  18. * Earphone Spk
  19. * Ext Spk
  20. * Line Out
  21. * Vibrator
  22. * Headset Mic
  23. * Main Handset Mic
  24. * Sub Handset Mic
  25. * Line In
  26. * Digital Mic
  27. twl6040 pins:
  28. * HSOL
  29. * HSOR
  30. * EP
  31. * HFL
  32. * HFR
  33. * AUXL
  34. * AUXR
  35. * VIBRAL
  36. * VIBRAR
  37. * HSMIC
  38. * MAINMIC
  39. * SUBMIC
  40. * AFML
  41. * AFMR
  42. * Headset Mic Bias
  43. * Main Mic Bias
  44. * Digital Mic1 Bias
  45. * Digital Mic2 Bias
  46. Digital mic pins:
  47. * DMic
  48. Example:
  49. sound {
  50. compatible = "ti,abe-twl6040";
  51. ti,model = "SDP4430";
  52. ti,jack-detection;
  53. ti,mclk-freq = <38400000>;
  54. ti,mcpdm = <&mcpdm>;
  55. ti,dmic = <&dmic>;
  56. ti,twl6040 = <&twl6040>;
  57. /* Audio routing */
  58. ti,audio-routing =
  59. "Headset Stereophone", "HSOL",
  60. "Headset Stereophone", "HSOR",
  61. "Earphone Spk", "EP",
  62. "Ext Spk", "HFL",
  63. "Ext Spk", "HFR",
  64. "Line Out", "AUXL",
  65. "Line Out", "AUXR",
  66. "Vibrator", "VIBRAL",
  67. "Vibrator", "VIBRAR",
  68. "HSMIC", "Headset Mic",
  69. "Headset Mic", "Headset Mic Bias",
  70. "MAINMIC", "Main Handset Mic",
  71. "Main Handset Mic", "Main Mic Bias",
  72. "SUBMIC", "Sub Handset Mic",
  73. "Sub Handset Mic", "Main Mic Bias",
  74. "AFML", "Line In",
  75. "AFMR", "Line In",
  76. "DMic", "Digital Mic",
  77. "Digital Mic", "Digital Mic1 Bias";
  78. };