qcom,apq8096.txt 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. * Qualcomm Technologies APQ8096 ASoC sound card driver
  2. This binding describes the APQ8096 sound card, which uses qdsp for audio.
  3. - compatible:
  4. Usage: required
  5. Value type: <stringlist>
  6. Definition: must be "qcom,apq8096-sndcard"
  7. - audio-routing:
  8. Usage: Optional
  9. Value type: <stringlist>
  10. Definition: A list of the connections between audio components.
  11. Each entry is a pair of strings, the first being the
  12. connection's sink, the second being the connection's
  13. source. Valid names could be power supplies, MicBias
  14. of codec and the jacks on the board:
  15. Valid names include:
  16. Board Connectors:
  17. "Headphone Left"
  18. "Headphone Right"
  19. "Earphone"
  20. "Line Out1"
  21. "Line Out2"
  22. "Line Out3"
  23. "Line Out4"
  24. "Analog Mic1"
  25. "Analog Mic2"
  26. "Analog Mic3"
  27. "Analog Mic4"
  28. "Analog Mic5"
  29. "Analog Mic6"
  30. "Digital Mic2"
  31. "Digital Mic3"
  32. Audio pins and MicBias on WCD9335 Codec:
  33. "MIC_BIAS1"
  34. "MIC_BIAS2"
  35. "MIC_BIAS3"
  36. "MIC_BIAS4"
  37. "AMIC1"
  38. "AMIC2"
  39. "AMIC3"
  40. "AMIC4"
  41. "AMIC5"
  42. "AMIC6"
  43. "AMIC6"
  44. "DMIC1"
  45. "DMIC2"
  46. "DMIC3"
  47. - model:
  48. Usage: required
  49. Value type: <stringlist>
  50. Definition: The user-visible name of this sound card.
  51. = dailinks
  52. Each subnode of sndcard represents either a dailink, and subnodes of each
  53. dailinks would be cpu/codec/platform dais.
  54. - link-name:
  55. Usage: required
  56. Value type: <string>
  57. Definition: User friendly name for dai link
  58. = CPU, PLATFORM, CODEC dais subnodes
  59. - cpu:
  60. Usage: required
  61. Value type: <subnode>
  62. Definition: cpu dai sub-node
  63. - codec:
  64. Usage: Optional
  65. Value type: <subnode>
  66. Definition: codec dai sub-node
  67. - platform:
  68. Usage: Optional
  69. Value type: <subnode>
  70. Definition: platform dai sub-node
  71. - sound-dai:
  72. Usage: required
  73. Value type: <phandle with arguments>
  74. Definition: dai phandle/s and port of CPU/CODEC/PLATFORM node.
  75. Obsolete:
  76. qcom,model: String for soundcard name (Use model instead)
  77. qcom,audio-routing: A list of the connections between audio components.
  78. (Use audio-routing instead)
  79. Example:
  80. audio {
  81. compatible = "qcom,apq8096-sndcard";
  82. model = "DB820c";
  83. mm1-dai-link {
  84. link-name = "MultiMedia1";
  85. cpu {
  86. sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
  87. };
  88. };
  89. hdmi-dai-link {
  90. link-name = "HDMI Playback";
  91. cpu {
  92. sound-dai = <&q6afe HDMI_RX>;
  93. };
  94. platform {
  95. sound-dai = <&q6adm>;
  96. };
  97. codec {
  98. sound-dai = <&hdmi 0>;
  99. };
  100. };
  101. };