diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2023-06-28 10:53:25 +0100 |
---|---|---|
committer | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2023-06-28 11:11:40 +0100 |
commit | 1ade4f466b05a86a7c7bdd51f719c08714580d14 (patch) | |
tree | fac7ba67da52c0790c93dc431311c62cf462a1a0 | |
parent | e55104e67edd50804d53bacd5d651e93a9141639 (diff) |
Update prebuild with new layout to reflect linux-firmware path.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-rw-r--r-- | prebuilt/qcom/sc7180/Google-SC7180-WSA-Speakers-SEC-I2S-VA-DMIC-WCD-TX3-tplg.bin (renamed from prebuilt/Google-SC7180-WSA-Speakers-SEC-I2S-VA-DMIC-WCD-TX3-tplg.bin) | bin | 24304 -> 24304 bytes | |||
-rw-r--r-- | prebuilt/qcom/sc7180/Google-SC7180-WSA-Speakers-SEC-I2S-VA-DMIC-WCD-TX3.conf (renamed from prebuilt/Google-SC7180-WSA-Speakers-SEC-I2S-VA-DMIC-WCD-TX3.conf) | 508 | ||||
-rw-r--r-- | prebuilt/qcom/sc8280xp/LENOVO/21BX/audioreach-tplg.bin (renamed from prebuilt/SC8280XP-LENOVO-X13S-tplg.bin) | bin | 24296 -> 24296 bytes | |||
-rw-r--r-- | prebuilt/qcom/sc8280xp/LENOVO/21BX/audioreach.conf (renamed from prebuilt/SC8280XP-LENOVO-X13S.conf) | 508 | ||||
-rw-r--r-- | prebuilt/qcom/sm8250/Qualcomm-RB5-WSA8815-Speakers-DMIC0-tplg.bin (renamed from prebuilt/Qualcomm-RB5-WSA8815-Speakers-DMIC0-tplg.bin) | bin | 18160 -> 18160 bytes | |||
-rw-r--r-- | prebuilt/qcom/sm8250/Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf (renamed from prebuilt/Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf) | 392 | ||||
-rw-r--r-- | prebuilt/qcom/sm8250/SM8250-MTP-WCD9380-WSA8810-VA-DMIC-tplg.bin (renamed from prebuilt/SM8250-MTP-WCD9380-WSA8810-VA-DMIC-tplg.bin) | bin | 26748 -> 26748 bytes | |||
-rw-r--r-- | prebuilt/qcom/sm8250/SM8250-MTP-WCD9380-WSA8810-VA-DMIC.conf (renamed from prebuilt/SM8250-MTP-WCD9380-WSA8810-VA-DMIC.conf) | 516 | ||||
-rw-r--r-- | prebuilt/qcom/sm8450/SM8450-HDK-tplg.bin (renamed from prebuilt/SM8450-HDK-tplg.bin) | bin | 26748 -> 26748 bytes | |||
-rw-r--r-- | prebuilt/qcom/sm8450/SM8450-HDK.conf (renamed from prebuilt/SM8450-HDK.conf) | 520 | ||||
-rw-r--r-- | prebuilt/qcom/sm8550/SM8550-QRD-tplg.bin | bin | 0 -> 24296 bytes | |||
-rw-r--r-- | prebuilt/qcom/sm8550/SM8550-QRD.conf | 1964 |
12 files changed, 3186 insertions, 1222 deletions
diff --git a/prebuilt/Google-SC7180-WSA-Speakers-SEC-I2S-VA-DMIC-WCD-TX3-tplg.bin b/prebuilt/qcom/sc7180/Google-SC7180-WSA-Speakers-SEC-I2S-VA-DMIC-WCD-TX3-tplg.bin Binary files differindex 12943d8..8ef2e30 100644 --- a/prebuilt/Google-SC7180-WSA-Speakers-SEC-I2S-VA-DMIC-WCD-TX3-tplg.bin +++ b/prebuilt/qcom/sc7180/Google-SC7180-WSA-Speakers-SEC-I2S-VA-DMIC-WCD-TX3-tplg.bin diff --git a/prebuilt/Google-SC7180-WSA-Speakers-SEC-I2S-VA-DMIC-WCD-TX3.conf b/prebuilt/qcom/sc7180/Google-SC7180-WSA-Speakers-SEC-I2S-VA-DMIC-WCD-TX3.conf index 8a1f9df..6c02a9b 100644 --- a/prebuilt/Google-SC7180-WSA-Speakers-SEC-I2S-VA-DMIC-WCD-TX3.conf +++ b/prebuilt/qcom/sc7180/Google-SC7180-WSA-Speakers-SEC-I2S-VA-DMIC-WCD-TX3.conf @@ -1,4 +1,4 @@ - + @@ -6,7 +6,7 @@ - + @@ -55,8 +55,8 @@ SectionVendorTokens."audioreach_tokens" { # |_____________________________________________________| # # - - + + @@ -84,13 +84,13 @@ SectionPCMCapabilities."MultiMedia1 Playback" { SectionPCM."MultiMedia1 Playback" { - index "1" + index "0" # used for binding to the PCM - id "1" + id "0" dai."MultiMedia1 Playback" { - id "1" + id "0" } pcm."playback" { @@ -99,23 +99,23 @@ SectionPCM."MultiMedia1 Playback" { } -SectionVendorTuples."stream1.sub_graph1_tuples" { +SectionVendorTuples."stream0.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004001" - AR_TKN_DAI_INDEX "1" + AR_TKN_DAI_INDEX "0" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x2" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x1" } } -SectionData."stream1.sub_graph1_data" { - tuples "stream1.sub_graph1_tuples" +SectionData."stream0.sub_graph1_data" { + tuples "stream0.sub_graph1_tuples" } -SectionVendorTuples."stream1.container1_tuples" { +SectionVendorTuples."stream0.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004001" @@ -126,12 +126,12 @@ SectionVendorTuples."stream1.container1_tuples" { } } -SectionData."stream1.container1_data" { - tuples "stream1.container1_tuples" +SectionData."stream0.container1_data" { + tuples "stream0.container1_tuples" } -SectionVendorTuples."stream1.wrsh_ep1_tuples" { +SectionVendorTuples."stream0.wrsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "0x00006001" @@ -147,24 +147,24 @@ SectionVendorTuples."stream1.wrsh_ep1_tuples" { } } -SectionData."stream1.wrsh_ep1_data" { - tuples "stream1.wrsh_ep1_tuples" +SectionData."stream0.wrsh_ep1_data" { + tuples "stream0.wrsh_ep1_tuples" } -SectionWidget."stream1.wrsh_ep1" { +SectionWidget."stream0.wrsh_ep1" { index "1" type "aif_in" no_pm "true" stream_name "MultiMedia1 Playback" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.wrsh_ep1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.wrsh_ep1_data" ] } -SectionVendorTuples."stream1.pcm_decoder1_tuples" { +SectionVendorTuples."stream0.pcm_decoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -182,23 +182,23 @@ SectionVendorTuples."stream1.pcm_decoder1_tuples" { } } -SectionData."stream1.pcm_decoder1_data" { - tuples "stream1.pcm_decoder1_tuples" +SectionData."stream0.pcm_decoder1_data" { + tuples "stream0.pcm_decoder1_tuples" } -SectionWidget."stream1.pcm_decoder1" { +SectionWidget."stream0.pcm_decoder1" { index "1" type "decoder" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.pcm_decoder1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.pcm_decoder1_data" ] } -SectionVendorTuples."stream1.pcm_converter1_tuples" { +SectionVendorTuples."stream0.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -216,22 +216,22 @@ SectionVendorTuples."stream1.pcm_converter1_tuples" { } } -SectionData."stream1.pcm_converter1_data" { - tuples "stream1.pcm_converter1_tuples" +SectionData."stream0.pcm_converter1_data" { + tuples "stream0.pcm_converter1_tuples" } -SectionWidget."stream1.pcm_converter1" { +SectionWidget."stream0.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.pcm_converter1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.pcm_converter1_data" ] } -SectionVendorTuples."stream1.vol_ctrl1_tuples" { +SectionVendorTuples."stream0.vol_ctrl0_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -248,21 +248,21 @@ SectionVendorTuples."stream1.vol_ctrl1_tuples" { } } -SectionData."stream1.vol_ctrl1_data" { - tuples "stream1.vol_ctrl1_tuples" +SectionData."stream0.vol_ctrl0_data" { + tuples "stream0.vol_ctrl0_tuples" } -SectionWidget."stream1.vol_ctrl1" { - index "1" +SectionWidget."stream0.vol_ctrl0" { + index "0" type "pga" no_pm "true" event_type "1" event_flags "15" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.vol_ctrl1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.vol_ctrl0_data" ] mixer [ "MultiMedia1 Playback Volume" @@ -280,7 +280,7 @@ SectionControlMixer."MultiMedia1 Playback Volume" { Comment "Stream Global volume" # control belongs to this index group - index "1" + index "0" # Channel register and shift for Front Left/Right channel."FL" { @@ -305,7 +305,7 @@ SectionControlMixer."MultiMedia1 Playback Volume" { tlv "MultiMedia1_playback_vol_ctrl_tlv" } -SectionVendorTuples."stream1.mfc1_tuples" { +SectionVendorTuples."stream0.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -322,23 +322,23 @@ SectionVendorTuples."stream1.mfc1_tuples" { } } -SectionData."stream1.mfc1_data" { - tuples "stream1.mfc1_tuples" +SectionData."stream0.mfc1_data" { + tuples "stream0.mfc1_tuples" } -SectionWidget."stream1.mfc1" { +SectionWidget."stream0.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.mfc1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.mfc1_data" ] } -SectionVendorTuples."stream1.logger1_tuples" { +SectionVendorTuples."stream0.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -358,25 +358,25 @@ SectionVendorTuples."stream1.logger1_tuples" { } } -SectionData."stream1.logger1_data" { - tuples "stream1.logger1_tuples" +SectionData."stream0.logger1_data" { + tuples "stream0.logger1_tuples" } -SectionWidget."stream1.logger1" { +SectionWidget."stream0.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.logger1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.logger1_data" ] } SectionControlMixer."MultiMedia1" { reg "-1" - index "1" + index "0" max "1" invert "false" @@ -392,23 +392,23 @@ SectionControlMixer."MultiMedia1" { } data [ - "stream1.sub_graph1_data" + "stream0.sub_graph1_data" ] } -SectionGraph."stream1.1 Graph" { +SectionGraph."stream0.1 Graph" { index "1" lines [ - "stream1.pcm_decoder1, , stream1.wrsh_ep1" - "stream1.pcm_converter1, , stream1.pcm_decoder1" - "stream1.vol_ctrl1, , stream1.pcm_converter1" - "stream1.mfc1, , stream1.vol_ctrl1" - "stream1.logger1, , stream1.mfc1" + "stream0.pcm_decoder1, , stream0.wrsh_ep1" + "stream0.pcm_converter1, , stream0.pcm_decoder1" + "stream0.vol_ctrl0, , stream0.pcm_converter1" + "stream0.mfc1, , stream0.vol_ctrl0" + "stream0.logger1, , stream0.mfc1" ] } - - + + @@ -436,13 +436,13 @@ SectionPCMCapabilities."MultiMedia2 Playback" { SectionPCM."MultiMedia2 Playback" { - index "2" + index "1" # used for binding to the PCM - id "2" + id "1" dai."MultiMedia2 Playback" { - id "2" + id "1" } pcm."playback" { @@ -451,23 +451,23 @@ SectionPCM."MultiMedia2 Playback" { } -SectionVendorTuples."stream2.sub_graph1_tuples" { +SectionVendorTuples."stream1.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004002" - AR_TKN_DAI_INDEX "2" + AR_TKN_DAI_INDEX "1" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x2" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x1" } } -SectionData."stream2.sub_graph1_data" { - tuples "stream2.sub_graph1_tuples" +SectionData."stream1.sub_graph1_data" { + tuples "stream1.sub_graph1_tuples" } -SectionVendorTuples."stream2.container1_tuples" { +SectionVendorTuples."stream1.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004002" @@ -478,12 +478,12 @@ SectionVendorTuples."stream2.container1_tuples" { } } -SectionData."stream2.container1_data" { - tuples "stream2.container1_tuples" +SectionData."stream1.container1_data" { + tuples "stream1.container1_tuples" } -SectionVendorTuples."stream2.wrsh_ep1_tuples" { +SectionVendorTuples."stream1.wrsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "0x00006010" @@ -499,24 +499,24 @@ SectionVendorTuples."stream2.wrsh_ep1_tuples" { } } -SectionData."stream2.wrsh_ep1_data" { - tuples "stream2.wrsh_ep1_tuples" +SectionData."stream1.wrsh_ep1_data" { + tuples "stream1.wrsh_ep1_tuples" } -SectionWidget."stream2.wrsh_ep1" { +SectionWidget."stream1.wrsh_ep1" { index "1" type "aif_in" no_pm "true" stream_name "MultiMedia2 Playback" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.wrsh_ep1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.wrsh_ep1_data" ] } -SectionVendorTuples."stream2.pcm_decoder1_tuples" { +SectionVendorTuples."stream1.pcm_decoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -534,23 +534,23 @@ SectionVendorTuples."stream2.pcm_decoder1_tuples" { } } -SectionData."stream2.pcm_decoder1_data" { - tuples "stream2.pcm_decoder1_tuples" +SectionData."stream1.pcm_decoder1_data" { + tuples "stream1.pcm_decoder1_tuples" } -SectionWidget."stream2.pcm_decoder1" { +SectionWidget."stream1.pcm_decoder1" { index "1" type "decoder" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.pcm_decoder1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.pcm_decoder1_data" ] } -SectionVendorTuples."stream2.pcm_converter1_tuples" { +SectionVendorTuples."stream1.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -568,22 +568,22 @@ SectionVendorTuples."stream2.pcm_converter1_tuples" { } } -SectionData."stream2.pcm_converter1_data" { - tuples "stream2.pcm_converter1_tuples" +SectionData."stream1.pcm_converter1_data" { + tuples "stream1.pcm_converter1_tuples" } -SectionWidget."stream2.pcm_converter1" { +SectionWidget."stream1.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.pcm_converter1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.pcm_converter1_data" ] } -SectionVendorTuples."stream2.vol_ctrl2_tuples" { +SectionVendorTuples."stream1.vol_ctrl1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -600,21 +600,21 @@ SectionVendorTuples."stream2.vol_ctrl2_tuples" { } } -SectionData."stream2.vol_ctrl2_data" { - tuples "stream2.vol_ctrl2_tuples" +SectionData."stream1.vol_ctrl1_data" { + tuples "stream1.vol_ctrl1_tuples" } -SectionWidget."stream2.vol_ctrl2" { - index "2" +SectionWidget."stream1.vol_ctrl1" { + index "1" type "pga" no_pm "true" event_type "1" event_flags "15" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.vol_ctrl2_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.vol_ctrl1_data" ] mixer [ "MultiMedia2 Playback Volume" @@ -632,7 +632,7 @@ SectionControlMixer."MultiMedia2 Playback Volume" { Comment "Stream Global volume" # control belongs to this index group - index "2" + index "1" # Channel register and shift for Front Left/Right channel."FL" { @@ -657,7 +657,7 @@ SectionControlMixer."MultiMedia2 Playback Volume" { tlv "MultiMedia2_playback_vol_ctrl_tlv" } -SectionVendorTuples."stream2.mfc1_tuples" { +SectionVendorTuples."stream1.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -674,23 +674,23 @@ SectionVendorTuples."stream2.mfc1_tuples" { } } -SectionData."stream2.mfc1_data" { - tuples "stream2.mfc1_tuples" +SectionData."stream1.mfc1_data" { + tuples "stream1.mfc1_tuples" } -SectionWidget."stream2.mfc1" { +SectionWidget."stream1.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.mfc1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.mfc1_data" ] } -SectionVendorTuples."stream2.logger1_tuples" { +SectionVendorTuples."stream1.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -710,25 +710,25 @@ SectionVendorTuples."stream2.logger1_tuples" { } } -SectionData."stream2.logger1_data" { - tuples "stream2.logger1_tuples" +SectionData."stream1.logger1_data" { + tuples "stream1.logger1_tuples" } -SectionWidget."stream2.logger1" { +SectionWidget."stream1.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.logger1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.logger1_data" ] } SectionControlMixer."MultiMedia2" { reg "-1" - index "2" + index "1" max "1" invert "false" @@ -744,23 +744,23 @@ SectionControlMixer."MultiMedia2" { } data [ - "stream2.sub_graph1_data" + "stream1.sub_graph1_data" ] } -SectionGraph."stream2.1 Graph" { +SectionGraph."stream1.1 Graph" { index "1" lines [ - "stream2.pcm_decoder1, , stream2.wrsh_ep1" - "stream2.pcm_converter1, , stream2.pcm_decoder1" - "stream2.vol_ctrl2, , stream2.pcm_converter1" - "stream2.mfc1, , stream2.vol_ctrl2" - "stream2.logger1, , stream2.mfc1" + "stream1.pcm_decoder1, , stream1.wrsh_ep1" + "stream1.pcm_converter1, , stream1.pcm_decoder1" + "stream1.vol_ctrl1, , stream1.pcm_converter1" + "stream1.mfc1, , stream1.vol_ctrl1" + "stream1.logger1, , stream1.mfc1" ] } - - + + @@ -788,13 +788,13 @@ SectionPCMCapabilities."MultiMedia3 Capture" { SectionPCM."MultiMedia3 Capture" { - index "3" + index "2" # used for binding to the PCM - id "3" + id "2" dai."MultiMedia3 Capture" { - id "3" + id "2" } pcm."capture" { @@ -803,23 +803,23 @@ SectionPCM."MultiMedia3 Capture" { } -SectionVendorTuples."stream3.sub_graph1_tuples" { +SectionVendorTuples."stream2.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004003" - AR_TKN_DAI_INDEX "3" + AR_TKN_DAI_INDEX "2" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x1" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x2" } } -SectionData."stream3.sub_graph1_data" { - tuples "stream3.sub_graph1_tuples" +SectionData."stream2.sub_graph1_data" { + tuples "stream2.sub_graph1_tuples" } -SectionVendorTuples."stream3.container1_tuples" { +SectionVendorTuples."stream2.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004003" @@ -830,12 +830,12 @@ SectionVendorTuples."stream3.container1_tuples" { } } -SectionData."stream3.container1_data" { - tuples "stream3.container1_tuples" +SectionData."stream2.container1_data" { + tuples "stream2.container1_tuples" } -SectionVendorTuples."stream3.logger1_tuples" { +SectionVendorTuples."stream2.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -855,23 +855,23 @@ SectionVendorTuples."stream3.logger1_tuples" { } } -SectionData."stream3.logger1_data" { - tuples "stream3.logger1_tuples" +SectionData."stream2.logger1_data" { + tuples "stream2.logger1_tuples" } -SectionWidget."stream3.logger1" { +SectionWidget."stream2.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.logger1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.logger1_data" ] } -SectionVendorTuples."stream3.mfc1_tuples" { +SectionVendorTuples."stream2.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -888,23 +888,23 @@ SectionVendorTuples."stream3.mfc1_tuples" { } } -SectionData."stream3.mfc1_data" { - tuples "stream3.mfc1_tuples" +SectionData."stream2.mfc1_data" { + tuples "stream2.mfc1_tuples" } -SectionWidget."stream3.mfc1" { +SectionWidget."stream2.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.mfc1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.mfc1_data" ] } -SectionVendorTuples."stream3.pcm_converter1_tuples" { +SectionVendorTuples."stream2.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -922,23 +922,23 @@ SectionVendorTuples."stream3.pcm_converter1_tuples" { } } -SectionData."stream3.pcm_converter1_data" { - tuples "stream3.pcm_converter1_tuples" +SectionData."stream2.pcm_converter1_data" { + tuples "stream2.pcm_converter1_tuples" } -SectionWidget."stream3.pcm_converter1" { +SectionWidget."stream2.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.pcm_converter1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.pcm_converter1_data" ] } -SectionVendorTuples."stream3.pcm_encoder1_tuples" { +SectionVendorTuples."stream2.pcm_encoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -956,23 +956,23 @@ SectionVendorTuples."stream3.pcm_encoder1_tuples" { } } -SectionData."stream3.pcm_encoder1_data" { - tuples "stream3.pcm_encoder1_tuples" +SectionData."stream2.pcm_encoder1_data" { + tuples "stream2.pcm_encoder1_tuples" } -SectionWidget."stream3.pcm_encoder1" { +SectionWidget."stream2.pcm_encoder1" { index "1" type "encoder" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.pcm_encoder1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.pcm_encoder1_data" ] } -SectionVendorTuples."stream3.rdsh_ep1_tuples" { +SectionVendorTuples."stream2.rdsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "24612" @@ -988,38 +988,38 @@ SectionVendorTuples."stream3.rdsh_ep1_tuples" { } } -SectionData."stream3.rdsh_ep1_data" { - tuples "stream3.rdsh_ep1_tuples" +SectionData."stream2.rdsh_ep1_data" { + tuples "stream2.rdsh_ep1_tuples" } -SectionWidget."stream3.rdsh_ep1" { +SectionWidget."stream2.rdsh_ep1" { index "1" type "aif_out" no_pm "true" stream_name "MultiMedia3 Capture" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.rdsh_ep1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.rdsh_ep1_data" ] } -SectionGraph."stream3.1 Graph" { +SectionGraph."stream2.1 Graph" { index "1" lines [ - "stream3.logger1, , MultiMedia3 Mixer" - "stream3.mfc1, , stream3.logger1" - "stream3.pcm_converter1, , stream3.mfc1" - "stream3.pcm_encoder1, , stream3.pcm_converter1" - "stream3.rdsh_ep1, , stream3.pcm_encoder1" + "stream2.logger1, , MultiMedia3 Mixer" + "stream2.mfc1, , stream2.logger1" + "stream2.pcm_converter1, , stream2.mfc1" + "stream2.pcm_encoder1, , stream2.pcm_converter1" + "stream2.rdsh_ep1, , stream2.pcm_encoder1" ] } - - + + @@ -1047,13 +1047,13 @@ SectionPCMCapabilities."MultiMedia4 Capture" { SectionPCM."MultiMedia4 Capture" { - index "4" + index "3" # used for binding to the PCM - id "4" + id "3" dai."MultiMedia4 Capture" { - id "4" + id "3" } pcm."capture" { @@ -1062,23 +1062,23 @@ SectionPCM."MultiMedia4 Capture" { } -SectionVendorTuples."stream4.sub_graph1_tuples" { +SectionVendorTuples."stream3.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004004" - AR_TKN_DAI_INDEX "4" + AR_TKN_DAI_INDEX "3" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x1" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x2" } } -SectionData."stream4.sub_graph1_data" { - tuples "stream4.sub_graph1_tuples" +SectionData."stream3.sub_graph1_data" { + tuples "stream3.sub_graph1_tuples" } -SectionVendorTuples."stream4.container1_tuples" { +SectionVendorTuples."stream3.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004004" @@ -1089,12 +1089,12 @@ SectionVendorTuples."stream4.container1_tuples" { } } -SectionData."stream4.container1_data" { - tuples "stream4.container1_tuples" +SectionData."stream3.container1_data" { + tuples "stream3.container1_tuples" } -SectionVendorTuples."stream4.logger1_tuples" { +SectionVendorTuples."stream3.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1114,23 +1114,23 @@ SectionVendorTuples."stream4.logger1_tuples" { } } -SectionData."stream4.logger1_data" { - tuples "stream4.logger1_tuples" +SectionData."stream3.logger1_data" { + tuples "stream3.logger1_tuples" } -SectionWidget."stream4.logger1" { +SectionWidget."stream3.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.logger1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.logger1_data" ] } -SectionVendorTuples."stream4.mfc1_tuples" { +SectionVendorTuples."stream3.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1147,23 +1147,23 @@ SectionVendorTuples."stream4.mfc1_tuples" { } } -SectionData."stream4.mfc1_data" { - tuples "stream4.mfc1_tuples" +SectionData."stream3.mfc1_data" { + tuples "stream3.mfc1_tuples" } -SectionWidget."stream4.mfc1" { +SectionWidget."stream3.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.mfc1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.mfc1_data" ] } -SectionVendorTuples."stream4.pcm_converter1_tuples" { +SectionVendorTuples."stream3.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1181,23 +1181,23 @@ SectionVendorTuples."stream4.pcm_converter1_tuples" { } } -SectionData."stream4.pcm_converter1_data" { - tuples "stream4.pcm_converter1_tuples" +SectionData."stream3.pcm_converter1_data" { + tuples "stream3.pcm_converter1_tuples" } -SectionWidget."stream4.pcm_converter1" { +SectionWidget."stream3.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.pcm_converter1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.pcm_converter1_data" ] } -SectionVendorTuples."stream4.pcm_encoder1_tuples" { +SectionVendorTuples."stream3.pcm_encoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1215,23 +1215,23 @@ SectionVendorTuples."stream4.pcm_encoder1_tuples" { } } -SectionData."stream4.pcm_encoder1_data" { - tuples "stream4.pcm_encoder1_tuples" +SectionData."stream3.pcm_encoder1_data" { + tuples "stream3.pcm_encoder1_tuples" } -SectionWidget."stream4.pcm_encoder1" { +SectionWidget."stream3.pcm_encoder1" { index "1" type "encoder" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.pcm_encoder1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.pcm_encoder1_data" ] } -SectionVendorTuples."stream4.rdsh_ep1_tuples" { +SectionVendorTuples."stream3.rdsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "24628" @@ -1247,32 +1247,32 @@ SectionVendorTuples."stream4.rdsh_ep1_tuples" { } } -SectionData."stream4.rdsh_ep1_data" { - tuples "stream4.rdsh_ep1_tuples" +SectionData."stream3.rdsh_ep1_data" { + tuples "stream3.rdsh_ep1_tuples" } -SectionWidget."stream4.rdsh_ep1" { +SectionWidget."stream3.rdsh_ep1" { index "1" type "aif_out" no_pm "true" stream_name "MultiMedia4 Capture" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.rdsh_ep1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.rdsh_ep1_data" ] } -SectionGraph."stream4.1 Graph" { +SectionGraph."stream3.1 Graph" { index "1" lines [ - "stream4.logger1, , MultiMedia4 Mixer" - "stream4.mfc1, , stream4.logger1" - "stream4.pcm_converter1, , stream4.mfc1" - "stream4.pcm_encoder1, , stream4.pcm_converter1" - "stream4.rdsh_ep1, , stream4.pcm_encoder1" + "stream3.logger1, , MultiMedia4 Mixer" + "stream3.mfc1, , stream3.logger1" + "stream3.pcm_converter1, , stream3.mfc1" + "stream3.pcm_encoder1, , stream3.pcm_converter1" + "stream3.rdsh_ep1, , stream3.pcm_encoder1" ] } @@ -1284,8 +1284,8 @@ SectionGraph."stream4.1 Graph" { # Mixer -| [LOG] -> [WSA EP] | # |___________________| # - - + + @@ -1419,8 +1419,8 @@ SectionGraph."device18.1 SECONDARY_MI2S_RX Graph" { } - - + + @@ -1552,8 +1552,8 @@ SectionGraph."device113.1 RX_CODEC_DMA_RX_0 Graph" { } - - + + @@ -1705,8 +1705,8 @@ SectionGraph."device110.1 VA_CODEC_DMA_TX_0 Graph" { ] } - - + + @@ -1896,8 +1896,8 @@ SectionGraph."RX_CODEC_DMA_RX_0 Audio Mixer Graph" { index "113" lines [ - "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream2.logger1" - "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream1.logger1" + "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream1.logger1" + "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream0.logger1" ] } @@ -1906,14 +1906,14 @@ SectionGraph."SECONDARY_MI2S_RX Audio Mixer Graph" { index "18" lines [ - "SECONDARY_MI2S_RX Audio Mixer, MultiMedia2, stream2.logger1" - "SECONDARY_MI2S_RX Audio Mixer, MultiMedia1, stream1.logger1" + "SECONDARY_MI2S_RX Audio Mixer, MultiMedia2, stream1.logger1" + "SECONDARY_MI2S_RX Audio Mixer, MultiMedia1, stream0.logger1" ] } SectionWidget."MultiMedia3 Mixer" { reg "-1" - index "3" + index "2" type "mixer" mixer [ @@ -1923,13 +1923,13 @@ SectionWidget."MultiMedia3 Mixer" { ] data [ - "stream3.sub_graph1_data" + "stream2.sub_graph1_data" ] } SectionWidget."MultiMedia4 Mixer" { reg "-1" - index "4" + index "3" type "mixer" mixer [ @@ -1939,13 +1939,13 @@ SectionWidget."MultiMedia4 Mixer" { ] data [ - "stream4.sub_graph1_data" + "stream3.sub_graph1_data" ] } SectionGraph."MultiMedia3 Mixer Graph" { - index "3" + index "2" lines [ "MultiMedia3 Mixer, TX_CODEC_DMA_TX_3, device120.logger1" @@ -1955,7 +1955,7 @@ SectionGraph."MultiMedia3 Mixer Graph" { SectionGraph."MultiMedia4 Mixer Graph" { - index "4" + index "3" lines [ "MultiMedia4 Mixer, TX_CODEC_DMA_TX_3, device120.logger1" diff --git a/prebuilt/SC8280XP-LENOVO-X13S-tplg.bin b/prebuilt/qcom/sc8280xp/LENOVO/21BX/audioreach-tplg.bin Binary files differindex 8b2f67f..4941cdb 100644 --- a/prebuilt/SC8280XP-LENOVO-X13S-tplg.bin +++ b/prebuilt/qcom/sc8280xp/LENOVO/21BX/audioreach-tplg.bin diff --git a/prebuilt/SC8280XP-LENOVO-X13S.conf b/prebuilt/qcom/sc8280xp/LENOVO/21BX/audioreach.conf index d5f7a8a..6ab4d9f 100644 --- a/prebuilt/SC8280XP-LENOVO-X13S.conf +++ b/prebuilt/qcom/sc8280xp/LENOVO/21BX/audioreach.conf @@ -1,4 +1,4 @@ - + @@ -6,7 +6,7 @@ - + @@ -54,8 +54,8 @@ SectionVendorTokens."audioreach_tokens" { # | [WR_SH] -> [PCM DEC] -> [PCM CONV] -> [LOG] |- Kcontrol # |______________________________________________| # - - + + @@ -83,13 +83,13 @@ SectionPCMCapabilities."MultiMedia1 Playback" { SectionPCM."MultiMedia1 Playback" { - index "1" + index "0" # used for binding to the PCM - id "1" + id "0" dai."MultiMedia1 Playback" { - id "1" + id "0" } pcm."playback" { @@ -98,23 +98,23 @@ SectionPCM."MultiMedia1 Playback" { } -SectionVendorTuples."stream1.sub_graph1_tuples" { +SectionVendorTuples."stream0.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004001" - AR_TKN_DAI_INDEX "1" + AR_TKN_DAI_INDEX "0" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x2" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x1" } } -SectionData."stream1.sub_graph1_data" { - tuples "stream1.sub_graph1_tuples" +SectionData."stream0.sub_graph1_data" { + tuples "stream0.sub_graph1_tuples" } -SectionVendorTuples."stream1.container1_tuples" { +SectionVendorTuples."stream0.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004001" @@ -125,12 +125,12 @@ SectionVendorTuples."stream1.container1_tuples" { } } -SectionData."stream1.container1_data" { - tuples "stream1.container1_tuples" +SectionData."stream0.container1_data" { + tuples "stream0.container1_tuples" } -SectionVendorTuples."stream1.wrsh_ep1_tuples" { +SectionVendorTuples."stream0.wrsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "0x00006001" @@ -146,24 +146,24 @@ SectionVendorTuples."stream1.wrsh_ep1_tuples" { } } -SectionData."stream1.wrsh_ep1_data" { - tuples "stream1.wrsh_ep1_tuples" +SectionData."stream0.wrsh_ep1_data" { + tuples "stream0.wrsh_ep1_tuples" } -SectionWidget."stream1.wrsh_ep1" { +SectionWidget."stream0.wrsh_ep1" { index "1" type "aif_in" no_pm "true" stream_name "MultiMedia1 Playback" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.wrsh_ep1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.wrsh_ep1_data" ] } -SectionVendorTuples."stream1.pcm_decoder1_tuples" { +SectionVendorTuples."stream0.pcm_decoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -181,23 +181,23 @@ SectionVendorTuples."stream1.pcm_decoder1_tuples" { } } -SectionData."stream1.pcm_decoder1_data" { - tuples "stream1.pcm_decoder1_tuples" +SectionData."stream0.pcm_decoder1_data" { + tuples "stream0.pcm_decoder1_tuples" } -SectionWidget."stream1.pcm_decoder1" { +SectionWidget."stream0.pcm_decoder1" { index "1" type "decoder" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.pcm_decoder1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.pcm_decoder1_data" ] } -SectionVendorTuples."stream1.pcm_converter1_tuples" { +SectionVendorTuples."stream0.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -215,22 +215,22 @@ SectionVendorTuples."stream1.pcm_converter1_tuples" { } } -SectionData."stream1.pcm_converter1_data" { - tuples "stream1.pcm_converter1_tuples" +SectionData."stream0.pcm_converter1_data" { + tuples "stream0.pcm_converter1_tuples" } -SectionWidget."stream1.pcm_converter1" { +SectionWidget."stream0.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.pcm_converter1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.pcm_converter1_data" ] } -SectionVendorTuples."stream1.vol_ctrl1_tuples" { +SectionVendorTuples."stream0.vol_ctrl0_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -247,21 +247,21 @@ SectionVendorTuples."stream1.vol_ctrl1_tuples" { } } -SectionData."stream1.vol_ctrl1_data" { - tuples "stream1.vol_ctrl1_tuples" +SectionData."stream0.vol_ctrl0_data" { + tuples "stream0.vol_ctrl0_tuples" } -SectionWidget."stream1.vol_ctrl1" { - index "1" +SectionWidget."stream0.vol_ctrl0" { + index "0" type "pga" no_pm "true" event_type "1" event_flags "15" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.vol_ctrl1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.vol_ctrl0_data" ] mixer [ "MultiMedia1 Playback Volume" @@ -279,7 +279,7 @@ SectionControlMixer."MultiMedia1 Playback Volume" { Comment "Stream Global volume" # control belongs to this index group - index "1" + index "0" # Channel register and shift for Front Left/Right channel."FL" { @@ -304,7 +304,7 @@ SectionControlMixer."MultiMedia1 Playback Volume" { tlv "MultiMedia1_playback_vol_ctrl_tlv" } -SectionVendorTuples."stream1.mfc1_tuples" { +SectionVendorTuples."stream0.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -321,23 +321,23 @@ SectionVendorTuples."stream1.mfc1_tuples" { } } -SectionData."stream1.mfc1_data" { - tuples "stream1.mfc1_tuples" +SectionData."stream0.mfc1_data" { + tuples "stream0.mfc1_tuples" } -SectionWidget."stream1.mfc1" { +SectionWidget."stream0.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.mfc1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.mfc1_data" ] } -SectionVendorTuples."stream1.logger1_tuples" { +SectionVendorTuples."stream0.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -357,25 +357,25 @@ SectionVendorTuples."stream1.logger1_tuples" { } } -SectionData."stream1.logger1_data" { - tuples "stream1.logger1_tuples" +SectionData."stream0.logger1_data" { + tuples "stream0.logger1_tuples" } -SectionWidget."stream1.logger1" { +SectionWidget."stream0.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.logger1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.logger1_data" ] } SectionControlMixer."MultiMedia1" { reg "-1" - index "1" + index "0" max "1" invert "false" @@ -391,23 +391,23 @@ SectionControlMixer."MultiMedia1" { } data [ - "stream1.sub_graph1_data" + "stream0.sub_graph1_data" ] } -SectionGraph."stream1.1 Graph" { +SectionGraph."stream0.1 Graph" { index "1" lines [ - "stream1.pcm_decoder1, , stream1.wrsh_ep1" - "stream1.pcm_converter1, , stream1.pcm_decoder1" - "stream1.vol_ctrl1, , stream1.pcm_converter1" - "stream1.mfc1, , stream1.vol_ctrl1" - "stream1.logger1, , stream1.mfc1" + "stream0.pcm_decoder1, , stream0.wrsh_ep1" + "stream0.pcm_converter1, , stream0.pcm_decoder1" + "stream0.vol_ctrl0, , stream0.pcm_converter1" + "stream0.mfc1, , stream0.vol_ctrl0" + "stream0.logger1, , stream0.mfc1" ] } - - + + @@ -435,13 +435,13 @@ SectionPCMCapabilities."MultiMedia2 Playback" { SectionPCM."MultiMedia2 Playback" { - index "2" + index "1" # used for binding to the PCM - id "2" + id "1" dai."MultiMedia2 Playback" { - id "2" + id "1" } pcm."playback" { @@ -450,23 +450,23 @@ SectionPCM."MultiMedia2 Playback" { } -SectionVendorTuples."stream2.sub_graph1_tuples" { +SectionVendorTuples."stream1.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004002" - AR_TKN_DAI_INDEX "2" + AR_TKN_DAI_INDEX "1" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x2" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x1" } } -SectionData."stream2.sub_graph1_data" { - tuples "stream2.sub_graph1_tuples" +SectionData."stream1.sub_graph1_data" { + tuples "stream1.sub_graph1_tuples" } -SectionVendorTuples."stream2.container1_tuples" { +SectionVendorTuples."stream1.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004002" @@ -477,12 +477,12 @@ SectionVendorTuples."stream2.container1_tuples" { } } -SectionData."stream2.container1_data" { - tuples "stream2.container1_tuples" +SectionData."stream1.container1_data" { + tuples "stream1.container1_tuples" } -SectionVendorTuples."stream2.wrsh_ep1_tuples" { +SectionVendorTuples."stream1.wrsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "0x00006010" @@ -498,24 +498,24 @@ SectionVendorTuples."stream2.wrsh_ep1_tuples" { } } -SectionData."stream2.wrsh_ep1_data" { - tuples "stream2.wrsh_ep1_tuples" +SectionData."stream1.wrsh_ep1_data" { + tuples "stream1.wrsh_ep1_tuples" } -SectionWidget."stream2.wrsh_ep1" { +SectionWidget."stream1.wrsh_ep1" { index "1" type "aif_in" no_pm "true" stream_name "MultiMedia2 Playback" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.wrsh_ep1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.wrsh_ep1_data" ] } -SectionVendorTuples."stream2.pcm_decoder1_tuples" { +SectionVendorTuples."stream1.pcm_decoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -533,23 +533,23 @@ SectionVendorTuples."stream2.pcm_decoder1_tuples" { } } -SectionData."stream2.pcm_decoder1_data" { - tuples "stream2.pcm_decoder1_tuples" +SectionData."stream1.pcm_decoder1_data" { + tuples "stream1.pcm_decoder1_tuples" } -SectionWidget."stream2.pcm_decoder1" { +SectionWidget."stream1.pcm_decoder1" { index "1" type "decoder" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.pcm_decoder1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.pcm_decoder1_data" ] } -SectionVendorTuples."stream2.pcm_converter1_tuples" { +SectionVendorTuples."stream1.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -567,22 +567,22 @@ SectionVendorTuples."stream2.pcm_converter1_tuples" { } } -SectionData."stream2.pcm_converter1_data" { - tuples "stream2.pcm_converter1_tuples" +SectionData."stream1.pcm_converter1_data" { + tuples "stream1.pcm_converter1_tuples" } -SectionWidget."stream2.pcm_converter1" { +SectionWidget."stream1.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.pcm_converter1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.pcm_converter1_data" ] } -SectionVendorTuples."stream2.vol_ctrl2_tuples" { +SectionVendorTuples."stream1.vol_ctrl1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -599,21 +599,21 @@ SectionVendorTuples."stream2.vol_ctrl2_tuples" { } } -SectionData."stream2.vol_ctrl2_data" { - tuples "stream2.vol_ctrl2_tuples" +SectionData."stream1.vol_ctrl1_data" { + tuples "stream1.vol_ctrl1_tuples" } -SectionWidget."stream2.vol_ctrl2" { - index "2" +SectionWidget."stream1.vol_ctrl1" { + index "1" type "pga" no_pm "true" event_type "1" event_flags "15" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.vol_ctrl2_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.vol_ctrl1_data" ] mixer [ "MultiMedia2 Playback Volume" @@ -631,7 +631,7 @@ SectionControlMixer."MultiMedia2 Playback Volume" { Comment "Stream Global volume" # control belongs to this index group - index "2" + index "1" # Channel register and shift for Front Left/Right channel."FL" { @@ -656,7 +656,7 @@ SectionControlMixer."MultiMedia2 Playback Volume" { tlv "MultiMedia2_playback_vol_ctrl_tlv" } -SectionVendorTuples."stream2.mfc1_tuples" { +SectionVendorTuples."stream1.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -673,23 +673,23 @@ SectionVendorTuples."stream2.mfc1_tuples" { } } -SectionData."stream2.mfc1_data" { - tuples "stream2.mfc1_tuples" +SectionData."stream1.mfc1_data" { + tuples "stream1.mfc1_tuples" } -SectionWidget."stream2.mfc1" { +SectionWidget."stream1.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.mfc1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.mfc1_data" ] } -SectionVendorTuples."stream2.logger1_tuples" { +SectionVendorTuples."stream1.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -709,25 +709,25 @@ SectionVendorTuples."stream2.logger1_tuples" { } } -SectionData."stream2.logger1_data" { - tuples "stream2.logger1_tuples" +SectionData."stream1.logger1_data" { + tuples "stream1.logger1_tuples" } -SectionWidget."stream2.logger1" { +SectionWidget."stream1.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.logger1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.logger1_data" ] } SectionControlMixer."MultiMedia2" { reg "-1" - index "2" + index "1" max "1" invert "false" @@ -743,23 +743,23 @@ SectionControlMixer."MultiMedia2" { } data [ - "stream2.sub_graph1_data" + "stream1.sub_graph1_data" ] } -SectionGraph."stream2.1 Graph" { +SectionGraph."stream1.1 Graph" { index "1" lines [ - "stream2.pcm_decoder1, , stream2.wrsh_ep1" - "stream2.pcm_converter1, , stream2.pcm_decoder1" - "stream2.vol_ctrl2, , stream2.pcm_converter1" - "stream2.mfc1, , stream2.vol_ctrl2" - "stream2.logger1, , stream2.mfc1" + "stream1.pcm_decoder1, , stream1.wrsh_ep1" + "stream1.pcm_converter1, , stream1.pcm_decoder1" + "stream1.vol_ctrl1, , stream1.pcm_converter1" + "stream1.mfc1, , stream1.vol_ctrl1" + "stream1.logger1, , stream1.mfc1" ] } - - + + @@ -787,13 +787,13 @@ SectionPCMCapabilities."MultiMedia3 Capture" { SectionPCM."MultiMedia3 Capture" { - index "3" + index "2" # used for binding to the PCM - id "3" + id "2" dai."MultiMedia3 Capture" { - id "3" + id "2" } pcm."capture" { @@ -802,23 +802,23 @@ SectionPCM."MultiMedia3 Capture" { } -SectionVendorTuples."stream3.sub_graph1_tuples" { +SectionVendorTuples."stream2.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004003" - AR_TKN_DAI_INDEX "3" + AR_TKN_DAI_INDEX "2" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x1" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x2" } } -SectionData."stream3.sub_graph1_data" { - tuples "stream3.sub_graph1_tuples" +SectionData."stream2.sub_graph1_data" { + tuples "stream2.sub_graph1_tuples" } -SectionVendorTuples."stream3.container1_tuples" { +SectionVendorTuples."stream2.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004003" @@ -829,12 +829,12 @@ SectionVendorTuples."stream3.container1_tuples" { } } -SectionData."stream3.container1_data" { - tuples "stream3.container1_tuples" +SectionData."stream2.container1_data" { + tuples "stream2.container1_tuples" } -SectionVendorTuples."stream3.logger1_tuples" { +SectionVendorTuples."stream2.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -854,23 +854,23 @@ SectionVendorTuples."stream3.logger1_tuples" { } } -SectionData."stream3.logger1_data" { - tuples "stream3.logger1_tuples" +SectionData."stream2.logger1_data" { + tuples "stream2.logger1_tuples" } -SectionWidget."stream3.logger1" { +SectionWidget."stream2.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.logger1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.logger1_data" ] } -SectionVendorTuples."stream3.mfc1_tuples" { +SectionVendorTuples."stream2.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -887,23 +887,23 @@ SectionVendorTuples."stream3.mfc1_tuples" { } } -SectionData."stream3.mfc1_data" { - tuples "stream3.mfc1_tuples" +SectionData."stream2.mfc1_data" { + tuples "stream2.mfc1_tuples" } -SectionWidget."stream3.mfc1" { +SectionWidget."stream2.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.mfc1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.mfc1_data" ] } -SectionVendorTuples."stream3.pcm_converter1_tuples" { +SectionVendorTuples."stream2.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -921,23 +921,23 @@ SectionVendorTuples."stream3.pcm_converter1_tuples" { } } -SectionData."stream3.pcm_converter1_data" { - tuples "stream3.pcm_converter1_tuples" +SectionData."stream2.pcm_converter1_data" { + tuples "stream2.pcm_converter1_tuples" } -SectionWidget."stream3.pcm_converter1" { +SectionWidget."stream2.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.pcm_converter1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.pcm_converter1_data" ] } -SectionVendorTuples."stream3.pcm_encoder1_tuples" { +SectionVendorTuples."stream2.pcm_encoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -955,23 +955,23 @@ SectionVendorTuples."stream3.pcm_encoder1_tuples" { } } -SectionData."stream3.pcm_encoder1_data" { - tuples "stream3.pcm_encoder1_tuples" +SectionData."stream2.pcm_encoder1_data" { + tuples "stream2.pcm_encoder1_tuples" } -SectionWidget."stream3.pcm_encoder1" { +SectionWidget."stream2.pcm_encoder1" { index "1" type "encoder" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.pcm_encoder1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.pcm_encoder1_data" ] } -SectionVendorTuples."stream3.rdsh_ep1_tuples" { +SectionVendorTuples."stream2.rdsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "24612" @@ -987,37 +987,37 @@ SectionVendorTuples."stream3.rdsh_ep1_tuples" { } } -SectionData."stream3.rdsh_ep1_data" { - tuples "stream3.rdsh_ep1_tuples" +SectionData."stream2.rdsh_ep1_data" { + tuples "stream2.rdsh_ep1_tuples" } -SectionWidget."stream3.rdsh_ep1" { +SectionWidget."stream2.rdsh_ep1" { index "1" type "aif_out" no_pm "true" stream_name "MultiMedia3 Capture" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.rdsh_ep1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.rdsh_ep1_data" ] } -SectionGraph."stream3.1 Graph" { +SectionGraph."stream2.1 Graph" { index "1" lines [ - "stream3.logger1, , MultiMedia3 Mixer" - "stream3.mfc1, , stream3.logger1" - "stream3.pcm_converter1, , stream3.mfc1" - "stream3.pcm_encoder1, , stream3.pcm_converter1" - "stream3.rdsh_ep1, , stream3.pcm_encoder1" + "stream2.logger1, , MultiMedia3 Mixer" + "stream2.mfc1, , stream2.logger1" + "stream2.pcm_converter1, , stream2.mfc1" + "stream2.pcm_encoder1, , stream2.pcm_converter1" + "stream2.rdsh_ep1, , stream2.pcm_encoder1" ] } - - + + @@ -1045,13 +1045,13 @@ SectionPCMCapabilities."MultiMedia4 Capture" { SectionPCM."MultiMedia4 Capture" { - index "4" + index "3" # used for binding to the PCM - id "4" + id "3" dai."MultiMedia4 Capture" { - id "4" + id "3" } pcm."capture" { @@ -1060,23 +1060,23 @@ SectionPCM."MultiMedia4 Capture" { } -SectionVendorTuples."stream4.sub_graph1_tuples" { +SectionVendorTuples."stream3.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004004" - AR_TKN_DAI_INDEX "4" + AR_TKN_DAI_INDEX "3" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x1" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x2" } } -SectionData."stream4.sub_graph1_data" { - tuples "stream4.sub_graph1_tuples" +SectionData."stream3.sub_graph1_data" { + tuples "stream3.sub_graph1_tuples" } -SectionVendorTuples."stream4.container1_tuples" { +SectionVendorTuples."stream3.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004004" @@ -1087,12 +1087,12 @@ SectionVendorTuples."stream4.container1_tuples" { } } -SectionData."stream4.container1_data" { - tuples "stream4.container1_tuples" +SectionData."stream3.container1_data" { + tuples "stream3.container1_tuples" } -SectionVendorTuples."stream4.logger1_tuples" { +SectionVendorTuples."stream3.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1112,23 +1112,23 @@ SectionVendorTuples."stream4.logger1_tuples" { } } -SectionData."stream4.logger1_data" { - tuples "stream4.logger1_tuples" +SectionData."stream3.logger1_data" { + tuples "stream3.logger1_tuples" } -SectionWidget."stream4.logger1" { +SectionWidget."stream3.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.logger1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.logger1_data" ] } -SectionVendorTuples."stream4.mfc1_tuples" { +SectionVendorTuples."stream3.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1145,23 +1145,23 @@ SectionVendorTuples."stream4.mfc1_tuples" { } } -SectionData."stream4.mfc1_data" { - tuples "stream4.mfc1_tuples" +SectionData."stream3.mfc1_data" { + tuples "stream3.mfc1_tuples" } -SectionWidget."stream4.mfc1" { +SectionWidget."stream3.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.mfc1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.mfc1_data" ] } -SectionVendorTuples."stream4.pcm_converter1_tuples" { +SectionVendorTuples."stream3.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1179,23 +1179,23 @@ SectionVendorTuples."stream4.pcm_converter1_tuples" { } } -SectionData."stream4.pcm_converter1_data" { - tuples "stream4.pcm_converter1_tuples" +SectionData."stream3.pcm_converter1_data" { + tuples "stream3.pcm_converter1_tuples" } -SectionWidget."stream4.pcm_converter1" { +SectionWidget."stream3.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.pcm_converter1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.pcm_converter1_data" ] } -SectionVendorTuples."stream4.pcm_encoder1_tuples" { +SectionVendorTuples."stream3.pcm_encoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1213,23 +1213,23 @@ SectionVendorTuples."stream4.pcm_encoder1_tuples" { } } -SectionData."stream4.pcm_encoder1_data" { - tuples "stream4.pcm_encoder1_tuples" +SectionData."stream3.pcm_encoder1_data" { + tuples "stream3.pcm_encoder1_tuples" } -SectionWidget."stream4.pcm_encoder1" { +SectionWidget."stream3.pcm_encoder1" { index "1" type "encoder" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.pcm_encoder1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.pcm_encoder1_data" ] } -SectionVendorTuples."stream4.rdsh_ep1_tuples" { +SectionVendorTuples."stream3.rdsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "24628" @@ -1245,32 +1245,32 @@ SectionVendorTuples."stream4.rdsh_ep1_tuples" { } } -SectionData."stream4.rdsh_ep1_data" { - tuples "stream4.rdsh_ep1_tuples" +SectionData."stream3.rdsh_ep1_data" { + tuples "stream3.rdsh_ep1_tuples" } -SectionWidget."stream4.rdsh_ep1" { +SectionWidget."stream3.rdsh_ep1" { index "1" type "aif_out" no_pm "true" stream_name "MultiMedia4 Capture" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.rdsh_ep1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.rdsh_ep1_data" ] } -SectionGraph."stream4.1 Graph" { +SectionGraph."stream3.1 Graph" { index "1" lines [ - "stream4.logger1, , MultiMedia4 Mixer" - "stream4.mfc1, , stream4.logger1" - "stream4.pcm_converter1, , stream4.mfc1" - "stream4.pcm_encoder1, , stream4.pcm_converter1" - "stream4.rdsh_ep1, , stream4.pcm_encoder1" + "stream3.logger1, , MultiMedia4 Mixer" + "stream3.mfc1, , stream3.logger1" + "stream3.pcm_converter1, , stream3.mfc1" + "stream3.pcm_encoder1, , stream3.pcm_converter1" + "stream3.rdsh_ep1, , stream3.pcm_encoder1" ] } @@ -1283,8 +1283,8 @@ SectionGraph."stream4.1 Graph" { # Mixer -| [LOG] -> [WSA EP] | # |___________________| # - - + + @@ -1416,8 +1416,8 @@ SectionGraph."device105.1 WSA_CODEC_DMA_RX_0 Graph" { } - - + + @@ -1549,8 +1549,8 @@ SectionGraph."device113.1 RX_CODEC_DMA_RX_0 Graph" { } - - + + @@ -1702,8 +1702,8 @@ SectionGraph."device110.1 VA_CODEC_DMA_TX_0 Graph" { ] } - - + + @@ -1895,8 +1895,8 @@ SectionGraph."WSA_CODEC_DMA_RX_0 Audio Mixer Graph" { index "105" lines [ - "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream2.logger1" - "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream1.logger1" + "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream1.logger1" + "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream0.logger1" ] } @@ -1905,15 +1905,15 @@ SectionGraph."RX_CODEC_DMA_RX_0 Audio Mixer Graph" { index "113" lines [ - "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream2.logger1" - "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream1.logger1" + "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream1.logger1" + "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream0.logger1" ] } SectionWidget."MultiMedia3 Mixer" { reg "-1" - index "3" + index "2" type "mixer" mixer [ @@ -1923,13 +1923,13 @@ SectionWidget."MultiMedia3 Mixer" { ] data [ - "stream3.sub_graph1_data" + "stream2.sub_graph1_data" ] } SectionWidget."MultiMedia4 Mixer" { reg "-1" - index "4" + index "3" type "mixer" mixer [ @@ -1939,13 +1939,13 @@ SectionWidget."MultiMedia4 Mixer" { ] data [ - "stream4.sub_graph1_data" + "stream3.sub_graph1_data" ] } SectionGraph."MultiMedia3 Mixer Graph" { - index "3" + index "2" lines [ "MultiMedia3 Mixer, TX_CODEC_DMA_TX_3, device120.logger1" @@ -1955,7 +1955,7 @@ SectionGraph."MultiMedia3 Mixer Graph" { SectionGraph."MultiMedia4 Mixer Graph" { - index "4" + index "3" lines [ "MultiMedia4 Mixer, TX_CODEC_DMA_TX_3, device120.logger1" diff --git a/prebuilt/Qualcomm-RB5-WSA8815-Speakers-DMIC0-tplg.bin b/prebuilt/qcom/sm8250/Qualcomm-RB5-WSA8815-Speakers-DMIC0-tplg.bin Binary files differindex 314f915..9168b52 100644 --- a/prebuilt/Qualcomm-RB5-WSA8815-Speakers-DMIC0-tplg.bin +++ b/prebuilt/qcom/sm8250/Qualcomm-RB5-WSA8815-Speakers-DMIC0-tplg.bin diff --git a/prebuilt/Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf b/prebuilt/qcom/sm8250/Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf index 92226db..217b588 100644 --- a/prebuilt/Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf +++ b/prebuilt/qcom/sm8250/Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf @@ -1,4 +1,4 @@ - + @@ -6,7 +6,7 @@ - + @@ -55,8 +55,8 @@ SectionVendorTokens."audioreach_tokens" { # |_____________________________________________________| # # - - + + @@ -84,13 +84,13 @@ SectionPCMCapabilities."MultiMedia1 Playback" { SectionPCM."MultiMedia1 Playback" { - index "1" + index "0" # used for binding to the PCM - id "1" + id "0" dai."MultiMedia1 Playback" { - id "1" + id "0" } pcm."playback" { @@ -99,23 +99,23 @@ SectionPCM."MultiMedia1 Playback" { } -SectionVendorTuples."stream1.sub_graph1_tuples" { +SectionVendorTuples."stream0.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004001" - AR_TKN_DAI_INDEX "1" + AR_TKN_DAI_INDEX "0" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x2" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x1" } } -SectionData."stream1.sub_graph1_data" { - tuples "stream1.sub_graph1_tuples" +SectionData."stream0.sub_graph1_data" { + tuples "stream0.sub_graph1_tuples" } -SectionVendorTuples."stream1.container1_tuples" { +SectionVendorTuples."stream0.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004001" @@ -126,12 +126,12 @@ SectionVendorTuples."stream1.container1_tuples" { } } -SectionData."stream1.container1_data" { - tuples "stream1.container1_tuples" +SectionData."stream0.container1_data" { + tuples "stream0.container1_tuples" } -SectionVendorTuples."stream1.wrsh_ep1_tuples" { +SectionVendorTuples."stream0.wrsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "0x00006001" @@ -147,24 +147,24 @@ SectionVendorTuples."stream1.wrsh_ep1_tuples" { } } -SectionData."stream1.wrsh_ep1_data" { - tuples "stream1.wrsh_ep1_tuples" +SectionData."stream0.wrsh_ep1_data" { + tuples "stream0.wrsh_ep1_tuples" } -SectionWidget."stream1.wrsh_ep1" { +SectionWidget."stream0.wrsh_ep1" { index "1" type "aif_in" no_pm "true" stream_name "MultiMedia1 Playback" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.wrsh_ep1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.wrsh_ep1_data" ] } -SectionVendorTuples."stream1.pcm_decoder1_tuples" { +SectionVendorTuples."stream0.pcm_decoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -182,23 +182,23 @@ SectionVendorTuples."stream1.pcm_decoder1_tuples" { } } -SectionData."stream1.pcm_decoder1_data" { - tuples "stream1.pcm_decoder1_tuples" +SectionData."stream0.pcm_decoder1_data" { + tuples "stream0.pcm_decoder1_tuples" } -SectionWidget."stream1.pcm_decoder1" { +SectionWidget."stream0.pcm_decoder1" { index "1" type "decoder" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.pcm_decoder1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.pcm_decoder1_data" ] } -SectionVendorTuples."stream1.pcm_converter1_tuples" { +SectionVendorTuples."stream0.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -216,22 +216,22 @@ SectionVendorTuples."stream1.pcm_converter1_tuples" { } } -SectionData."stream1.pcm_converter1_data" { - tuples "stream1.pcm_converter1_tuples" +SectionData."stream0.pcm_converter1_data" { + tuples "stream0.pcm_converter1_tuples" } -SectionWidget."stream1.pcm_converter1" { +SectionWidget."stream0.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.pcm_converter1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.pcm_converter1_data" ] } -SectionVendorTuples."stream1.vol_ctrl1_tuples" { +SectionVendorTuples."stream0.vol_ctrl0_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -248,21 +248,21 @@ SectionVendorTuples."stream1.vol_ctrl1_tuples" { } } -SectionData."stream1.vol_ctrl1_data" { - tuples "stream1.vol_ctrl1_tuples" +SectionData."stream0.vol_ctrl0_data" { + tuples "stream0.vol_ctrl0_tuples" } -SectionWidget."stream1.vol_ctrl1" { - index "1" +SectionWidget."stream0.vol_ctrl0" { + index "0" type "pga" no_pm "true" event_type "1" event_flags "15" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.vol_ctrl1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.vol_ctrl0_data" ] mixer [ "MultiMedia1 Playback Volume" @@ -280,7 +280,7 @@ SectionControlMixer."MultiMedia1 Playback Volume" { Comment "Stream Global volume" # control belongs to this index group - index "1" + index "0" # Channel register and shift for Front Left/Right channel."FL" { @@ -305,7 +305,7 @@ SectionControlMixer."MultiMedia1 Playback Volume" { tlv "MultiMedia1_playback_vol_ctrl_tlv" } -SectionVendorTuples."stream1.mfc1_tuples" { +SectionVendorTuples."stream0.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -322,23 +322,23 @@ SectionVendorTuples."stream1.mfc1_tuples" { } } -SectionData."stream1.mfc1_data" { - tuples "stream1.mfc1_tuples" +SectionData."stream0.mfc1_data" { + tuples "stream0.mfc1_tuples" } -SectionWidget."stream1.mfc1" { +SectionWidget."stream0.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.mfc1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.mfc1_data" ] } -SectionVendorTuples."stream1.logger1_tuples" { +SectionVendorTuples."stream0.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -358,25 +358,25 @@ SectionVendorTuples."stream1.logger1_tuples" { } } -SectionData."stream1.logger1_data" { - tuples "stream1.logger1_tuples" +SectionData."stream0.logger1_data" { + tuples "stream0.logger1_tuples" } -SectionWidget."stream1.logger1" { +SectionWidget."stream0.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.logger1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.logger1_data" ] } SectionControlMixer."MultiMedia1" { reg "-1" - index "1" + index "0" max "1" invert "false" @@ -392,23 +392,23 @@ SectionControlMixer."MultiMedia1" { } data [ - "stream1.sub_graph1_data" + "stream0.sub_graph1_data" ] } -SectionGraph."stream1.1 Graph" { +SectionGraph."stream0.1 Graph" { index "1" lines [ - "stream1.pcm_decoder1, , stream1.wrsh_ep1" - "stream1.pcm_converter1, , stream1.pcm_decoder1" - "stream1.vol_ctrl1, , stream1.pcm_converter1" - "stream1.mfc1, , stream1.vol_ctrl1" - "stream1.logger1, , stream1.mfc1" + "stream0.pcm_decoder1, , stream0.wrsh_ep1" + "stream0.pcm_converter1, , stream0.pcm_decoder1" + "stream0.vol_ctrl0, , stream0.pcm_converter1" + "stream0.mfc1, , stream0.vol_ctrl0" + "stream0.logger1, , stream0.mfc1" ] } - - + + @@ -436,13 +436,13 @@ SectionPCMCapabilities."MultiMedia2 Playback" { SectionPCM."MultiMedia2 Playback" { - index "2" + index "1" # used for binding to the PCM - id "2" + id "1" dai."MultiMedia2 Playback" { - id "2" + id "1" } pcm."playback" { @@ -451,23 +451,23 @@ SectionPCM."MultiMedia2 Playback" { } -SectionVendorTuples."stream2.sub_graph1_tuples" { +SectionVendorTuples."stream1.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004002" - AR_TKN_DAI_INDEX "2" + AR_TKN_DAI_INDEX "1" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x2" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x1" } } -SectionData."stream2.sub_graph1_data" { - tuples "stream2.sub_graph1_tuples" +SectionData."stream1.sub_graph1_data" { + tuples "stream1.sub_graph1_tuples" } -SectionVendorTuples."stream2.container1_tuples" { +SectionVendorTuples."stream1.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004002" @@ -478,12 +478,12 @@ SectionVendorTuples."stream2.container1_tuples" { } } -SectionData."stream2.container1_data" { - tuples "stream2.container1_tuples" +SectionData."stream1.container1_data" { + tuples "stream1.container1_tuples" } -SectionVendorTuples."stream2.wrsh_ep1_tuples" { +SectionVendorTuples."stream1.wrsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "0x00006010" @@ -499,24 +499,24 @@ SectionVendorTuples."stream2.wrsh_ep1_tuples" { } } -SectionData."stream2.wrsh_ep1_data" { - tuples "stream2.wrsh_ep1_tuples" +SectionData."stream1.wrsh_ep1_data" { + tuples "stream1.wrsh_ep1_tuples" } -SectionWidget."stream2.wrsh_ep1" { +SectionWidget."stream1.wrsh_ep1" { index "1" type "aif_in" no_pm "true" stream_name "MultiMedia2 Playback" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.wrsh_ep1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.wrsh_ep1_data" ] } -SectionVendorTuples."stream2.pcm_decoder1_tuples" { +SectionVendorTuples."stream1.pcm_decoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -534,23 +534,23 @@ SectionVendorTuples."stream2.pcm_decoder1_tuples" { } } -SectionData."stream2.pcm_decoder1_data" { - tuples "stream2.pcm_decoder1_tuples" +SectionData."stream1.pcm_decoder1_data" { + tuples "stream1.pcm_decoder1_tuples" } -SectionWidget."stream2.pcm_decoder1" { +SectionWidget."stream1.pcm_decoder1" { index "1" type "decoder" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.pcm_decoder1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.pcm_decoder1_data" ] } -SectionVendorTuples."stream2.pcm_converter1_tuples" { +SectionVendorTuples."stream1.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -568,22 +568,22 @@ SectionVendorTuples."stream2.pcm_converter1_tuples" { } } -SectionData."stream2.pcm_converter1_data" { - tuples "stream2.pcm_converter1_tuples" +SectionData."stream1.pcm_converter1_data" { + tuples "stream1.pcm_converter1_tuples" } -SectionWidget."stream2.pcm_converter1" { +SectionWidget."stream1.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.pcm_converter1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.pcm_converter1_data" ] } -SectionVendorTuples."stream2.vol_ctrl2_tuples" { +SectionVendorTuples."stream1.vol_ctrl1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -600,21 +600,21 @@ SectionVendorTuples."stream2.vol_ctrl2_tuples" { } } -SectionData."stream2.vol_ctrl2_data" { - tuples "stream2.vol_ctrl2_tuples" +SectionData."stream1.vol_ctrl1_data" { + tuples "stream1.vol_ctrl1_tuples" } -SectionWidget."stream2.vol_ctrl2" { - index "2" +SectionWidget."stream1.vol_ctrl1" { + index "1" type "pga" no_pm "true" event_type "1" event_flags "15" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.vol_ctrl2_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.vol_ctrl1_data" ] mixer [ "MultiMedia2 Playback Volume" @@ -632,7 +632,7 @@ SectionControlMixer."MultiMedia2 Playback Volume" { Comment "Stream Global volume" # control belongs to this index group - index "2" + index "1" # Channel register and shift for Front Left/Right channel."FL" { @@ -657,7 +657,7 @@ SectionControlMixer."MultiMedia2 Playback Volume" { tlv "MultiMedia2_playback_vol_ctrl_tlv" } -SectionVendorTuples."stream2.mfc1_tuples" { +SectionVendorTuples."stream1.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -674,23 +674,23 @@ SectionVendorTuples."stream2.mfc1_tuples" { } } -SectionData."stream2.mfc1_data" { - tuples "stream2.mfc1_tuples" +SectionData."stream1.mfc1_data" { + tuples "stream1.mfc1_tuples" } -SectionWidget."stream2.mfc1" { +SectionWidget."stream1.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.mfc1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.mfc1_data" ] } -SectionVendorTuples."stream2.logger1_tuples" { +SectionVendorTuples."stream1.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -710,25 +710,25 @@ SectionVendorTuples."stream2.logger1_tuples" { } } -SectionData."stream2.logger1_data" { - tuples "stream2.logger1_tuples" +SectionData."stream1.logger1_data" { + tuples "stream1.logger1_tuples" } -SectionWidget."stream2.logger1" { +SectionWidget."stream1.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.logger1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.logger1_data" ] } SectionControlMixer."MultiMedia2" { reg "-1" - index "2" + index "1" max "1" invert "false" @@ -744,23 +744,23 @@ SectionControlMixer."MultiMedia2" { } data [ - "stream2.sub_graph1_data" + "stream1.sub_graph1_data" ] } -SectionGraph."stream2.1 Graph" { +SectionGraph."stream1.1 Graph" { index "1" lines [ - "stream2.pcm_decoder1, , stream2.wrsh_ep1" - "stream2.pcm_converter1, , stream2.pcm_decoder1" - "stream2.vol_ctrl2, , stream2.pcm_converter1" - "stream2.mfc1, , stream2.vol_ctrl2" - "stream2.logger1, , stream2.mfc1" + "stream1.pcm_decoder1, , stream1.wrsh_ep1" + "stream1.pcm_converter1, , stream1.pcm_decoder1" + "stream1.vol_ctrl1, , stream1.pcm_converter1" + "stream1.mfc1, , stream1.vol_ctrl1" + "stream1.logger1, , stream1.mfc1" ] } - - + + @@ -788,13 +788,13 @@ SectionPCMCapabilities."MultiMedia3 Capture" { SectionPCM."MultiMedia3 Capture" { - index "3" + index "2" # used for binding to the PCM - id "3" + id "2" dai."MultiMedia3 Capture" { - id "3" + id "2" } pcm."capture" { @@ -803,23 +803,23 @@ SectionPCM."MultiMedia3 Capture" { } -SectionVendorTuples."stream3.sub_graph1_tuples" { +SectionVendorTuples."stream2.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004003" - AR_TKN_DAI_INDEX "3" + AR_TKN_DAI_INDEX "2" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x1" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x2" } } -SectionData."stream3.sub_graph1_data" { - tuples "stream3.sub_graph1_tuples" +SectionData."stream2.sub_graph1_data" { + tuples "stream2.sub_graph1_tuples" } -SectionVendorTuples."stream3.container1_tuples" { +SectionVendorTuples."stream2.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004003" @@ -830,12 +830,12 @@ SectionVendorTuples."stream3.container1_tuples" { } } -SectionData."stream3.container1_data" { - tuples "stream3.container1_tuples" +SectionData."stream2.container1_data" { + tuples "stream2.container1_tuples" } -SectionVendorTuples."stream3.logger1_tuples" { +SectionVendorTuples."stream2.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -855,23 +855,23 @@ SectionVendorTuples."stream3.logger1_tuples" { } } -SectionData."stream3.logger1_data" { - tuples "stream3.logger1_tuples" +SectionData."stream2.logger1_data" { + tuples "stream2.logger1_tuples" } -SectionWidget."stream3.logger1" { +SectionWidget."stream2.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.logger1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.logger1_data" ] } -SectionVendorTuples."stream3.mfc1_tuples" { +SectionVendorTuples."stream2.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -888,23 +888,23 @@ SectionVendorTuples."stream3.mfc1_tuples" { } } -SectionData."stream3.mfc1_data" { - tuples "stream3.mfc1_tuples" +SectionData."stream2.mfc1_data" { + tuples "stream2.mfc1_tuples" } -SectionWidget."stream3.mfc1" { +SectionWidget."stream2.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.mfc1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.mfc1_data" ] } -SectionVendorTuples."stream3.pcm_converter1_tuples" { +SectionVendorTuples."stream2.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -922,23 +922,23 @@ SectionVendorTuples."stream3.pcm_converter1_tuples" { } } -SectionData."stream3.pcm_converter1_data" { - tuples "stream3.pcm_converter1_tuples" +SectionData."stream2.pcm_converter1_data" { + tuples "stream2.pcm_converter1_tuples" } -SectionWidget."stream3.pcm_converter1" { +SectionWidget."stream2.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.pcm_converter1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.pcm_converter1_data" ] } -SectionVendorTuples."stream3.pcm_encoder1_tuples" { +SectionVendorTuples."stream2.pcm_encoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -956,23 +956,23 @@ SectionVendorTuples."stream3.pcm_encoder1_tuples" { } } -SectionData."stream3.pcm_encoder1_data" { - tuples "stream3.pcm_encoder1_tuples" +SectionData."stream2.pcm_encoder1_data" { + tuples "stream2.pcm_encoder1_tuples" } -SectionWidget."stream3.pcm_encoder1" { +SectionWidget."stream2.pcm_encoder1" { index "1" type "encoder" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.pcm_encoder1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.pcm_encoder1_data" ] } -SectionVendorTuples."stream3.rdsh_ep1_tuples" { +SectionVendorTuples."stream2.rdsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "24612" @@ -988,32 +988,32 @@ SectionVendorTuples."stream3.rdsh_ep1_tuples" { } } -SectionData."stream3.rdsh_ep1_data" { - tuples "stream3.rdsh_ep1_tuples" +SectionData."stream2.rdsh_ep1_data" { + tuples "stream2.rdsh_ep1_tuples" } -SectionWidget."stream3.rdsh_ep1" { +SectionWidget."stream2.rdsh_ep1" { index "1" type "aif_out" no_pm "true" stream_name "MultiMedia3 Capture" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.rdsh_ep1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.rdsh_ep1_data" ] } -SectionGraph."stream3.1 Graph" { +SectionGraph."stream2.1 Graph" { index "1" lines [ - "stream3.logger1, , MultiMedia3 Mixer" - "stream3.mfc1, , stream3.logger1" - "stream3.pcm_converter1, , stream3.mfc1" - "stream3.pcm_encoder1, , stream3.pcm_converter1" - "stream3.rdsh_ep1, , stream3.pcm_encoder1" + "stream2.logger1, , MultiMedia3 Mixer" + "stream2.mfc1, , stream2.logger1" + "stream2.pcm_converter1, , stream2.mfc1" + "stream2.pcm_encoder1, , stream2.pcm_converter1" + "stream2.rdsh_ep1, , stream2.pcm_encoder1" ] } @@ -1025,8 +1025,8 @@ SectionGraph."stream3.1 Graph" { # Mixer -| [LOG] -> [WSA EP] | # |___________________| # - - + + @@ -1158,8 +1158,8 @@ SectionGraph."device105.1 WSA_CODEC_DMA_RX_0 Graph" { } - - + + @@ -1293,8 +1293,8 @@ SectionGraph."device20.1 Graph" { } - - + + @@ -1484,8 +1484,8 @@ SectionGraph."WSA_CODEC_DMA_RX_0 Audio Mixer Graph" { index "105" lines [ - "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream2.logger1" - "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream1.logger1" + "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream1.logger1" + "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream0.logger1" ] } @@ -1494,14 +1494,14 @@ SectionGraph."TERTIARY_MI2S_RX Audio Mixer Graph" { index "20" lines [ - "TERTIARY_MI2S_RX Audio Mixer, MultiMedia2, stream2.logger1" - "TERTIARY_MI2S_RX Audio Mixer, MultiMedia1, stream1.logger1" + "TERTIARY_MI2S_RX Audio Mixer, MultiMedia2, stream1.logger1" + "TERTIARY_MI2S_RX Audio Mixer, MultiMedia1, stream0.logger1" ] } SectionWidget."MultiMedia3 Mixer" { reg "-1" - index "3" + index "2" type "mixer" mixer [ @@ -1510,13 +1510,13 @@ SectionWidget."MultiMedia3 Mixer" { ] data [ - "stream3.sub_graph1_data" + "stream2.sub_graph1_data" ] } SectionGraph."MultiMedia3 Mixer Graph" { - index "3" + index "2" lines [ "MultiMedia3 Mixer, VA_CODEC_DMA_TX_0, device110.logger1" diff --git a/prebuilt/SM8250-MTP-WCD9380-WSA8810-VA-DMIC-tplg.bin b/prebuilt/qcom/sm8250/SM8250-MTP-WCD9380-WSA8810-VA-DMIC-tplg.bin Binary files differindex 56518e5..fdbacb8 100644 --- a/prebuilt/SM8250-MTP-WCD9380-WSA8810-VA-DMIC-tplg.bin +++ b/prebuilt/qcom/sm8250/SM8250-MTP-WCD9380-WSA8810-VA-DMIC-tplg.bin diff --git a/prebuilt/SM8250-MTP-WCD9380-WSA8810-VA-DMIC.conf b/prebuilt/qcom/sm8250/SM8250-MTP-WCD9380-WSA8810-VA-DMIC.conf index bea01f9..ed8b1b4 100644 --- a/prebuilt/SM8250-MTP-WCD9380-WSA8810-VA-DMIC.conf +++ b/prebuilt/qcom/sm8250/SM8250-MTP-WCD9380-WSA8810-VA-DMIC.conf @@ -1,4 +1,4 @@ - + @@ -6,7 +6,7 @@ - + @@ -54,8 +54,8 @@ SectionVendorTokens."audioreach_tokens" { # | [WR_SH] -> [PCM DEC] -> [PCM CONV] -> [LOG] |- Kcontrol # |______________________________________________| # - - + + @@ -83,13 +83,13 @@ SectionPCMCapabilities."MultiMedia1 Playback" { SectionPCM."MultiMedia1 Playback" { - index "1" + index "0" # used for binding to the PCM - id "1" + id "0" dai."MultiMedia1 Playback" { - id "1" + id "0" } pcm."playback" { @@ -98,23 +98,23 @@ SectionPCM."MultiMedia1 Playback" { } -SectionVendorTuples."stream1.sub_graph1_tuples" { +SectionVendorTuples."stream0.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004001" - AR_TKN_DAI_INDEX "1" + AR_TKN_DAI_INDEX "0" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x2" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x1" } } -SectionData."stream1.sub_graph1_data" { - tuples "stream1.sub_graph1_tuples" +SectionData."stream0.sub_graph1_data" { + tuples "stream0.sub_graph1_tuples" } -SectionVendorTuples."stream1.container1_tuples" { +SectionVendorTuples."stream0.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004001" @@ -125,12 +125,12 @@ SectionVendorTuples."stream1.container1_tuples" { } } -SectionData."stream1.container1_data" { - tuples "stream1.container1_tuples" +SectionData."stream0.container1_data" { + tuples "stream0.container1_tuples" } -SectionVendorTuples."stream1.wrsh_ep1_tuples" { +SectionVendorTuples."stream0.wrsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "0x00006001" @@ -146,24 +146,24 @@ SectionVendorTuples."stream1.wrsh_ep1_tuples" { } } -SectionData."stream1.wrsh_ep1_data" { - tuples "stream1.wrsh_ep1_tuples" +SectionData."stream0.wrsh_ep1_data" { + tuples "stream0.wrsh_ep1_tuples" } -SectionWidget."stream1.wrsh_ep1" { +SectionWidget."stream0.wrsh_ep1" { index "1" type "aif_in" no_pm "true" stream_name "MultiMedia1 Playback" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.wrsh_ep1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.wrsh_ep1_data" ] } -SectionVendorTuples."stream1.pcm_decoder1_tuples" { +SectionVendorTuples."stream0.pcm_decoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -181,23 +181,23 @@ SectionVendorTuples."stream1.pcm_decoder1_tuples" { } } -SectionData."stream1.pcm_decoder1_data" { - tuples "stream1.pcm_decoder1_tuples" +SectionData."stream0.pcm_decoder1_data" { + tuples "stream0.pcm_decoder1_tuples" } -SectionWidget."stream1.pcm_decoder1" { +SectionWidget."stream0.pcm_decoder1" { index "1" type "decoder" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.pcm_decoder1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.pcm_decoder1_data" ] } -SectionVendorTuples."stream1.pcm_converter1_tuples" { +SectionVendorTuples."stream0.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -215,22 +215,22 @@ SectionVendorTuples."stream1.pcm_converter1_tuples" { } } -SectionData."stream1.pcm_converter1_data" { - tuples "stream1.pcm_converter1_tuples" +SectionData."stream0.pcm_converter1_data" { + tuples "stream0.pcm_converter1_tuples" } -SectionWidget."stream1.pcm_converter1" { +SectionWidget."stream0.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.pcm_converter1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.pcm_converter1_data" ] } -SectionVendorTuples."stream1.vol_ctrl1_tuples" { +SectionVendorTuples."stream0.vol_ctrl0_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -247,21 +247,21 @@ SectionVendorTuples."stream1.vol_ctrl1_tuples" { } } -SectionData."stream1.vol_ctrl1_data" { - tuples "stream1.vol_ctrl1_tuples" +SectionData."stream0.vol_ctrl0_data" { + tuples "stream0.vol_ctrl0_tuples" } -SectionWidget."stream1.vol_ctrl1" { - index "1" +SectionWidget."stream0.vol_ctrl0" { + index "0" type "pga" no_pm "true" event_type "1" event_flags "15" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.vol_ctrl1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.vol_ctrl0_data" ] mixer [ "MultiMedia1 Playback Volume" @@ -279,7 +279,7 @@ SectionControlMixer."MultiMedia1 Playback Volume" { Comment "Stream Global volume" # control belongs to this index group - index "1" + index "0" # Channel register and shift for Front Left/Right channel."FL" { @@ -304,7 +304,7 @@ SectionControlMixer."MultiMedia1 Playback Volume" { tlv "MultiMedia1_playback_vol_ctrl_tlv" } -SectionVendorTuples."stream1.mfc1_tuples" { +SectionVendorTuples."stream0.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -321,23 +321,23 @@ SectionVendorTuples."stream1.mfc1_tuples" { } } -SectionData."stream1.mfc1_data" { - tuples "stream1.mfc1_tuples" +SectionData."stream0.mfc1_data" { + tuples "stream0.mfc1_tuples" } -SectionWidget."stream1.mfc1" { +SectionWidget."stream0.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.mfc1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.mfc1_data" ] } -SectionVendorTuples."stream1.logger1_tuples" { +SectionVendorTuples."stream0.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -357,25 +357,25 @@ SectionVendorTuples."stream1.logger1_tuples" { } } -SectionData."stream1.logger1_data" { - tuples "stream1.logger1_tuples" +SectionData."stream0.logger1_data" { + tuples "stream0.logger1_tuples" } -SectionWidget."stream1.logger1" { +SectionWidget."stream0.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.logger1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.logger1_data" ] } SectionControlMixer."MultiMedia1" { reg "-1" - index "1" + index "0" max "1" invert "false" @@ -391,23 +391,23 @@ SectionControlMixer."MultiMedia1" { } data [ - "stream1.sub_graph1_data" + "stream0.sub_graph1_data" ] } -SectionGraph."stream1.1 Graph" { +SectionGraph."stream0.1 Graph" { index "1" lines [ - "stream1.pcm_decoder1, , stream1.wrsh_ep1" - "stream1.pcm_converter1, , stream1.pcm_decoder1" - "stream1.vol_ctrl1, , stream1.pcm_converter1" - "stream1.mfc1, , stream1.vol_ctrl1" - "stream1.logger1, , stream1.mfc1" + "stream0.pcm_decoder1, , stream0.wrsh_ep1" + "stream0.pcm_converter1, , stream0.pcm_decoder1" + "stream0.vol_ctrl0, , stream0.pcm_converter1" + "stream0.mfc1, , stream0.vol_ctrl0" + "stream0.logger1, , stream0.mfc1" ] } - - + + @@ -435,13 +435,13 @@ SectionPCMCapabilities."MultiMedia2 Playback" { SectionPCM."MultiMedia2 Playback" { - index "2" + index "1" # used for binding to the PCM - id "2" + id "1" dai."MultiMedia2 Playback" { - id "2" + id "1" } pcm."playback" { @@ -450,23 +450,23 @@ SectionPCM."MultiMedia2 Playback" { } -SectionVendorTuples."stream2.sub_graph1_tuples" { +SectionVendorTuples."stream1.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004002" - AR_TKN_DAI_INDEX "2" + AR_TKN_DAI_INDEX "1" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x2" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x1" } } -SectionData."stream2.sub_graph1_data" { - tuples "stream2.sub_graph1_tuples" +SectionData."stream1.sub_graph1_data" { + tuples "stream1.sub_graph1_tuples" } -SectionVendorTuples."stream2.container1_tuples" { +SectionVendorTuples."stream1.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004002" @@ -477,12 +477,12 @@ SectionVendorTuples."stream2.container1_tuples" { } } -SectionData."stream2.container1_data" { - tuples "stream2.container1_tuples" +SectionData."stream1.container1_data" { + tuples "stream1.container1_tuples" } -SectionVendorTuples."stream2.wrsh_ep1_tuples" { +SectionVendorTuples."stream1.wrsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "0x00006010" @@ -498,24 +498,24 @@ SectionVendorTuples."stream2.wrsh_ep1_tuples" { } } -SectionData."stream2.wrsh_ep1_data" { - tuples "stream2.wrsh_ep1_tuples" +SectionData."stream1.wrsh_ep1_data" { + tuples "stream1.wrsh_ep1_tuples" } -SectionWidget."stream2.wrsh_ep1" { +SectionWidget."stream1.wrsh_ep1" { index "1" type "aif_in" no_pm "true" stream_name "MultiMedia2 Playback" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.wrsh_ep1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.wrsh_ep1_data" ] } -SectionVendorTuples."stream2.pcm_decoder1_tuples" { +SectionVendorTuples."stream1.pcm_decoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -533,23 +533,23 @@ SectionVendorTuples."stream2.pcm_decoder1_tuples" { } } -SectionData."stream2.pcm_decoder1_data" { - tuples "stream2.pcm_decoder1_tuples" +SectionData."stream1.pcm_decoder1_data" { + tuples "stream1.pcm_decoder1_tuples" } -SectionWidget."stream2.pcm_decoder1" { +SectionWidget."stream1.pcm_decoder1" { index "1" type "decoder" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.pcm_decoder1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.pcm_decoder1_data" ] } -SectionVendorTuples."stream2.pcm_converter1_tuples" { +SectionVendorTuples."stream1.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -567,22 +567,22 @@ SectionVendorTuples."stream2.pcm_converter1_tuples" { } } -SectionData."stream2.pcm_converter1_data" { - tuples "stream2.pcm_converter1_tuples" +SectionData."stream1.pcm_converter1_data" { + tuples "stream1.pcm_converter1_tuples" } -SectionWidget."stream2.pcm_converter1" { +SectionWidget."stream1.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.pcm_converter1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.pcm_converter1_data" ] } -SectionVendorTuples."stream2.vol_ctrl2_tuples" { +SectionVendorTuples."stream1.vol_ctrl1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -599,21 +599,21 @@ SectionVendorTuples."stream2.vol_ctrl2_tuples" { } } -SectionData."stream2.vol_ctrl2_data" { - tuples "stream2.vol_ctrl2_tuples" +SectionData."stream1.vol_ctrl1_data" { + tuples "stream1.vol_ctrl1_tuples" } -SectionWidget."stream2.vol_ctrl2" { - index "2" +SectionWidget."stream1.vol_ctrl1" { + index "1" type "pga" no_pm "true" event_type "1" event_flags "15" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.vol_ctrl2_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.vol_ctrl1_data" ] mixer [ "MultiMedia2 Playback Volume" @@ -631,7 +631,7 @@ SectionControlMixer."MultiMedia2 Playback Volume" { Comment "Stream Global volume" # control belongs to this index group - index "2" + index "1" # Channel register and shift for Front Left/Right channel."FL" { @@ -656,7 +656,7 @@ SectionControlMixer."MultiMedia2 Playback Volume" { tlv "MultiMedia2_playback_vol_ctrl_tlv" } -SectionVendorTuples."stream2.mfc1_tuples" { +SectionVendorTuples."stream1.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -673,23 +673,23 @@ SectionVendorTuples."stream2.mfc1_tuples" { } } -SectionData."stream2.mfc1_data" { - tuples "stream2.mfc1_tuples" +SectionData."stream1.mfc1_data" { + tuples "stream1.mfc1_tuples" } -SectionWidget."stream2.mfc1" { +SectionWidget."stream1.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.mfc1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.mfc1_data" ] } -SectionVendorTuples."stream2.logger1_tuples" { +SectionVendorTuples."stream1.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -709,25 +709,25 @@ SectionVendorTuples."stream2.logger1_tuples" { } } -SectionData."stream2.logger1_data" { - tuples "stream2.logger1_tuples" +SectionData."stream1.logger1_data" { + tuples "stream1.logger1_tuples" } -SectionWidget."stream2.logger1" { +SectionWidget."stream1.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.logger1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.logger1_data" ] } SectionControlMixer."MultiMedia2" { reg "-1" - index "2" + index "1" max "1" invert "false" @@ -743,23 +743,23 @@ SectionControlMixer."MultiMedia2" { } data [ - "stream2.sub_graph1_data" + "stream1.sub_graph1_data" ] } -SectionGraph."stream2.1 Graph" { +SectionGraph."stream1.1 Graph" { index "1" lines [ - "stream2.pcm_decoder1, , stream2.wrsh_ep1" - "stream2.pcm_converter1, , stream2.pcm_decoder1" - "stream2.vol_ctrl2, , stream2.pcm_converter1" - "stream2.mfc1, , stream2.vol_ctrl2" - "stream2.logger1, , stream2.mfc1" + "stream1.pcm_decoder1, , stream1.wrsh_ep1" + "stream1.pcm_converter1, , stream1.pcm_decoder1" + "stream1.vol_ctrl1, , stream1.pcm_converter1" + "stream1.mfc1, , stream1.vol_ctrl1" + "stream1.logger1, , stream1.mfc1" ] } - - + + @@ -787,13 +787,13 @@ SectionPCMCapabilities."MultiMedia3 Capture" { SectionPCM."MultiMedia3 Capture" { - index "3" + index "2" # used for binding to the PCM - id "3" + id "2" dai."MultiMedia3 Capture" { - id "3" + id "2" } pcm."capture" { @@ -802,23 +802,23 @@ SectionPCM."MultiMedia3 Capture" { } -SectionVendorTuples."stream3.sub_graph1_tuples" { +SectionVendorTuples."stream2.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004003" - AR_TKN_DAI_INDEX "3" + AR_TKN_DAI_INDEX "2" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x1" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x2" } } -SectionData."stream3.sub_graph1_data" { - tuples "stream3.sub_graph1_tuples" +SectionData."stream2.sub_graph1_data" { + tuples "stream2.sub_graph1_tuples" } -SectionVendorTuples."stream3.container1_tuples" { +SectionVendorTuples."stream2.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004003" @@ -829,12 +829,12 @@ SectionVendorTuples."stream3.container1_tuples" { } } -SectionData."stream3.container1_data" { - tuples "stream3.container1_tuples" +SectionData."stream2.container1_data" { + tuples "stream2.container1_tuples" } -SectionVendorTuples."stream3.logger1_tuples" { +SectionVendorTuples."stream2.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -854,23 +854,23 @@ SectionVendorTuples."stream3.logger1_tuples" { } } -SectionData."stream3.logger1_data" { - tuples "stream3.logger1_tuples" +SectionData."stream2.logger1_data" { + tuples "stream2.logger1_tuples" } -SectionWidget."stream3.logger1" { +SectionWidget."stream2.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.logger1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.logger1_data" ] } -SectionVendorTuples."stream3.mfc1_tuples" { +SectionVendorTuples."stream2.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -887,23 +887,23 @@ SectionVendorTuples."stream3.mfc1_tuples" { } } -SectionData."stream3.mfc1_data" { - tuples "stream3.mfc1_tuples" +SectionData."stream2.mfc1_data" { + tuples "stream2.mfc1_tuples" } -SectionWidget."stream3.mfc1" { +SectionWidget."stream2.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.mfc1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.mfc1_data" ] } -SectionVendorTuples."stream3.pcm_converter1_tuples" { +SectionVendorTuples."stream2.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -921,23 +921,23 @@ SectionVendorTuples."stream3.pcm_converter1_tuples" { } } -SectionData."stream3.pcm_converter1_data" { - tuples "stream3.pcm_converter1_tuples" +SectionData."stream2.pcm_converter1_data" { + tuples "stream2.pcm_converter1_tuples" } -SectionWidget."stream3.pcm_converter1" { +SectionWidget."stream2.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.pcm_converter1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.pcm_converter1_data" ] } -SectionVendorTuples."stream3.pcm_encoder1_tuples" { +SectionVendorTuples."stream2.pcm_encoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -955,23 +955,23 @@ SectionVendorTuples."stream3.pcm_encoder1_tuples" { } } -SectionData."stream3.pcm_encoder1_data" { - tuples "stream3.pcm_encoder1_tuples" +SectionData."stream2.pcm_encoder1_data" { + tuples "stream2.pcm_encoder1_tuples" } -SectionWidget."stream3.pcm_encoder1" { +SectionWidget."stream2.pcm_encoder1" { index "1" type "encoder" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.pcm_encoder1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.pcm_encoder1_data" ] } -SectionVendorTuples."stream3.rdsh_ep1_tuples" { +SectionVendorTuples."stream2.rdsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "24612" @@ -987,37 +987,37 @@ SectionVendorTuples."stream3.rdsh_ep1_tuples" { } } -SectionData."stream3.rdsh_ep1_data" { - tuples "stream3.rdsh_ep1_tuples" +SectionData."stream2.rdsh_ep1_data" { + tuples "stream2.rdsh_ep1_tuples" } -SectionWidget."stream3.rdsh_ep1" { +SectionWidget."stream2.rdsh_ep1" { index "1" type "aif_out" no_pm "true" stream_name "MultiMedia3 Capture" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.rdsh_ep1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.rdsh_ep1_data" ] } -SectionGraph."stream3.1 Graph" { +SectionGraph."stream2.1 Graph" { index "1" lines [ - "stream3.logger1, , MultiMedia3 Mixer" - "stream3.mfc1, , stream3.logger1" - "stream3.pcm_converter1, , stream3.mfc1" - "stream3.pcm_encoder1, , stream3.pcm_converter1" - "stream3.rdsh_ep1, , stream3.pcm_encoder1" + "stream2.logger1, , MultiMedia3 Mixer" + "stream2.mfc1, , stream2.logger1" + "stream2.pcm_converter1, , stream2.mfc1" + "stream2.pcm_encoder1, , stream2.pcm_converter1" + "stream2.rdsh_ep1, , stream2.pcm_encoder1" ] } - - + + @@ -1045,13 +1045,13 @@ SectionPCMCapabilities."MultiMedia4 Capture" { SectionPCM."MultiMedia4 Capture" { - index "4" + index "3" # used for binding to the PCM - id "4" + id "3" dai."MultiMedia4 Capture" { - id "4" + id "3" } pcm."capture" { @@ -1060,23 +1060,23 @@ SectionPCM."MultiMedia4 Capture" { } -SectionVendorTuples."stream4.sub_graph1_tuples" { +SectionVendorTuples."stream3.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004004" - AR_TKN_DAI_INDEX "4" + AR_TKN_DAI_INDEX "3" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x1" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x2" } } -SectionData."stream4.sub_graph1_data" { - tuples "stream4.sub_graph1_tuples" +SectionData."stream3.sub_graph1_data" { + tuples "stream3.sub_graph1_tuples" } -SectionVendorTuples."stream4.container1_tuples" { +SectionVendorTuples."stream3.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004004" @@ -1087,12 +1087,12 @@ SectionVendorTuples."stream4.container1_tuples" { } } -SectionData."stream4.container1_data" { - tuples "stream4.container1_tuples" +SectionData."stream3.container1_data" { + tuples "stream3.container1_tuples" } -SectionVendorTuples."stream4.logger1_tuples" { +SectionVendorTuples."stream3.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1112,23 +1112,23 @@ SectionVendorTuples."stream4.logger1_tuples" { } } -SectionData."stream4.logger1_data" { - tuples "stream4.logger1_tuples" +SectionData."stream3.logger1_data" { + tuples "stream3.logger1_tuples" } -SectionWidget."stream4.logger1" { +SectionWidget."stream3.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.logger1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.logger1_data" ] } -SectionVendorTuples."stream4.mfc1_tuples" { +SectionVendorTuples."stream3.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1145,23 +1145,23 @@ SectionVendorTuples."stream4.mfc1_tuples" { } } -SectionData."stream4.mfc1_data" { - tuples "stream4.mfc1_tuples" +SectionData."stream3.mfc1_data" { + tuples "stream3.mfc1_tuples" } -SectionWidget."stream4.mfc1" { +SectionWidget."stream3.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.mfc1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.mfc1_data" ] } -SectionVendorTuples."stream4.pcm_converter1_tuples" { +SectionVendorTuples."stream3.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1179,23 +1179,23 @@ SectionVendorTuples."stream4.pcm_converter1_tuples" { } } -SectionData."stream4.pcm_converter1_data" { - tuples "stream4.pcm_converter1_tuples" +SectionData."stream3.pcm_converter1_data" { + tuples "stream3.pcm_converter1_tuples" } -SectionWidget."stream4.pcm_converter1" { +SectionWidget."stream3.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.pcm_converter1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.pcm_converter1_data" ] } -SectionVendorTuples."stream4.pcm_encoder1_tuples" { +SectionVendorTuples."stream3.pcm_encoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1213,23 +1213,23 @@ SectionVendorTuples."stream4.pcm_encoder1_tuples" { } } -SectionData."stream4.pcm_encoder1_data" { - tuples "stream4.pcm_encoder1_tuples" +SectionData."stream3.pcm_encoder1_data" { + tuples "stream3.pcm_encoder1_tuples" } -SectionWidget."stream4.pcm_encoder1" { +SectionWidget."stream3.pcm_encoder1" { index "1" type "encoder" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.pcm_encoder1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.pcm_encoder1_data" ] } -SectionVendorTuples."stream4.rdsh_ep1_tuples" { +SectionVendorTuples."stream3.rdsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "24628" @@ -1245,32 +1245,32 @@ SectionVendorTuples."stream4.rdsh_ep1_tuples" { } } -SectionData."stream4.rdsh_ep1_data" { - tuples "stream4.rdsh_ep1_tuples" +SectionData."stream3.rdsh_ep1_data" { + tuples "stream3.rdsh_ep1_tuples" } -SectionWidget."stream4.rdsh_ep1" { +SectionWidget."stream3.rdsh_ep1" { index "1" type "aif_out" no_pm "true" stream_name "MultiMedia4 Capture" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.rdsh_ep1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.rdsh_ep1_data" ] } -SectionGraph."stream4.1 Graph" { +SectionGraph."stream3.1 Graph" { index "1" lines [ - "stream4.logger1, , MultiMedia4 Mixer" - "stream4.mfc1, , stream4.logger1" - "stream4.pcm_converter1, , stream4.mfc1" - "stream4.pcm_encoder1, , stream4.pcm_converter1" - "stream4.rdsh_ep1, , stream4.pcm_encoder1" + "stream3.logger1, , MultiMedia4 Mixer" + "stream3.mfc1, , stream3.logger1" + "stream3.pcm_converter1, , stream3.mfc1" + "stream3.pcm_encoder1, , stream3.pcm_converter1" + "stream3.rdsh_ep1, , stream3.pcm_encoder1" ] } @@ -1283,8 +1283,8 @@ SectionGraph."stream4.1 Graph" { # Mixer -| [LOG] -> [WSA EP] | # |___________________| # - - + + @@ -1416,8 +1416,8 @@ SectionGraph."device105.1 WSA_CODEC_DMA_RX_0 Graph" { } - - + + @@ -1551,8 +1551,8 @@ SectionGraph."device18.1 Graph" { } - - + + @@ -1684,8 +1684,8 @@ SectionGraph."device113.1 RX_CODEC_DMA_RX_0 Graph" { } - - + + @@ -1837,8 +1837,8 @@ SectionGraph."device110.1 VA_CODEC_DMA_TX_0 Graph" { ] } - - + + @@ -2046,8 +2046,8 @@ SectionGraph."WSA_CODEC_DMA_RX_0 Audio Mixer Graph" { index "105" lines [ - "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream2.logger1" - "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream1.logger1" + "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream1.logger1" + "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream0.logger1" ] } @@ -2056,8 +2056,8 @@ SectionGraph."SECONDARY_MI2S_RX Audio Mixer Graph" { index "18" lines [ - "SECONDARY_MI2S_RX Audio Mixer, MultiMedia2, stream2.logger1" - "SECONDARY_MI2S_RX Audio Mixer, MultiMedia1, stream1.logger1" + "SECONDARY_MI2S_RX Audio Mixer, MultiMedia2, stream1.logger1" + "SECONDARY_MI2S_RX Audio Mixer, MultiMedia1, stream0.logger1" ] } @@ -2066,15 +2066,15 @@ SectionGraph."RX_CODEC_DMA_RX_0 Audio Mixer Graph" { index "113" lines [ - "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream2.logger1" - "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream1.logger1" + "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream1.logger1" + "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream0.logger1" ] } SectionWidget."MultiMedia3 Mixer" { reg "-1" - index "3" + index "2" type "mixer" mixer [ @@ -2084,13 +2084,13 @@ SectionWidget."MultiMedia3 Mixer" { ] data [ - "stream3.sub_graph1_data" + "stream2.sub_graph1_data" ] } SectionWidget."MultiMedia4 Mixer" { reg "-1" - index "4" + index "3" type "mixer" mixer [ @@ -2100,13 +2100,13 @@ SectionWidget."MultiMedia4 Mixer" { ] data [ - "stream4.sub_graph1_data" + "stream3.sub_graph1_data" ] } SectionGraph."MultiMedia3 Mixer Graph" { - index "3" + index "2" lines [ "MultiMedia3 Mixer, TX_CODEC_DMA_TX_3, device120.logger1" @@ -2116,7 +2116,7 @@ SectionGraph."MultiMedia3 Mixer Graph" { SectionGraph."MultiMedia4 Mixer Graph" { - index "4" + index "3" lines [ "MultiMedia4 Mixer, TX_CODEC_DMA_TX_3, device120.logger1" diff --git a/prebuilt/SM8450-HDK-tplg.bin b/prebuilt/qcom/sm8450/SM8450-HDK-tplg.bin Binary files differindex b6e9f6f..f3492ac 100644 --- a/prebuilt/SM8450-HDK-tplg.bin +++ b/prebuilt/qcom/sm8450/SM8450-HDK-tplg.bin diff --git a/prebuilt/SM8450-HDK.conf b/prebuilt/qcom/sm8450/SM8450-HDK.conf index 2b47dfb..e82fe75 100644 --- a/prebuilt/SM8450-HDK.conf +++ b/prebuilt/qcom/sm8450/SM8450-HDK.conf @@ -1,4 +1,4 @@ - + @@ -6,7 +6,7 @@ - + @@ -54,8 +54,8 @@ SectionVendorTokens."audioreach_tokens" { # | [WR_SH] -> [PCM DEC] -> [PCM CONV] -> [LOG] |- Kcontrol # |______________________________________________| # - - + + @@ -83,13 +83,13 @@ SectionPCMCapabilities."MultiMedia1 Playback" { SectionPCM."MultiMedia1 Playback" { - index "1" + index "0" # used for binding to the PCM - id "1" + id "0" dai."MultiMedia1 Playback" { - id "1" + id "0" } pcm."playback" { @@ -98,23 +98,23 @@ SectionPCM."MultiMedia1 Playback" { } -SectionVendorTuples."stream1.sub_graph1_tuples" { +SectionVendorTuples."stream0.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004001" - AR_TKN_DAI_INDEX "1" + AR_TKN_DAI_INDEX "0" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x2" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x1" } } -SectionData."stream1.sub_graph1_data" { - tuples "stream1.sub_graph1_tuples" +SectionData."stream0.sub_graph1_data" { + tuples "stream0.sub_graph1_tuples" } -SectionVendorTuples."stream1.container1_tuples" { +SectionVendorTuples."stream0.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004001" @@ -125,12 +125,12 @@ SectionVendorTuples."stream1.container1_tuples" { } } -SectionData."stream1.container1_data" { - tuples "stream1.container1_tuples" +SectionData."stream0.container1_data" { + tuples "stream0.container1_tuples" } -SectionVendorTuples."stream1.wrsh_ep1_tuples" { +SectionVendorTuples."stream0.wrsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "0x00006001" @@ -146,24 +146,24 @@ SectionVendorTuples."stream1.wrsh_ep1_tuples" { } } -SectionData."stream1.wrsh_ep1_data" { - tuples "stream1.wrsh_ep1_tuples" +SectionData."stream0.wrsh_ep1_data" { + tuples "stream0.wrsh_ep1_tuples" } -SectionWidget."stream1.wrsh_ep1" { +SectionWidget."stream0.wrsh_ep1" { index "1" type "aif_in" no_pm "true" stream_name "MultiMedia1 Playback" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.wrsh_ep1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.wrsh_ep1_data" ] } -SectionVendorTuples."stream1.pcm_decoder1_tuples" { +SectionVendorTuples."stream0.pcm_decoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -181,23 +181,23 @@ SectionVendorTuples."stream1.pcm_decoder1_tuples" { } } -SectionData."stream1.pcm_decoder1_data" { - tuples "stream1.pcm_decoder1_tuples" +SectionData."stream0.pcm_decoder1_data" { + tuples "stream0.pcm_decoder1_tuples" } -SectionWidget."stream1.pcm_decoder1" { +SectionWidget."stream0.pcm_decoder1" { index "1" type "decoder" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.pcm_decoder1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.pcm_decoder1_data" ] } -SectionVendorTuples."stream1.pcm_converter1_tuples" { +SectionVendorTuples."stream0.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -215,22 +215,22 @@ SectionVendorTuples."stream1.pcm_converter1_tuples" { } } -SectionData."stream1.pcm_converter1_data" { - tuples "stream1.pcm_converter1_tuples" +SectionData."stream0.pcm_converter1_data" { + tuples "stream0.pcm_converter1_tuples" } -SectionWidget."stream1.pcm_converter1" { +SectionWidget."stream0.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.pcm_converter1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.pcm_converter1_data" ] } -SectionVendorTuples."stream1.vol_ctrl1_tuples" { +SectionVendorTuples."stream0.vol_ctrl0_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -247,21 +247,21 @@ SectionVendorTuples."stream1.vol_ctrl1_tuples" { } } -SectionData."stream1.vol_ctrl1_data" { - tuples "stream1.vol_ctrl1_tuples" +SectionData."stream0.vol_ctrl0_data" { + tuples "stream0.vol_ctrl0_tuples" } -SectionWidget."stream1.vol_ctrl1" { - index "1" +SectionWidget."stream0.vol_ctrl0" { + index "0" type "pga" no_pm "true" event_type "1" event_flags "15" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.vol_ctrl1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.vol_ctrl0_data" ] mixer [ "MultiMedia1 Playback Volume" @@ -279,7 +279,7 @@ SectionControlMixer."MultiMedia1 Playback Volume" { Comment "Stream Global volume" # control belongs to this index group - index "1" + index "0" # Channel register and shift for Front Left/Right channel."FL" { @@ -304,7 +304,7 @@ SectionControlMixer."MultiMedia1 Playback Volume" { tlv "MultiMedia1_playback_vol_ctrl_tlv" } -SectionVendorTuples."stream1.mfc1_tuples" { +SectionVendorTuples."stream0.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -321,23 +321,23 @@ SectionVendorTuples."stream1.mfc1_tuples" { } } -SectionData."stream1.mfc1_data" { - tuples "stream1.mfc1_tuples" +SectionData."stream0.mfc1_data" { + tuples "stream0.mfc1_tuples" } -SectionWidget."stream1.mfc1" { +SectionWidget."stream0.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.mfc1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.mfc1_data" ] } -SectionVendorTuples."stream1.logger1_tuples" { +SectionVendorTuples."stream0.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -357,25 +357,25 @@ SectionVendorTuples."stream1.logger1_tuples" { } } -SectionData."stream1.logger1_data" { - tuples "stream1.logger1_tuples" +SectionData."stream0.logger1_data" { + tuples "stream0.logger1_tuples" } -SectionWidget."stream1.logger1" { +SectionWidget."stream0.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream1.sub_graph1_data" - "stream1.container1_data" - "stream1.logger1_data" + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.logger1_data" ] } SectionControlMixer."MultiMedia1" { reg "-1" - index "1" + index "0" max "1" invert "false" @@ -391,23 +391,23 @@ SectionControlMixer."MultiMedia1" { } data [ - "stream1.sub_graph1_data" + "stream0.sub_graph1_data" ] } -SectionGraph."stream1.1 Graph" { +SectionGraph."stream0.1 Graph" { index "1" lines [ - "stream1.pcm_decoder1, , stream1.wrsh_ep1" - "stream1.pcm_converter1, , stream1.pcm_decoder1" - "stream1.vol_ctrl1, , stream1.pcm_converter1" - "stream1.mfc1, , stream1.vol_ctrl1" - "stream1.logger1, , stream1.mfc1" + "stream0.pcm_decoder1, , stream0.wrsh_ep1" + "stream0.pcm_converter1, , stream0.pcm_decoder1" + "stream0.vol_ctrl0, , stream0.pcm_converter1" + "stream0.mfc1, , stream0.vol_ctrl0" + "stream0.logger1, , stream0.mfc1" ] } - - + + @@ -435,13 +435,13 @@ SectionPCMCapabilities."MultiMedia2 Playback" { SectionPCM."MultiMedia2 Playback" { - index "2" + index "1" # used for binding to the PCM - id "2" + id "1" dai."MultiMedia2 Playback" { - id "2" + id "1" } pcm."playback" { @@ -450,23 +450,23 @@ SectionPCM."MultiMedia2 Playback" { } -SectionVendorTuples."stream2.sub_graph1_tuples" { +SectionVendorTuples."stream1.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004002" - AR_TKN_DAI_INDEX "2" + AR_TKN_DAI_INDEX "1" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x2" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x1" } } -SectionData."stream2.sub_graph1_data" { - tuples "stream2.sub_graph1_tuples" +SectionData."stream1.sub_graph1_data" { + tuples "stream1.sub_graph1_tuples" } -SectionVendorTuples."stream2.container1_tuples" { +SectionVendorTuples."stream1.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004002" @@ -477,12 +477,12 @@ SectionVendorTuples."stream2.container1_tuples" { } } -SectionData."stream2.container1_data" { - tuples "stream2.container1_tuples" +SectionData."stream1.container1_data" { + tuples "stream1.container1_tuples" } -SectionVendorTuples."stream2.wrsh_ep1_tuples" { +SectionVendorTuples."stream1.wrsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "0x00006010" @@ -498,24 +498,24 @@ SectionVendorTuples."stream2.wrsh_ep1_tuples" { } } -SectionData."stream2.wrsh_ep1_data" { - tuples "stream2.wrsh_ep1_tuples" +SectionData."stream1.wrsh_ep1_data" { + tuples "stream1.wrsh_ep1_tuples" } -SectionWidget."stream2.wrsh_ep1" { +SectionWidget."stream1.wrsh_ep1" { index "1" type "aif_in" no_pm "true" stream_name "MultiMedia2 Playback" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.wrsh_ep1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.wrsh_ep1_data" ] } -SectionVendorTuples."stream2.pcm_decoder1_tuples" { +SectionVendorTuples."stream1.pcm_decoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -533,23 +533,23 @@ SectionVendorTuples."stream2.pcm_decoder1_tuples" { } } -SectionData."stream2.pcm_decoder1_data" { - tuples "stream2.pcm_decoder1_tuples" +SectionData."stream1.pcm_decoder1_data" { + tuples "stream1.pcm_decoder1_tuples" } -SectionWidget."stream2.pcm_decoder1" { +SectionWidget."stream1.pcm_decoder1" { index "1" type "decoder" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.pcm_decoder1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.pcm_decoder1_data" ] } -SectionVendorTuples."stream2.pcm_converter1_tuples" { +SectionVendorTuples."stream1.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -567,22 +567,22 @@ SectionVendorTuples."stream2.pcm_converter1_tuples" { } } -SectionData."stream2.pcm_converter1_data" { - tuples "stream2.pcm_converter1_tuples" +SectionData."stream1.pcm_converter1_data" { + tuples "stream1.pcm_converter1_tuples" } -SectionWidget."stream2.pcm_converter1" { +SectionWidget."stream1.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.pcm_converter1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.pcm_converter1_data" ] } -SectionVendorTuples."stream2.vol_ctrl2_tuples" { +SectionVendorTuples."stream1.vol_ctrl1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -599,21 +599,21 @@ SectionVendorTuples."stream2.vol_ctrl2_tuples" { } } -SectionData."stream2.vol_ctrl2_data" { - tuples "stream2.vol_ctrl2_tuples" +SectionData."stream1.vol_ctrl1_data" { + tuples "stream1.vol_ctrl1_tuples" } -SectionWidget."stream2.vol_ctrl2" { - index "2" +SectionWidget."stream1.vol_ctrl1" { + index "1" type "pga" no_pm "true" event_type "1" event_flags "15" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.vol_ctrl2_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.vol_ctrl1_data" ] mixer [ "MultiMedia2 Playback Volume" @@ -631,7 +631,7 @@ SectionControlMixer."MultiMedia2 Playback Volume" { Comment "Stream Global volume" # control belongs to this index group - index "2" + index "1" # Channel register and shift for Front Left/Right channel."FL" { @@ -656,7 +656,7 @@ SectionControlMixer."MultiMedia2 Playback Volume" { tlv "MultiMedia2_playback_vol_ctrl_tlv" } -SectionVendorTuples."stream2.mfc1_tuples" { +SectionVendorTuples."stream1.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -673,23 +673,23 @@ SectionVendorTuples."stream2.mfc1_tuples" { } } -SectionData."stream2.mfc1_data" { - tuples "stream2.mfc1_tuples" +SectionData."stream1.mfc1_data" { + tuples "stream1.mfc1_tuples" } -SectionWidget."stream2.mfc1" { +SectionWidget."stream1.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.mfc1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.mfc1_data" ] } -SectionVendorTuples."stream2.logger1_tuples" { +SectionVendorTuples."stream1.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -709,25 +709,25 @@ SectionVendorTuples."stream2.logger1_tuples" { } } -SectionData."stream2.logger1_data" { - tuples "stream2.logger1_tuples" +SectionData."stream1.logger1_data" { + tuples "stream1.logger1_tuples" } -SectionWidget."stream2.logger1" { +SectionWidget."stream1.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream2.sub_graph1_data" - "stream2.container1_data" - "stream2.logger1_data" + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.logger1_data" ] } SectionControlMixer."MultiMedia2" { reg "-1" - index "2" + index "1" max "1" invert "false" @@ -743,23 +743,23 @@ SectionControlMixer."MultiMedia2" { } data [ - "stream2.sub_graph1_data" + "stream1.sub_graph1_data" ] } -SectionGraph."stream2.1 Graph" { +SectionGraph."stream1.1 Graph" { index "1" lines [ - "stream2.pcm_decoder1, , stream2.wrsh_ep1" - "stream2.pcm_converter1, , stream2.pcm_decoder1" - "stream2.vol_ctrl2, , stream2.pcm_converter1" - "stream2.mfc1, , stream2.vol_ctrl2" - "stream2.logger1, , stream2.mfc1" + "stream1.pcm_decoder1, , stream1.wrsh_ep1" + "stream1.pcm_converter1, , stream1.pcm_decoder1" + "stream1.vol_ctrl1, , stream1.pcm_converter1" + "stream1.mfc1, , stream1.vol_ctrl1" + "stream1.logger1, , stream1.mfc1" ] } - - + + @@ -787,13 +787,13 @@ SectionPCMCapabilities."MultiMedia3 Capture" { SectionPCM."MultiMedia3 Capture" { - index "3" + index "2" # used for binding to the PCM - id "3" + id "2" dai."MultiMedia3 Capture" { - id "3" + id "2" } pcm."capture" { @@ -802,23 +802,23 @@ SectionPCM."MultiMedia3 Capture" { } -SectionVendorTuples."stream3.sub_graph1_tuples" { +SectionVendorTuples."stream2.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004003" - AR_TKN_DAI_INDEX "3" + AR_TKN_DAI_INDEX "2" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x1" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x2" } } -SectionData."stream3.sub_graph1_data" { - tuples "stream3.sub_graph1_tuples" +SectionData."stream2.sub_graph1_data" { + tuples "stream2.sub_graph1_tuples" } -SectionVendorTuples."stream3.container1_tuples" { +SectionVendorTuples."stream2.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004003" @@ -829,12 +829,12 @@ SectionVendorTuples."stream3.container1_tuples" { } } -SectionData."stream3.container1_data" { - tuples "stream3.container1_tuples" +SectionData."stream2.container1_data" { + tuples "stream2.container1_tuples" } -SectionVendorTuples."stream3.logger1_tuples" { +SectionVendorTuples."stream2.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -854,23 +854,23 @@ SectionVendorTuples."stream3.logger1_tuples" { } } -SectionData."stream3.logger1_data" { - tuples "stream3.logger1_tuples" +SectionData."stream2.logger1_data" { + tuples "stream2.logger1_tuples" } -SectionWidget."stream3.logger1" { +SectionWidget."stream2.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.logger1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.logger1_data" ] } -SectionVendorTuples."stream3.mfc1_tuples" { +SectionVendorTuples."stream2.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -887,23 +887,23 @@ SectionVendorTuples."stream3.mfc1_tuples" { } } -SectionData."stream3.mfc1_data" { - tuples "stream3.mfc1_tuples" +SectionData."stream2.mfc1_data" { + tuples "stream2.mfc1_tuples" } -SectionWidget."stream3.mfc1" { +SectionWidget."stream2.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.mfc1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.mfc1_data" ] } -SectionVendorTuples."stream3.pcm_converter1_tuples" { +SectionVendorTuples."stream2.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -921,23 +921,23 @@ SectionVendorTuples."stream3.pcm_converter1_tuples" { } } -SectionData."stream3.pcm_converter1_data" { - tuples "stream3.pcm_converter1_tuples" +SectionData."stream2.pcm_converter1_data" { + tuples "stream2.pcm_converter1_tuples" } -SectionWidget."stream3.pcm_converter1" { +SectionWidget."stream2.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.pcm_converter1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.pcm_converter1_data" ] } -SectionVendorTuples."stream3.pcm_encoder1_tuples" { +SectionVendorTuples."stream2.pcm_encoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -955,23 +955,23 @@ SectionVendorTuples."stream3.pcm_encoder1_tuples" { } } -SectionData."stream3.pcm_encoder1_data" { - tuples "stream3.pcm_encoder1_tuples" +SectionData."stream2.pcm_encoder1_data" { + tuples "stream2.pcm_encoder1_tuples" } -SectionWidget."stream3.pcm_encoder1" { +SectionWidget."stream2.pcm_encoder1" { index "1" type "encoder" no_pm "true" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.pcm_encoder1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.pcm_encoder1_data" ] } -SectionVendorTuples."stream3.rdsh_ep1_tuples" { +SectionVendorTuples."stream2.rdsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "24612" @@ -987,37 +987,37 @@ SectionVendorTuples."stream3.rdsh_ep1_tuples" { } } -SectionData."stream3.rdsh_ep1_data" { - tuples "stream3.rdsh_ep1_tuples" +SectionData."stream2.rdsh_ep1_data" { + tuples "stream2.rdsh_ep1_tuples" } -SectionWidget."stream3.rdsh_ep1" { +SectionWidget."stream2.rdsh_ep1" { index "1" type "aif_out" no_pm "true" stream_name "MultiMedia3 Capture" subseq "10" data [ - "stream3.sub_graph1_data" - "stream3.container1_data" - "stream3.rdsh_ep1_data" + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.rdsh_ep1_data" ] } -SectionGraph."stream3.1 Graph" { +SectionGraph."stream2.1 Graph" { index "1" lines [ - "stream3.logger1, , MultiMedia3 Mixer" - "stream3.mfc1, , stream3.logger1" - "stream3.pcm_converter1, , stream3.mfc1" - "stream3.pcm_encoder1, , stream3.pcm_converter1" - "stream3.rdsh_ep1, , stream3.pcm_encoder1" + "stream2.logger1, , MultiMedia3 Mixer" + "stream2.mfc1, , stream2.logger1" + "stream2.pcm_converter1, , stream2.mfc1" + "stream2.pcm_encoder1, , stream2.pcm_converter1" + "stream2.rdsh_ep1, , stream2.pcm_encoder1" ] } - - + + @@ -1045,13 +1045,13 @@ SectionPCMCapabilities."MultiMedia4 Capture" { SectionPCM."MultiMedia4 Capture" { - index "4" + index "3" # used for binding to the PCM - id "4" + id "3" dai."MultiMedia4 Capture" { - id "4" + id "3" } pcm."capture" { @@ -1060,23 +1060,23 @@ SectionPCM."MultiMedia4 Capture" { } -SectionVendorTuples."stream4.sub_graph1_tuples" { +SectionVendorTuples."stream3.sub_graph1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004004" - AR_TKN_DAI_INDEX "4" + AR_TKN_DAI_INDEX "3" AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" AR_TKN_U32_SUB_GRAPH_DIRECTION "0x1" AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x2" } } -SectionData."stream4.sub_graph1_data" { - tuples "stream4.sub_graph1_tuples" +SectionData."stream3.sub_graph1_data" { + tuples "stream3.sub_graph1_tuples" } -SectionVendorTuples."stream4.container1_tuples" { +SectionVendorTuples."stream3.container1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004004" @@ -1087,12 +1087,12 @@ SectionVendorTuples."stream4.container1_tuples" { } } -SectionData."stream4.container1_data" { - tuples "stream4.container1_tuples" +SectionData."stream3.container1_data" { + tuples "stream3.container1_tuples" } -SectionVendorTuples."stream4.logger1_tuples" { +SectionVendorTuples."stream3.logger1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1112,23 +1112,23 @@ SectionVendorTuples."stream4.logger1_tuples" { } } -SectionData."stream4.logger1_data" { - tuples "stream4.logger1_tuples" +SectionData."stream3.logger1_data" { + tuples "stream3.logger1_tuples" } -SectionWidget."stream4.logger1" { +SectionWidget."stream3.logger1" { index "1" type "buffer" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.logger1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.logger1_data" ] } -SectionVendorTuples."stream4.mfc1_tuples" { +SectionVendorTuples."stream3.mfc1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1145,23 +1145,23 @@ SectionVendorTuples."stream4.mfc1_tuples" { } } -SectionData."stream4.mfc1_data" { - tuples "stream4.mfc1_tuples" +SectionData."stream3.mfc1_data" { + tuples "stream3.mfc1_tuples" } -SectionWidget."stream4.mfc1" { +SectionWidget."stream3.mfc1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.mfc1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.mfc1_data" ] } -SectionVendorTuples."stream4.pcm_converter1_tuples" { +SectionVendorTuples."stream3.pcm_converter1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1179,23 +1179,23 @@ SectionVendorTuples."stream4.pcm_converter1_tuples" { } } -SectionData."stream4.pcm_converter1_data" { - tuples "stream4.pcm_converter1_tuples" +SectionData."stream3.pcm_converter1_data" { + tuples "stream3.pcm_converter1_tuples" } -SectionWidget."stream4.pcm_converter1" { +SectionWidget."stream3.pcm_converter1" { index "1" type "src" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.pcm_converter1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.pcm_converter1_data" ] } -SectionVendorTuples."stream4.pcm_encoder1_tuples" { +SectionVendorTuples."stream3.pcm_encoder1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { @@ -1213,23 +1213,23 @@ SectionVendorTuples."stream4.pcm_encoder1_tuples" { } } -SectionData."stream4.pcm_encoder1_data" { - tuples "stream4.pcm_encoder1_tuples" +SectionData."stream3.pcm_encoder1_data" { + tuples "stream3.pcm_encoder1_tuples" } -SectionWidget."stream4.pcm_encoder1" { +SectionWidget."stream3.pcm_encoder1" { index "1" type "encoder" no_pm "true" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.pcm_encoder1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.pcm_encoder1_data" ] } -SectionVendorTuples."stream4.rdsh_ep1_tuples" { +SectionVendorTuples."stream3.rdsh_ep1_tuples" { tokens "audioreach_tokens" tuples."word.u32_data" { AR_TKN_U32_MODULE_INSTANCE_ID "24628" @@ -1245,32 +1245,32 @@ SectionVendorTuples."stream4.rdsh_ep1_tuples" { } } -SectionData."stream4.rdsh_ep1_data" { - tuples "stream4.rdsh_ep1_tuples" +SectionData."stream3.rdsh_ep1_data" { + tuples "stream3.rdsh_ep1_tuples" } -SectionWidget."stream4.rdsh_ep1" { +SectionWidget."stream3.rdsh_ep1" { index "1" type "aif_out" no_pm "true" stream_name "MultiMedia4 Capture" subseq "10" data [ - "stream4.sub_graph1_data" - "stream4.container1_data" - "stream4.rdsh_ep1_data" + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.rdsh_ep1_data" ] } -SectionGraph."stream4.1 Graph" { +SectionGraph."stream3.1 Graph" { index "1" lines [ - "stream4.logger1, , MultiMedia4 Mixer" - "stream4.mfc1, , stream4.logger1" - "stream4.pcm_converter1, , stream4.mfc1" - "stream4.pcm_encoder1, , stream4.pcm_converter1" - "stream4.rdsh_ep1, , stream4.pcm_encoder1" + "stream3.logger1, , MultiMedia4 Mixer" + "stream3.mfc1, , stream3.logger1" + "stream3.pcm_converter1, , stream3.mfc1" + "stream3.pcm_encoder1, , stream3.pcm_converter1" + "stream3.rdsh_ep1, , stream3.pcm_encoder1" ] } @@ -1283,8 +1283,8 @@ SectionGraph."stream4.1 Graph" { # Mixer -| [LOG] -> [WSA EP] | # |___________________| # - - + + @@ -1416,8 +1416,8 @@ SectionGraph."device105.1 WSA_CODEC_DMA_RX_0 Graph" { } - - + + @@ -1551,8 +1551,8 @@ SectionGraph."device16.1 PRIMARY_MI2S_RX Graph" { } - - + + @@ -1684,8 +1684,8 @@ SectionGraph."device113.1 RX_CODEC_DMA_RX_0 Graph" { } - - + + @@ -1837,8 +1837,8 @@ SectionGraph."device110.1 VA_CODEC_DMA_TX_0 Graph" { ] } - - + + @@ -2008,7 +2008,7 @@ SectionWidget."WSA_CODEC_DMA_RX_0 Audio Mixer" { ] } -SectionWidget."Primary Audio Mixer" { +SectionWidget."PRIMARY_MI2S_RX Audio Mixer" { reg "-1" index "16" type "mixer" @@ -2046,18 +2046,18 @@ SectionGraph."WSA_CODEC_DMA_RX_0 Audio Mixer Graph" { index "105" lines [ - "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream2.logger1" - "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream1.logger1" + "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream1.logger1" + "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream0.logger1" ] } -SectionGraph."Primary Audio Mixer Graph" { +SectionGraph."PRIMARY_MI2S_RX Audio Mixer Graph" { index "16" lines [ - "Primary Audio Mixer, MultiMedia2, stream2.logger1" - "Primary Audio Mixer, MultiMedia1, stream1.logger1" + "PRIMARY_MI2S_RX Audio Mixer, MultiMedia2, stream1.logger1" + "PRIMARY_MI2S_RX Audio Mixer, MultiMedia1, stream0.logger1" ] } @@ -2066,15 +2066,15 @@ SectionGraph."RX_CODEC_DMA_RX_0 Audio Mixer Graph" { index "113" lines [ - "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream2.logger1" - "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream1.logger1" + "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream1.logger1" + "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream0.logger1" ] } SectionWidget."MultiMedia3 Mixer" { reg "-1" - index "3" + index "2" type "mixer" mixer [ @@ -2084,13 +2084,13 @@ SectionWidget."MultiMedia3 Mixer" { ] data [ - "stream3.sub_graph1_data" + "stream2.sub_graph1_data" ] } SectionWidget."MultiMedia4 Mixer" { reg "-1" - index "4" + index "3" type "mixer" mixer [ @@ -2100,13 +2100,13 @@ SectionWidget."MultiMedia4 Mixer" { ] data [ - "stream4.sub_graph1_data" + "stream3.sub_graph1_data" ] } SectionGraph."MultiMedia3 Mixer Graph" { - index "3" + index "2" lines [ "MultiMedia3 Mixer, TX_CODEC_DMA_TX_3, device120.logger1" @@ -2116,7 +2116,7 @@ SectionGraph."MultiMedia3 Mixer Graph" { SectionGraph."MultiMedia4 Mixer Graph" { - index "4" + index "3" lines [ "MultiMedia4 Mixer, TX_CODEC_DMA_TX_3, device120.logger1" diff --git a/prebuilt/qcom/sm8550/SM8550-QRD-tplg.bin b/prebuilt/qcom/sm8550/SM8550-QRD-tplg.bin Binary files differnew file mode 100644 index 0000000..01774c6 --- /dev/null +++ b/prebuilt/qcom/sm8550/SM8550-QRD-tplg.bin diff --git a/prebuilt/qcom/sm8550/SM8550-QRD.conf b/prebuilt/qcom/sm8550/SM8550-QRD.conf new file mode 100644 index 0000000..d87c08f --- /dev/null +++ b/prebuilt/qcom/sm8550/SM8550-QRD.conf @@ -0,0 +1,1964 @@ + + + + + + + + + + + + + + +SectionVendorTokens."audioreach_tokens" { + AR_TKN_DAI_INDEX "1" + AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "2" + AR_TKN_U32_SUB_GRAPH_PERF_MODE "3" + AR_TKN_U32_SUB_GRAPH_DIRECTION "4" + AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "5" + AR_TKN_U32_CONAINER_INSTANCE_ID "100" + AR_TKN_U32_CONAINER_CAPABILITY_ID "101" + AR_TKN_U32_CONAINER_STACK_SIZE "102" + AR_TKN_U32_CONAINER_GRAPH_POS "103" + AR_TKN_U32_CONAINER_PROC_DOMAIN "104" + AR_TKN_U32_MODULE_ID "200" + AR_TKN_U32_MODULE_INSTANCE_ID "201" + AR_TKN_U32_MODULE_MAX_IP_PORTS "202" + AR_TKN_U32_MODULE_MAX_OP_PORTS "203" + AR_TKN_U32_MODULE_IN_PORTS "204" + AR_TKN_U32_MODULE_OUT_PORTS "205" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "206" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "207" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "208" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "209" + AR_TKN_U32_MODULE_HW_IF_IDX "250" + AR_TKN_U32_MODULE_HW_IF_TYPE "251" + AR_TKN_U32_MODULE_FMT_INTERLEAVE "252" + AR_TKN_U32_MODULE_FMT_DATA "253" + AR_TKN_U32_MODULE_FMT_FREQ "254" + AR_TKN_U32_MODULE_FMT_BIT_DEPTH "255" + AR_TKN_U32_MODULE_SD_LINE_IDX "256" + AR_TKN_U32_MODULE_WS_SRC "257" + AR_TKN_U32_MODULE_FRAME_SZ_FACTOR "258" + AR_TKN_U32_MODULE_LOG_CODE "259" + AR_TKN_U32_MODULE_LOG_TAP_POINT_ID "260" + AR_TKN_U32_MODULE_LOG_MODE "261" +} +# +# Stream SubGraph for MultiMedia Playback +# +# ______________________________________________ +# | Sub Graph 1 | +# | [WR_SH] -> [PCM DEC] -> [PCM CONV] -> [LOG] |- Kcontrol +# |______________________________________________| +# + + + + + + + # SubGraph for PCM Playback +# +# ______________________________________________________ +# | Sub Graph 1 | +# | [WR_SH] -> [PCM DEC] -> [PCM CONV] -> [VOL]-> [LOG] |---Mixer-- +# |______________________________________________________| +# + + + + + + +SectionPCMCapabilities."MultiMedia1 Playback" { + formats "S16_LE" + rate_min "48000" + rate_max "48000" + channels_min "2" + channels_max "2" +} + +SectionPCM."MultiMedia1 Playback" { + + index "0" + + # used for binding to the PCM + id "0" + + dai."MultiMedia1 Playback" { + id "0" + } + + pcm."playback" { + capabilities "MultiMedia1 Playback" + } +} + + +SectionVendorTuples."stream0.sub_graph1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004001" + AR_TKN_DAI_INDEX "0" + AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" + AR_TKN_U32_SUB_GRAPH_DIRECTION "0x2" + AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x1" + } +} + +SectionData."stream0.sub_graph1_data" { + tuples "stream0.sub_graph1_tuples" +} + + +SectionVendorTuples."stream0.container1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004001" + AR_TKN_U32_CONAINER_CAPABILITY_ID "0x0B001001" + AR_TKN_U32_CONAINER_STACK_SIZE "8192" + AR_TKN_U32_CONAINER_GRAPH_POS "0x1" + AR_TKN_U32_CONAINER_PROC_DOMAIN "0x2" + } +} + +SectionData."stream0.container1_data" { + tuples "stream0.container1_tuples" +} + + +SectionVendorTuples."stream0.wrsh_ep1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "0x00006001" + AR_TKN_U32_MODULE_ID "0x07001000" + AR_TKN_U32_MODULE_MAX_IP_PORTS "0" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "0" + AR_TKN_U32_MODULE_OUT_PORTS "0" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "0x00006001" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24578" + } +} + +SectionData."stream0.wrsh_ep1_data" { + tuples "stream0.wrsh_ep1_tuples" +} + +SectionWidget."stream0.wrsh_ep1" { + index "1" + type "aif_in" + no_pm "true" + stream_name "MultiMedia1 Playback" + subseq "10" + data [ + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.wrsh_ep1_data" + ] +} + +SectionVendorTuples."stream0.pcm_decoder1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24578" + AR_TKN_U32_MODULE_ID "0x07001005" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24578" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24579" + AR_TKN_U32_MODULE_FMT_INTERLEAVE "1" + } +} + +SectionData."stream0.pcm_decoder1_data" { + tuples "stream0.pcm_decoder1_tuples" +} + +SectionWidget."stream0.pcm_decoder1" { + index "1" + type "decoder" + no_pm "true" + subseq "10" + data [ + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.pcm_decoder1_data" + ] +} + +SectionVendorTuples."stream0.pcm_converter1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24579" + AR_TKN_U32_MODULE_ID "0x07001003" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24579" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24580" + AR_TKN_U32_MODULE_FMT_INTERLEAVE "3" + } +} + +SectionData."stream0.pcm_converter1_data" { + tuples "stream0.pcm_converter1_tuples" +} + +SectionWidget."stream0.pcm_converter1" { + index "1" + type "src" + no_pm "true" + subseq "10" + data [ + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.pcm_converter1_data" + ] +} +SectionVendorTuples."stream0.vol_ctrl0_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24580" + AR_TKN_U32_MODULE_ID "0x0700101B" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24580" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24581" + } +} + +SectionData."stream0.vol_ctrl0_data" { + tuples "stream0.vol_ctrl0_tuples" +} + +SectionWidget."stream0.vol_ctrl0" { + index "0" + type "pga" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.vol_ctrl0_data" + ] + mixer [ + "MultiMedia1 Playback Volume" + ] +} + +SectionTLV."MultiMedia1_playback_vol_ctrl_tlv" { + scale { + min "0" + step "100" + mute "0" + } +} +SectionControlMixer."MultiMedia1 Playback Volume" { + Comment "Stream Global volume" + + # control belongs to this index group + index "0" + + # Channel register and shift for Front Left/Right + channel."FL" { + reg "0" + shift "0" + } + channel."FR" { + reg "0" + shift "0" + } + + # max control value and whether value is inverted + max "65535" + invert "false" + + # control uses bespoke driver get/put/info ID 0 + ops."ctl" { + info "volsw" + get "257" + put "257" + } + tlv "MultiMedia1_playback_vol_ctrl_tlv" +} + +SectionVendorTuples."stream0.mfc1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24581" + AR_TKN_U32_MODULE_ID "0x07001015" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24581" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24582" + } +} + +SectionData."stream0.mfc1_data" { + tuples "stream0.mfc1_tuples" +} + +SectionWidget."stream0.mfc1" { + index "1" + type "src" + no_pm "true" + subseq "10" + data [ + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.mfc1_data" + ] +} + +SectionVendorTuples."stream0.logger1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24582" + AR_TKN_U32_MODULE_ID "0x0700101A" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24582" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "0x0" + AR_TKN_U32_MODULE_LOG_CODE "0x000019af" + AR_TKN_U32_MODULE_LOG_TAP_POINT_ID "1" + AR_TKN_U32_MODULE_LOG_MODE "0" + } +} + +SectionData."stream0.logger1_data" { + tuples "stream0.logger1_tuples" +} + +SectionWidget."stream0.logger1" { + index "1" + type "buffer" + no_pm "true" + subseq "10" + data [ + "stream0.sub_graph1_data" + "stream0.container1_data" + "stream0.logger1_data" + ] +} + +SectionControlMixer."MultiMedia1" { + reg "-1" + index "0" + max "1" + invert "false" + + channel."fl" { + reg "-1" + max "1" + } + + ops."ctl" { + get "256" + put "256" + info "1" + } + + data [ + "stream0.sub_graph1_data" + ] +} + +SectionGraph."stream0.1 Graph" { + index "1" + lines [ + "stream0.pcm_decoder1, , stream0.wrsh_ep1" + "stream0.pcm_converter1, , stream0.pcm_decoder1" + "stream0.vol_ctrl0, , stream0.pcm_converter1" + "stream0.mfc1, , stream0.vol_ctrl0" + "stream0.logger1, , stream0.mfc1" + ] +} + + + + + + + + # SubGraph for PCM Playback +# +# ______________________________________________________ +# | Sub Graph 1 | +# | [WR_SH] -> [PCM DEC] -> [PCM CONV] -> [VOL]-> [LOG] |---Mixer-- +# |______________________________________________________| +# + + + + + + +SectionPCMCapabilities."MultiMedia2 Playback" { + formats "S16_LE" + rate_min "48000" + rate_max "48000" + channels_min "2" + channels_max "2" +} + +SectionPCM."MultiMedia2 Playback" { + + index "1" + + # used for binding to the PCM + id "1" + + dai."MultiMedia2 Playback" { + id "1" + } + + pcm."playback" { + capabilities "MultiMedia2 Playback" + } +} + + +SectionVendorTuples."stream1.sub_graph1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004002" + AR_TKN_DAI_INDEX "1" + AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" + AR_TKN_U32_SUB_GRAPH_DIRECTION "0x2" + AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x1" + } +} + +SectionData."stream1.sub_graph1_data" { + tuples "stream1.sub_graph1_tuples" +} + + +SectionVendorTuples."stream1.container1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004002" + AR_TKN_U32_CONAINER_CAPABILITY_ID "0x0B001001" + AR_TKN_U32_CONAINER_STACK_SIZE "8192" + AR_TKN_U32_CONAINER_GRAPH_POS "0x1" + AR_TKN_U32_CONAINER_PROC_DOMAIN "0x2" + } +} + +SectionData."stream1.container1_data" { + tuples "stream1.container1_tuples" +} + + +SectionVendorTuples."stream1.wrsh_ep1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "0x00006010" + AR_TKN_U32_MODULE_ID "0x07001000" + AR_TKN_U32_MODULE_MAX_IP_PORTS "0" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "0" + AR_TKN_U32_MODULE_OUT_PORTS "0" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "0x00006010" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24593" + } +} + +SectionData."stream1.wrsh_ep1_data" { + tuples "stream1.wrsh_ep1_tuples" +} + +SectionWidget."stream1.wrsh_ep1" { + index "1" + type "aif_in" + no_pm "true" + stream_name "MultiMedia2 Playback" + subseq "10" + data [ + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.wrsh_ep1_data" + ] +} + +SectionVendorTuples."stream1.pcm_decoder1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24593" + AR_TKN_U32_MODULE_ID "0x07001005" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24593" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24594" + AR_TKN_U32_MODULE_FMT_INTERLEAVE "1" + } +} + +SectionData."stream1.pcm_decoder1_data" { + tuples "stream1.pcm_decoder1_tuples" +} + +SectionWidget."stream1.pcm_decoder1" { + index "1" + type "decoder" + no_pm "true" + subseq "10" + data [ + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.pcm_decoder1_data" + ] +} + +SectionVendorTuples."stream1.pcm_converter1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24594" + AR_TKN_U32_MODULE_ID "0x07001003" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24594" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24595" + AR_TKN_U32_MODULE_FMT_INTERLEAVE "3" + } +} + +SectionData."stream1.pcm_converter1_data" { + tuples "stream1.pcm_converter1_tuples" +} + +SectionWidget."stream1.pcm_converter1" { + index "1" + type "src" + no_pm "true" + subseq "10" + data [ + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.pcm_converter1_data" + ] +} +SectionVendorTuples."stream1.vol_ctrl1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24595" + AR_TKN_U32_MODULE_ID "0x0700101B" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24595" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24596" + } +} + +SectionData."stream1.vol_ctrl1_data" { + tuples "stream1.vol_ctrl1_tuples" +} + +SectionWidget."stream1.vol_ctrl1" { + index "1" + type "pga" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.vol_ctrl1_data" + ] + mixer [ + "MultiMedia2 Playback Volume" + ] +} + +SectionTLV."MultiMedia2_playback_vol_ctrl_tlv" { + scale { + min "0" + step "100" + mute "0" + } +} +SectionControlMixer."MultiMedia2 Playback Volume" { + Comment "Stream Global volume" + + # control belongs to this index group + index "1" + + # Channel register and shift for Front Left/Right + channel."FL" { + reg "0" + shift "0" + } + channel."FR" { + reg "0" + shift "0" + } + + # max control value and whether value is inverted + max "65535" + invert "false" + + # control uses bespoke driver get/put/info ID 0 + ops."ctl" { + info "volsw" + get "257" + put "257" + } + tlv "MultiMedia2_playback_vol_ctrl_tlv" +} + +SectionVendorTuples."stream1.mfc1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24596" + AR_TKN_U32_MODULE_ID "0x07001015" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24596" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24597" + } +} + +SectionData."stream1.mfc1_data" { + tuples "stream1.mfc1_tuples" +} + +SectionWidget."stream1.mfc1" { + index "1" + type "src" + no_pm "true" + subseq "10" + data [ + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.mfc1_data" + ] +} + +SectionVendorTuples."stream1.logger1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24597" + AR_TKN_U32_MODULE_ID "0x0700101A" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24597" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "0x0" + AR_TKN_U32_MODULE_LOG_CODE "0x000019af" + AR_TKN_U32_MODULE_LOG_TAP_POINT_ID "1" + AR_TKN_U32_MODULE_LOG_MODE "0" + } +} + +SectionData."stream1.logger1_data" { + tuples "stream1.logger1_tuples" +} + +SectionWidget."stream1.logger1" { + index "1" + type "buffer" + no_pm "true" + subseq "10" + data [ + "stream1.sub_graph1_data" + "stream1.container1_data" + "stream1.logger1_data" + ] +} + +SectionControlMixer."MultiMedia2" { + reg "-1" + index "1" + max "1" + invert "false" + + channel."fl" { + reg "-1" + max "1" + } + + ops."ctl" { + get "256" + put "256" + info "1" + } + + data [ + "stream1.sub_graph1_data" + ] +} + +SectionGraph."stream1.1 Graph" { + index "1" + lines [ + "stream1.pcm_decoder1, , stream1.wrsh_ep1" + "stream1.pcm_converter1, , stream1.pcm_decoder1" + "stream1.vol_ctrl1, , stream1.pcm_converter1" + "stream1.mfc1, , stream1.vol_ctrl1" + "stream1.logger1, , stream1.mfc1" + ] +} + + + + + + + + # SubGraph for PCM Capture +# +# ______________________________________________ +# | Sub Graph 1 | +# | [RD_SH]<-- [PCM ENC] <--[PCM CONV] <--[LOG] |-[DAPM - MIXER] +# | PCM(n) | +# |______________________________________________| +# + + + + +SectionPCMCapabilities."MultiMedia3 Capture" { + + formats "S16_LE" + rate_min "48000" + rate_max "48000" + channels_min "1" + channels_max "2" +} + +SectionPCM."MultiMedia3 Capture" { + + index "2" + + # used for binding to the PCM + id "2" + + dai."MultiMedia3 Capture" { + id "2" + } + + pcm."capture" { + capabilities "MultiMedia3 Capture" + } +} + + +SectionVendorTuples."stream2.sub_graph1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004003" + AR_TKN_DAI_INDEX "2" + AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" + AR_TKN_U32_SUB_GRAPH_DIRECTION "0x1" + AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x2" + } +} + +SectionData."stream2.sub_graph1_data" { + tuples "stream2.sub_graph1_tuples" +} + + +SectionVendorTuples."stream2.container1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004003" + AR_TKN_U32_CONAINER_CAPABILITY_ID "0x0B001001" + AR_TKN_U32_CONAINER_STACK_SIZE "8192" + AR_TKN_U32_CONAINER_GRAPH_POS "0x4" + AR_TKN_U32_CONAINER_PROC_DOMAIN "0x2" + } +} + +SectionData."stream2.container1_data" { + tuples "stream2.container1_tuples" +} + + +SectionVendorTuples."stream2.logger1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "0x00006020" + AR_TKN_U32_MODULE_ID "0x0700101A" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "0x00006020" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24609" + AR_TKN_U32_MODULE_LOG_CODE "0x000019af" + AR_TKN_U32_MODULE_LOG_TAP_POINT_ID "1" + AR_TKN_U32_MODULE_LOG_MODE "0" + } +} + +SectionData."stream2.logger1_data" { + tuples "stream2.logger1_tuples" +} + +SectionWidget."stream2.logger1" { + index "1" + type "buffer" + no_pm "true" + subseq "10" + data [ + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.logger1_data" + ] +} + +SectionVendorTuples."stream2.mfc1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24609" + AR_TKN_U32_MODULE_ID "0x07001015" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24609" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24610" + } +} + +SectionData."stream2.mfc1_data" { + tuples "stream2.mfc1_tuples" +} + +SectionWidget."stream2.mfc1" { + index "1" + type "src" + no_pm "true" + subseq "10" + data [ + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.mfc1_data" + ] +} + +SectionVendorTuples."stream2.pcm_converter1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24610" + AR_TKN_U32_MODULE_ID "0x07001003" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24610" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24611" + AR_TKN_U32_MODULE_FMT_INTERLEAVE "1" + } +} + +SectionData."stream2.pcm_converter1_data" { + tuples "stream2.pcm_converter1_tuples" +} + +SectionWidget."stream2.pcm_converter1" { + index "1" + type "src" + no_pm "true" + subseq "10" + data [ + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.pcm_converter1_data" + ] +} + +SectionVendorTuples."stream2.pcm_encoder1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24611" + AR_TKN_U32_MODULE_ID "0x07001004" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24611" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24612" + AR_TKN_U32_MODULE_FMT_INTERLEAVE "1" + } +} + +SectionData."stream2.pcm_encoder1_data" { + tuples "stream2.pcm_encoder1_tuples" +} + +SectionWidget."stream2.pcm_encoder1" { + index "1" + type "encoder" + no_pm "true" + subseq "10" + data [ + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.pcm_encoder1_data" + ] +} + +SectionVendorTuples."stream2.rdsh_ep1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24612" + AR_TKN_U32_MODULE_ID "0x07001001" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "0" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "0" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "0" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24612" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "0x0" + } +} + +SectionData."stream2.rdsh_ep1_data" { + tuples "stream2.rdsh_ep1_tuples" +} + +SectionWidget."stream2.rdsh_ep1" { + index "1" + type "aif_out" + no_pm "true" + stream_name "MultiMedia3 Capture" + subseq "10" + data [ + "stream2.sub_graph1_data" + "stream2.container1_data" + "stream2.rdsh_ep1_data" + ] +} + + +SectionGraph."stream2.1 Graph" { + index "1" + lines [ + "stream2.logger1, , MultiMedia3 Mixer" + "stream2.mfc1, , stream2.logger1" + "stream2.pcm_converter1, , stream2.mfc1" + "stream2.pcm_encoder1, , stream2.pcm_converter1" + "stream2.rdsh_ep1, , stream2.pcm_encoder1" + ] +} + + + + + + + + # SubGraph for PCM Capture +# +# ______________________________________________ +# | Sub Graph 1 | +# | [RD_SH]<-- [PCM ENC] <--[PCM CONV] <--[LOG] |-[DAPM - MIXER] +# | PCM(n) | +# |______________________________________________| +# + + + + +SectionPCMCapabilities."MultiMedia4 Capture" { + + formats "S16_LE" + rate_min "48000" + rate_max "48000" + channels_min "1" + channels_max "2" +} + +SectionPCM."MultiMedia4 Capture" { + + index "3" + + # used for binding to the PCM + id "3" + + dai."MultiMedia4 Capture" { + id "3" + } + + pcm."capture" { + capabilities "MultiMedia4 Capture" + } +} + + +SectionVendorTuples."stream3.sub_graph1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004004" + AR_TKN_DAI_INDEX "3" + AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" + AR_TKN_U32_SUB_GRAPH_DIRECTION "0x1" + AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x2" + } +} + +SectionData."stream3.sub_graph1_data" { + tuples "stream3.sub_graph1_tuples" +} + + +SectionVendorTuples."stream3.container1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004004" + AR_TKN_U32_CONAINER_CAPABILITY_ID "0x0B001001" + AR_TKN_U32_CONAINER_STACK_SIZE "8192" + AR_TKN_U32_CONAINER_GRAPH_POS "0x4" + AR_TKN_U32_CONAINER_PROC_DOMAIN "0x2" + } +} + +SectionData."stream3.container1_data" { + tuples "stream3.container1_tuples" +} + + +SectionVendorTuples."stream3.logger1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "0x00006030" + AR_TKN_U32_MODULE_ID "0x0700101A" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "0x00006030" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24625" + AR_TKN_U32_MODULE_LOG_CODE "0x000019af" + AR_TKN_U32_MODULE_LOG_TAP_POINT_ID "1" + AR_TKN_U32_MODULE_LOG_MODE "0" + } +} + +SectionData."stream3.logger1_data" { + tuples "stream3.logger1_tuples" +} + +SectionWidget."stream3.logger1" { + index "1" + type "buffer" + no_pm "true" + subseq "10" + data [ + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.logger1_data" + ] +} + +SectionVendorTuples."stream3.mfc1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24625" + AR_TKN_U32_MODULE_ID "0x07001015" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24625" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24626" + } +} + +SectionData."stream3.mfc1_data" { + tuples "stream3.mfc1_tuples" +} + +SectionWidget."stream3.mfc1" { + index "1" + type "src" + no_pm "true" + subseq "10" + data [ + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.mfc1_data" + ] +} + +SectionVendorTuples."stream3.pcm_converter1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24626" + AR_TKN_U32_MODULE_ID "0x07001003" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24626" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24627" + AR_TKN_U32_MODULE_FMT_INTERLEAVE "1" + } +} + +SectionData."stream3.pcm_converter1_data" { + tuples "stream3.pcm_converter1_tuples" +} + +SectionWidget."stream3.pcm_converter1" { + index "1" + type "src" + no_pm "true" + subseq "10" + data [ + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.pcm_converter1_data" + ] +} + +SectionVendorTuples."stream3.pcm_encoder1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24627" + AR_TKN_U32_MODULE_ID "0x07001004" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24627" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24628" + AR_TKN_U32_MODULE_FMT_INTERLEAVE "1" + } +} + +SectionData."stream3.pcm_encoder1_data" { + tuples "stream3.pcm_encoder1_tuples" +} + +SectionWidget."stream3.pcm_encoder1" { + index "1" + type "encoder" + no_pm "true" + subseq "10" + data [ + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.pcm_encoder1_data" + ] +} + +SectionVendorTuples."stream3.rdsh_ep1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24628" + AR_TKN_U32_MODULE_ID "0x07001001" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "0" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "0" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "0" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24628" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "0x0" + } +} + +SectionData."stream3.rdsh_ep1_data" { + tuples "stream3.rdsh_ep1_tuples" +} + +SectionWidget."stream3.rdsh_ep1" { + index "1" + type "aif_out" + no_pm "true" + stream_name "MultiMedia4 Capture" + subseq "10" + data [ + "stream3.sub_graph1_data" + "stream3.container1_data" + "stream3.rdsh_ep1_data" + ] +} + + +SectionGraph."stream3.1 Graph" { + index "1" + lines [ + "stream3.logger1, , MultiMedia4 Mixer" + "stream3.mfc1, , stream3.logger1" + "stream3.pcm_converter1, , stream3.mfc1" + "stream3.pcm_encoder1, , stream3.pcm_converter1" + "stream3.rdsh_ep1, , stream3.pcm_encoder1" + ] +} + +# +# +# Device SubGraph for WSA RX0 Backend +# +# ___________________ +# | Sub Graph 2 | +# Mixer -| [LOG] -> [WSA EP] | +# |___________________| +# + + + + + + + # +# SubGraph for Device Backend +# +# ______________________ +# | Sub Graph | +# | [LOG] -> [DEVICE EP] | +# |______________________| + + + + + + + +SectionVendorTuples."device105.sub_graph1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004005" + AR_TKN_DAI_INDEX "105" + AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" + AR_TKN_U32_SUB_GRAPH_DIRECTION "0x1" + AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x1" + } +} + +SectionData."device105.sub_graph1_data" { + tuples "device105.sub_graph1_tuples" +} + +SectionVendorTuples."device105.container1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004005" + AR_TKN_U32_CONAINER_CAPABILITY_ID "0x0B001001" + AR_TKN_U32_CONAINER_STACK_SIZE "8192" + AR_TKN_U32_CONAINER_GRAPH_POS "0x1" + AR_TKN_U32_CONAINER_PROC_DOMAIN "0x2" + } +} + +SectionData."device105.container1_data" { + tuples "device105.container1_tuples" +} + +SectionVendorTuples."device105.logger1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "0x00006050" + AR_TKN_U32_MODULE_ID "0x0700101A" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "0x00006050" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24657" + AR_TKN_U32_MODULE_LOG_CODE "0x000019ab" + AR_TKN_U32_MODULE_LOG_TAP_POINT_ID "1" + AR_TKN_U32_MODULE_LOG_MODE "0" + } +} + +SectionData."device105.logger1_data" { + tuples "device105.logger1_tuples" +} + +SectionWidget."device105.logger1" { + index "1" + type "buffer" + no_pm "true" + subseq "10" + data [ + "device105.sub_graph1_data" + "device105.container1_data" + "device105.logger1_data" + ] +} + +SectionVendorTuples."device105.codec_dma_rx1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24657" + AR_TKN_U32_MODULE_ID "0x07001023" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "0" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "0" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "0" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24657" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "0x0" + AR_TKN_U32_MODULE_HW_IF_TYPE "2" + AR_TKN_U32_MODULE_HW_IF_IDX "1" + AR_TKN_U32_MODULE_FMT_DATA "1" + } +} + +SectionData."device105.codec_dma_rx1_data" { + tuples "device105.codec_dma_rx1_tuples" +} + +SectionWidget."device105.codec_dma_rx1" { + index "1" + type "aif_in" + no_pm "true" + stream_name "WSA_CODEC_DMA_RX_0 Playback" + subseq "10" + data [ + "device105.sub_graph1_data" + "device105.container1_data" + "device105.codec_dma_rx1_data" + ] +} + +SectionGraph."device105.1 WSA_CODEC_DMA_RX_0 Graph" { + index "1" + lines [ + "device105.logger1, , WSA_CODEC_DMA_RX_0 Audio Mixer" + "device105.codec_dma_rx1, , device105.logger1" + "WSA_CODEC_DMA_RX_0 Playback, , device105.codec_dma_rx1" + ] +} + + + + + + + + + # +# SubGraph for Device Backend +# +# ______________________ +# | Sub Graph | +# | [LOG] -> [DEVICE EP] | +# |______________________| + + + + + + + +SectionVendorTuples."device113.sub_graph1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004007" + AR_TKN_DAI_INDEX "113" + AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" + AR_TKN_U32_SUB_GRAPH_DIRECTION "0x1" + AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x1" + } +} + +SectionData."device113.sub_graph1_data" { + tuples "device113.sub_graph1_tuples" +} + +SectionVendorTuples."device113.container1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004007" + AR_TKN_U32_CONAINER_CAPABILITY_ID "0x0B001001" + AR_TKN_U32_CONAINER_STACK_SIZE "8192" + AR_TKN_U32_CONAINER_GRAPH_POS "0x1" + AR_TKN_U32_CONAINER_PROC_DOMAIN "0x2" + } +} + +SectionData."device113.container1_data" { + tuples "device113.container1_tuples" +} + +SectionVendorTuples."device113.logger1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "0x00006070" + AR_TKN_U32_MODULE_ID "0x0700101A" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "0x00006070" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24689" + AR_TKN_U32_MODULE_LOG_CODE "0x000019ab" + AR_TKN_U32_MODULE_LOG_TAP_POINT_ID "1" + AR_TKN_U32_MODULE_LOG_MODE "0" + } +} + +SectionData."device113.logger1_data" { + tuples "device113.logger1_tuples" +} + +SectionWidget."device113.logger1" { + index "1" + type "buffer" + no_pm "true" + subseq "10" + data [ + "device113.sub_graph1_data" + "device113.container1_data" + "device113.logger1_data" + ] +} + +SectionVendorTuples."device113.codec_dma_rx1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24689" + AR_TKN_U32_MODULE_ID "0x07001023" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "0" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "0" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "0" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24689" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "0x0" + AR_TKN_U32_MODULE_HW_IF_TYPE "1" + AR_TKN_U32_MODULE_HW_IF_IDX "1" + AR_TKN_U32_MODULE_FMT_DATA "1" + } +} + +SectionData."device113.codec_dma_rx1_data" { + tuples "device113.codec_dma_rx1_tuples" +} + +SectionWidget."device113.codec_dma_rx1" { + index "1" + type "aif_in" + no_pm "true" + stream_name "RX_CODEC_DMA_RX_0 Playback" + subseq "10" + data [ + "device113.sub_graph1_data" + "device113.container1_data" + "device113.codec_dma_rx1_data" + ] +} + +SectionGraph."device113.1 RX_CODEC_DMA_RX_0 Graph" { + index "1" + lines [ + "device113.logger1, , RX_CODEC_DMA_RX_0 Audio Mixer" + "device113.codec_dma_rx1, , device113.logger1" + "RX_CODEC_DMA_RX_0 Playback, , device113.codec_dma_rx1" + ] +} + + + + + + + + + # +# SubGraph for Device Backend +# +# ___________________________ +# | Sub Graph | +# [KControl]->| [DEVICE-TX] <- [LOGGER] | +# Switch |__________________________| + + + + + +SectionVendorTuples."device110.sub_graph1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004008" + AR_TKN_DAI_INDEX "110" + AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" + AR_TKN_U32_SUB_GRAPH_DIRECTION "0x1" + AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x2" + } +} + +SectionData."device110.sub_graph1_data" { + tuples "device110.sub_graph1_tuples" +} + + +SectionVendorTuples."device110.container1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004008" + AR_TKN_U32_CONAINER_CAPABILITY_ID "0x0B001001" + AR_TKN_U32_CONAINER_STACK_SIZE "8192" + AR_TKN_U32_CONAINER_GRAPH_POS "0x4" + AR_TKN_U32_CONAINER_PROC_DOMAIN "0x2" + } +} + +SectionData."device110.container1_data" { + tuples "device110.container1_tuples" +} + + +SectionVendorTuples."device110.codec_dma_tx1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "0x00006080" + AR_TKN_U32_MODULE_ID "0x07001024" + AR_TKN_U32_MODULE_MAX_IP_PORTS "0" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "0" + AR_TKN_U32_MODULE_OUT_PORTS "2" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "0x00006080" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24705" + AR_TKN_U32_MODULE_HW_IF_TYPE "3" + AR_TKN_U32_MODULE_HW_IF_IDX "1" + AR_TKN_U32_MODULE_FMT_DATA "1" + } +} + +SectionData."device110.codec_dma_tx1_data" { + tuples "device110.codec_dma_tx1_tuples" +} + +SectionWidget."device110.codec_dma_tx1" { + index "1" + type "aif_out" + no_pm "true" + stream_name "VA_CODEC_DMA_TX_0 Capture" + subseq "10" + data [ + "device110.sub_graph1_data" + "device110.container1_data" + "device110.codec_dma_tx1_data" + ] +} + +SectionVendorTuples."device110.logger1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24705" + AR_TKN_U32_MODULE_ID "0x0700101A" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24705" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "0x0" + AR_TKN_U32_MODULE_LOG_CODE "0x000019ab" + AR_TKN_U32_MODULE_LOG_TAP_POINT_ID "1" + AR_TKN_U32_MODULE_LOG_MODE "0" + } +} + +SectionData."device110.logger1_data" { + tuples "device110.logger1_tuples" +} + +SectionWidget."device110.logger1" { + index "1" + type "buffer" + no_pm "true" + subseq "10" + data [ + "device110.sub_graph1_data" + "device110.container1_data" + "device110.logger1_data" + ] +} + +SectionControlMixer."VA_CODEC_DMA_TX_0" { + reg "-1" + index "1" + max "1" + invert "false" + + channel."fl" { + reg "-1" + max "1" + } + + ops."ctl" { + get "256" + put "256" + info "1" + } + + data [ + "device110.sub_graph1_data" + ] +} + +SectionGraph."device110.1 VA_CODEC_DMA_TX_0 Graph" { + index "1" + lines [ + "device110.codec_dma_tx1, , VA_CODEC_DMA_TX_0 Capture" + "device110.logger1, , device110.codec_dma_tx1" + ] +} + + + + + + + + # +# SubGraph for Device Backend +# +# ___________________________ +# | Sub Graph | +# [KControl]->| [DEVICE-TX] <- [LOGGER] | +# Switch |__________________________| + + + + + +SectionVendorTuples."device120.sub_graph1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_SUB_GRAPH_INSTANCE_ID "0x00004009" + AR_TKN_DAI_INDEX "120" + AR_TKN_U32_SUB_GRAPH_PERF_MODE "0x2" + AR_TKN_U32_SUB_GRAPH_DIRECTION "0x1" + AR_TKN_U32_SUB_GRAPH_SCENARIO_ID "0x2" + } +} + +SectionData."device120.sub_graph1_data" { + tuples "device120.sub_graph1_tuples" +} + + +SectionVendorTuples."device120.container1_tuples" { + tokens "audioreach_tokens" + tuples."word.u32_data" { + AR_TKN_U32_CONAINER_INSTANCE_ID "0x00004009" + AR_TKN_U32_CONAINER_CAPABILITY_ID "0x0B001001" + AR_TKN_U32_CONAINER_STACK_SIZE "8192" + AR_TKN_U32_CONAINER_GRAPH_POS "0x4" + AR_TKN_U32_CONAINER_PROC_DOMAIN "0x2" + } +} + +SectionData."device120.container1_data" { + tuples "device120.container1_tuples" +} + + +SectionVendorTuples."device120.codec_dma_tx1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "0x00006090" + AR_TKN_U32_MODULE_ID "0x07001024" + AR_TKN_U32_MODULE_MAX_IP_PORTS "0" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "0" + AR_TKN_U32_MODULE_OUT_PORTS "2" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "0x00006090" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "24721" + AR_TKN_U32_MODULE_HW_IF_TYPE "1" + AR_TKN_U32_MODULE_HW_IF_IDX "4" + AR_TKN_U32_MODULE_FMT_DATA "1" + } +} + +SectionData."device120.codec_dma_tx1_data" { + tuples "device120.codec_dma_tx1_tuples" +} + +SectionWidget."device120.codec_dma_tx1" { + index "1" + type "aif_out" + no_pm "true" + stream_name "TX_CODEC_DMA_TX_3 Capture" + subseq "10" + data [ + "device120.sub_graph1_data" + "device120.container1_data" + "device120.codec_dma_tx1_data" + ] +} + +SectionVendorTuples."device120.logger1_tuples" { + tokens "audioreach_tokens" + + tuples."word.u32_data" { + AR_TKN_U32_MODULE_INSTANCE_ID "24721" + AR_TKN_U32_MODULE_ID "0x0700101A" + AR_TKN_U32_MODULE_MAX_IP_PORTS "1" + AR_TKN_U32_MODULE_MAX_OP_PORTS "1" + AR_TKN_U32_MODULE_IN_PORTS "2" + AR_TKN_U32_MODULE_OUT_PORTS "1" + AR_TKN_U32_MODULE_SRC_OP_PORT_ID "1" + AR_TKN_U32_MODULE_DST_IN_PORT_ID "2" + AR_TKN_U32_MODULE_SRC_INSTANCE_ID "24721" + AR_TKN_U32_MODULE_DST_INSTANCE_ID "0x0" + AR_TKN_U32_MODULE_LOG_CODE "0x000019ab" + AR_TKN_U32_MODULE_LOG_TAP_POINT_ID "1" + AR_TKN_U32_MODULE_LOG_MODE "0" + } +} + +SectionData."device120.logger1_data" { + tuples "device120.logger1_tuples" +} + +SectionWidget."device120.logger1" { + index "1" + type "buffer" + no_pm "true" + subseq "10" + data [ + "device120.sub_graph1_data" + "device120.container1_data" + "device120.logger1_data" + ] +} + +SectionControlMixer."TX_CODEC_DMA_TX_3" { + reg "-1" + index "1" + max "1" + invert "false" + + channel."fl" { + reg "-1" + max "1" + } + + ops."ctl" { + get "256" + put "256" + info "1" + } + + data [ + "device120.sub_graph1_data" + ] +} + +SectionGraph."device120.1 TX_CODEC_DMA_TX_3 Graph" { + index "1" + lines [ + "device120.codec_dma_tx1, , TX_CODEC_DMA_TX_3 Capture" + "device120.logger1, , device120.codec_dma_tx1" + ] +} + + + +SectionWidget."WSA_CODEC_DMA_RX_0 Audio Mixer" { + reg "-1" + index "105" + type "mixer" + + mixer [ + + MultiMedia2 + MultiMedia1 + ] + + data [ + "device105.sub_graph1_data" + ] +} + +SectionWidget."RX_CODEC_DMA_RX_0 Audio Mixer" { + reg "-1" + index "113" + type "mixer" + + mixer [ + + MultiMedia2 + MultiMedia1 + ] + + data [ + "device113.sub_graph1_data" + ] +} + + + +SectionGraph."WSA_CODEC_DMA_RX_0 Audio Mixer Graph" { + index "105" + lines [ + + "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream1.logger1" + "WSA_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream0.logger1" + ] +} + + +SectionGraph."RX_CODEC_DMA_RX_0 Audio Mixer Graph" { + index "113" + lines [ + + "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia2, stream1.logger1" + "RX_CODEC_DMA_RX_0 Audio Mixer, MultiMedia1, stream0.logger1" + ] +} + + +SectionWidget."MultiMedia3 Mixer" { + reg "-1" + index "2" + type "mixer" + + mixer [ + + TX_CODEC_DMA_TX_3 + VA_CODEC_DMA_TX_0 + ] + + data [ + "stream2.sub_graph1_data" + ] +} + +SectionWidget."MultiMedia4 Mixer" { + reg "-1" + index "3" + type "mixer" + + mixer [ + + TX_CODEC_DMA_TX_3 + VA_CODEC_DMA_TX_0 + ] + + data [ + "stream3.sub_graph1_data" + ] +} + + +SectionGraph."MultiMedia3 Mixer Graph" { + index "2" + lines [ + + "MultiMedia3 Mixer, TX_CODEC_DMA_TX_3, device120.logger1" + "MultiMedia3 Mixer, VA_CODEC_DMA_TX_0, device110.logger1" + ] +} + + +SectionGraph."MultiMedia4 Mixer Graph" { + index "3" + lines [ + + "MultiMedia4 Mixer, TX_CODEC_DMA_TX_3, device120.logger1" + "MultiMedia4 Mixer, VA_CODEC_DMA_TX_0, device110.logger1" + ] +} |