diff options
Diffstat (limited to 'rr-cache/8a4b54fff5a9c114500b6d66e8d0eeb044dae269/preimage')
-rw-r--r-- | rr-cache/8a4b54fff5a9c114500b6d66e8d0eeb044dae269/preimage | 159 |
1 files changed, 159 insertions, 0 deletions
diff --git a/rr-cache/8a4b54fff5a9c114500b6d66e8d0eeb044dae269/preimage b/rr-cache/8a4b54fff5a9c114500b6d66e8d0eeb044dae269/preimage new file mode 100644 index 0000000..0afa83b --- /dev/null +++ b/rr-cache/8a4b54fff5a9c114500b6d66e8d0eeb044dae269/preimage @@ -0,0 +1,159 @@ +* Qualcomm Technologies APQ8096 ASoC sound card driver + +This binding describes the APQ8096 sound card, which uses qdsp for audio. + +- compatible: + Usage: required + Value type: <stringlist> + Definition: must be "qcom,apq8096-sndcard" + +- qcom,audio-routing: + Usage: Optional + Value type: <stringlist> + Definition: A list of the connections between audio components. + Each entry is a pair of strings, the first being the + connection's sink, the second being the connection's + source. Valid names could be power supplies, MicBias + of codec and the jacks on the board: +<<<<<<< + Valid names include: + + Board Connectors: + "Headphone Left" + "Headphone Right" + "Earphone" + "Line Out1" + "Line Out2" + "Line Out3" + "Line Out4" + "Analog Mic1" + "Analog Mic2" + "Analog Mic3" + "Analog Mic4" + "Analog Mic5" + "Analog Mic6" + "Digital Mic2" + "Digital Mic3" + + Audio pins and MicBias on WCD9335 Codec: + "MIC_BIAS1 + "MIC_BIAS2" + "MIC_BIAS3" + "MIC_BIAS4" + "AMIC1" + "AMIC2" + "AMIC3" + "AMIC4" + "AMIC5" + "AMIC6" + "AMIC6" + "DMIC1" + "DMIC2" + "DMIC3" += dailinks +Each subnode of sndcard represents either a dailink, and subnodes of each +dailinks would be cpu/codec/platform dais. +======= + += FRONTEND and BACKEND dailinks +Each subnode of sndcard represents either frontend or backend dailink, +and subnodes of each backend/frontend dailinks would be +cpu/codec/platform dais. +>>>>>>> + +- link-name: + Usage: required + Value type: <string> + Definition: User friendly name for dai link + +<<<<<<< +======= +- is-fe: + Usage: optional + Value type: <bool> + Definition: present if the dailink is frontend + + +>>>>>>> += CPU, PLATFORM, CODEC dais subnodes +- cpu: + Usage: required + Value type: <subnode> + Definition: cpu dai sub-node + +- codec: +<<<<<<< + Usage: Optional +======= + Usage: required +>>>>>>> + Value type: <subnode> + Definition: codec dai sub-node + +- platform: +<<<<<<< + Usage: Optional +======= + Usage: opional +>>>>>>> + Value type: <subnode> + Definition: platform dai sub-node + +- sound-dai: + Usage: required +<<<<<<< + Value type: <phandle with arguments> +======= + Value type: <phandle> +>>>>>>> + Definition: dai phandle/s and port of CPU/CODEC/PLATFORM node. + +Example: + +audio { + compatible = "qcom,apq8096-sndcard"; + qcom,model = "DB820c"; +<<<<<<< + qcom,audio-routing = + "RX_BIAS", "MCLK"; + + fedai1 { + is-fe; + link-name = "MultiMedia1 Playback"; + cpu { + sound-dai = <&q6asm MSM_FRONTEND_DAI_MULTIMEDIA1>; + }; + platform { + sound-dai = <&q6asm MSM_FRONTEND_DAI_MULTIMEDIA1>; + }; + }; + + bedai1 { + link-name = "HDMI Playback"; + cpu { + sound-dai = <&q6afe AFE_PORT_HDMI_RX>; +======= + + mm1-dai-link { + link-name = "MultiMedia1"; + cpu { + sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; + }; + }; + + hdmi-dai-link { + link-name = "HDMI Playback"; + cpu { + sound-dai = <&q6afe HDMI_RX>; +>>>>>>> + }; + + platform { + sound-dai = <&q6adm>; + }; + + codec { + sound-dai = <&hdmi 0>; + }; + }; +}; |