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