mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
Merge "bindings: Documentation: add SDK audio properties"
This commit is contained in:
commit
b0070875eb
1 changed files with 89 additions and 0 deletions
|
|
@ -2398,3 +2398,92 @@ Example:
|
|||
};
|
||||
};
|
||||
|
||||
Required properties:
|
||||
- compatible : "qcom,spf-core-platform"
|
||||
|
||||
Required properties:
|
||||
- compatible : "qcom,audio-pkt-core-platform"
|
||||
|
||||
Required properties:
|
||||
- compatible : "qcom,swr-wcd"
|
||||
|
||||
Required properties:
|
||||
- compatible : "qcom,tavil-i2c"
|
||||
|
||||
Required properties:
|
||||
- compatible : "qcom,wcd-pinctrl"
|
||||
|
||||
Required properties:
|
||||
- compatible : "qcom,gpr"
|
||||
|
||||
Required properties:
|
||||
- compatible : "qcom,spf_core"
|
||||
|
||||
Required properties:
|
||||
- compatible : "qcom,audio-pkt"
|
||||
|
||||
Required properties:
|
||||
- compatible : "qcom,audio_prm"
|
||||
|
||||
|
||||
|
||||
* SDX ASoC Machine driver
|
||||
|
||||
Required properties:
|
||||
- compatible : "qcom,sdx-asoc-snd-tavil"
|
||||
- qcom,model : The user-visible name of this sound card.
|
||||
- qcom,prim_mi2s_aux_master : Handle to prim_master pinctrl configurations
|
||||
- qcom,prim_mi2s_aux_slave : Handle to prim_slave pinctrl configurations
|
||||
- qcom,sec_mi2s_aux_master : Handle to sec_master pinctrl configurations
|
||||
- qcom,sec_mi2s_aux_slave : Handle to sec_slave pinctrl configurations
|
||||
- asoc-platform: This is phandle list containing the references to platform device
|
||||
nodes that are used as part of the sound card dai-links.
|
||||
- asoc-platform-names: This property contains list of platform names. The order of
|
||||
the platform names should match to that of the phandle order
|
||||
given in "asoc-platform".
|
||||
- asoc-cpu: This is phandle list containing the references to cpu dai device nodes
|
||||
that are used as part of the sound card dai-links.
|
||||
- asoc-cpu-names: This property contains list of cpu dai names. The order of the
|
||||
cpu dai names should match to that of the phandle order give
|
||||
in "asoc-cpu". The cpu names are in the form of "%s.%d" form,
|
||||
where the id (%d) field represents the back-end AFE port id that
|
||||
this CPU dai is associated with.
|
||||
Example:
|
||||
|
||||
sound-tavil {
|
||||
compatible = "qcom,sdx-asoc-snd-tavil";
|
||||
qcom,model = "sdx-tavil-i2s-snd-card";
|
||||
qcom,prim_mi2s_aux_master = <&prim_master>;
|
||||
qcom,prim_mi2s_aux_slave = <&prim_slave>;
|
||||
qcom,sec_mi2s_aux_master = <&sec_master>;
|
||||
qcom,sec_mi2s_aux_slave = <&sec_slave>;
|
||||
|
||||
asoc-platform = <&pcm0>, <&pcm1>, <&voip>, <&voice>,
|
||||
<&loopback>, <&hostless>, <&afe>, <&routing>,
|
||||
<&pcm_dtmf>, <&host_pcm>, <&compress>;
|
||||
asoc-platform-names = "msm-pcm-dsp.0", "msm-pcm-dsp.1",
|
||||
"msm-voip-dsp", "msm-pcm-voice",
|
||||
"msm-pcm-loopback", "msm-pcm-hostless",
|
||||
"msm-pcm-afe", "msm-pcm-routing",
|
||||
"msm-pcm-dtmf", "msm-voice-host-pcm",
|
||||
"msm-compress-dsp";
|
||||
asoc-cpu = <&dai_pri_auxpcm>, <&mi2s_prim>, <&mi2s_sec>,
|
||||
<&dtmf_tx>,
|
||||
<&rx_capture_tx>, <&rx_playback_rx>,
|
||||
<&tx_capture_tx>, <&tx_playback_rx>,
|
||||
<&afe_pcm_rx>, <&afe_pcm_tx>, <&afe_proxy_rx>,
|
||||
<&afe_proxy_tx>, <&incall_record_rx>,
|
||||
<&incall_record_tx>, <&incall_music_rx>,
|
||||
<&dai_sec_auxpcm>, <&incall2_record_rx>,
|
||||
<&incall_music_2_rx>, <&incall_music_dl_rx>;
|
||||
asoc-cpu-names = "msm-dai-q6-auxpcm.1",
|
||||
"msm-dai-q6-mi2s.0", "msm-dai-q6-mi2s.1",
|
||||
"msm-dai-stub-dev.4", "msm-dai-stub-dev.5",
|
||||
"msm-dai-stub-dev.6", "msm-dai-stub-dev.7",
|
||||
"msm-dai-stub-dev.8", "msm-dai-q6-dev.224",
|
||||
"msm-dai-q6-dev.225", "msm-dai-q6-dev.241",
|
||||
"msm-dai-q6-dev.240", "msm-dai-q6-dev.32771",
|
||||
"msm-dai-q6-dev.32772", "msm-dai-q6-dev.32773",
|
||||
"msm-dai-q6-auxpcm.2", "msm-dai-q6-dev.32769",
|
||||
"msm-dai-q6-dev.32770", "msm-dai-q6-dev.32774";
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue