From c132ba2517cc370befc0b397bce7e9741810917b Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla Date: Wed, 31 Mar 2021 13:41:08 +0100 Subject: ASoC: topology: add audioreach intial topology Signed-off-by: Srinivas Kandagatla --- topology/audioreach/audioreach.conf | 1134 +++++++++++++++++++++++++++++++++++ 1 file changed, 1134 insertions(+) create mode 100644 topology/audioreach/audioreach.conf diff --git a/topology/audioreach/audioreach.conf b/topology/audioreach/audioreach.conf new file mode 100644 index 0000000..84db76c --- /dev/null +++ b/topology/audioreach/audioreach.conf @@ -0,0 +1,1134 @@ +SectionVendorTokens."audio_reach_tokens" { + AUDIOREACH_TKN_U16_GAIN "1" + AUDIOREACH_TKN_U32_SUB_GRAPH_ID "2" + AUDIOREACH_TKN_U32_CONAINER_ID "3" + AUDIOREACH_TKN_U32_MODULE_ID "4" + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "5" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "6" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "7" + AUDIOREACH_TKN_U32_IN_PORTS "8" + AUDIOREACH_TKN_U32_OUT_PORTS "9" + AUDIOREACH_TKN_U32_HW_IF_IDX "10" + AUDIOREACH_TKN_U32_SD_LINE_IDX "11" + AUDIOREACH_TKN_U32_WS_SRC "12" + AUDIOREACH_TKN_U32_FRAME_SZ_FACTOR "13" + AUDIOREACH_TKN_U32_FMT_INTERLEAVE "14" + AUDIOREACH_TKN_U32_FMT_DATA "15" + AUDIOREACH_TKN_U32_FMT_CH "16" + AUDIOREACH_TKN_U32_FMT_FREQ "17" + AUDIOREACH_TKN_U32_FMT_BIT_DEPTH "18" + AUDIOREACH_TKN_U32_FMT_CH_CONFIG "19" + AUDIOREACH_TKN_U32_FMT_SAMPLE_TYPE "20" + AUDIOREACH_TKN_U32_FMT_CH_MAP "21" + AUDIOREACH_TKN_U32_CAPABILITY_ID "22" + AUDIOREACH_TKN_U32_GRAPH_POS "23" + AUDIOREACH_TKN_U32_STACK_SIZE "24" + AUDIOREACH_TKN_U32_PROC_DOMAIN "25" + AUDIOREACH_TKN_U32_PERF_MODE "26" + AUDIOREACH_TKN_U32_SCENARIO_ID "27" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "28" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "29" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "30" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "31" + AUDIOREACH_TKN_U32_LOG_CODE "32" + AUDIOREACH_TKN_U32_LOG_TAP_POINT_ID "33" + AUDIOREACH_TKN_U32_LOG_MODE "34" + AUDIOREACH_TKN_U32_HW_IF_TYPE "35" + AUDIOREACH_TKN_U32_SG_DIRECTION "36" + AUDIOREACH_TKN_U32_NUM_SUB_GRAPHS "37" + AUDIOREACH_TKN_U32_NUM_CONTAINERS "38" + AUDIOREACH_TKN_U32_NUM_MODULES "39" + AUDIOREACH_TKN_U32_INTERFACE_TYPE "40" + AUDIOREACH_TKN_U32_GRAPH_ID "41" +} + +##FrontEnd PCM0 Graph + +SectionVendorTuples."media0_out g0" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_GRAPH_ID "0x1" + AUDIOREACH_TKN_U32_NUM_SUB_GRAPHS "0x1" + } +} + +SectionData."media0_out g0" { + tuples "media0_out g0" +} + +SectionVendorTuples."media0_out sg0" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_SUB_GRAPH_ID "0x00004001" + AUDIOREACH_TKN_U32_PERF_MODE "0x2" + AUDIOREACH_TKN_U32_SG_DIRECTION "0x2" + AUDIOREACH_TKN_U32_SCENARIO_ID "0x1" + AUDIOREACH_TKN_U32_NUM_CONTAINERS "0x1" + } +} + +SectionData."media0_out sg0" { + tuples "media0_out sg0" +} + +SectionVendorTuples."media0_out cont0" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_CONAINER_ID "0x00004001" + AUDIOREACH_TKN_U32_CAPABILITY_ID "0x2" + AUDIOREACH_TKN_U32_STACK_SIZE "8192" + AUDIOREACH_TKN_U32_GRAPH_POS "0x1" + AUDIOREACH_TKN_U32_PROC_DOMAIN "2" + AUDIOREACH_TKN_U32_NUM_MODULES "0x4" + } +} + +SectionData."media0_out cont0" { + tuples "media0_out cont0" +} + +SectionVendorTuples."media0_out wrsh" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006001" + AUDIOREACH_TKN_U32_MODULE_ID "0x07001000" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000000" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000000" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x00006002" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + } +} + +SectionData."media0_out wrsh" { + tuples "media0_out wrsh" +} + +SectionWidget."media0_out wrsh" { + index"0" + type"aif_in" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media0_out g0" + "media0_out sg0" + "media0_out cont0" + "media0_out wrsh" + ] +} + +SectionVendorTuples."media0_out pcmdec0" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006002" + AUDIOREACH_TKN_U32_MODULE_ID "0x07001005" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006001" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x00006003" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + AUDIOREACH_TKN_U32_FMT_INTERLEAVE "0x00000001" + } +} + +SectionData."media0_out pcmdec0" { + tuples "media0_out pcmdec0" +} + +SectionWidget."media0_out pcmdec0" { + index"0" + type "mux" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media0_out g0" + "media0_out sg0" + "media0_out cont0" + "media0_out pcmdec0" + ] +} + +SectionVendorTuples."media0_out pcmcnv0" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006003" + AUDIOREACH_TKN_U32_MODULE_ID "0x07001003" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006002" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x00006004" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + AUDIOREACH_TKN_U32_FMT_INTERLEAVE "0x00000003" + } +} + +SectionData."media0_out pcmcnv0" { + tuples "media0_out pcmcnv0" +} + +SectionWidget."media0_out pcmcnv0" { + index"0" + type"mux" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media0_out g0" + "media0_out sg0" + "media0_out cont0" + "media0_out pcmcnv0" + ] +} + + +SectionVendorTuples."media0_out log0" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006004" + AUDIOREACH_TKN_U32_MODULE_ID "0x0700101A" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006003" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x00006005" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + AUDIOREACH_TKN_U32_LOG_CODE "0x000019af" + AUDIOREACH_TKN_U32_LOG_TAP_POINT_ID "0x00000001" + AUDIOREACH_TKN_U32_LOG_MODE "0x00000000" + } +} + +SectionData."media0_out log0" { + tuples "media0_out log0" +} + +SectionWidget."media0_out log0" { + index"0" + type"mux" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media0_out g0" + "media0_out sg0" + "media0_out cont0" + "media0_out log0" + ] +} + +##BackEnd WCD Graph on RX_CODEC_DMA_RX_0 +SectionVendorTuples."media0_out wcdg0" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_GRAPH_ID "113" + AUDIOREACH_TKN_U32_NUM_SUB_GRAPHS "0x1" + } +} + +SectionData."media0_out wcdg0" { + tuples "media0_out wcdg0" +} + +SectionVendorTuples."media0_out sg1" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_SUB_GRAPH_ID "0x00004002" + AUDIOREACH_TKN_U32_PERF_MODE "0x2" + AUDIOREACH_TKN_U32_SG_DIRECTION "0x1" + AUDIOREACH_TKN_U32_SCENARIO_ID "0x1" + AUDIOREACH_TKN_U32_NUM_CONTAINERS "0x1" + } +} + +SectionData."media0_out sg1" { + tuples "media0_out sg1" +} + + +SectionVendorTuples."media0_out cont1" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_CONAINER_ID "0x00004002" + AUDIOREACH_TKN_U32_CAPABILITY_ID "0x3" + AUDIOREACH_TKN_U32_STACK_SIZE "8192" + AUDIOREACH_TKN_U32_GRAPH_POS "0x4" + AUDIOREACH_TKN_U32_PROC_DOMAIN "2" + AUDIOREACH_TKN_U32_NUM_MODULES "0x2" + } +} + +SectionData."media0_out cont1" { + tuples "media0_out cont1" +} + +SectionVendorTuples."media0_out log1" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006005" + AUDIOREACH_TKN_U32_MODULE_ID "0x0700101A" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006004" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x00006006" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + AUDIOREACH_TKN_U32_LOG_CODE "0x00001586" + AUDIOREACH_TKN_U32_LOG_TAP_POINT_ID "0x00000002" + AUDIOREACH_TKN_U32_LOG_MODE "0x00000000" + } +} + +SectionData."media0_out log1" { + tuples "media0_out log1" +} + +SectionWidget."media0_out log1" { + index"0" + type"mux" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media0_out wcdg0" + "media0_out sg1" + "media0_out cont1" + "media0_out log1" + ] +} + +##RX_CODEC_DMA_RX_0 +SectionVendorTuples."media0_out wcd" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006006" + AUDIOREACH_TKN_U32_MODULE_ID "0x07001023" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000000" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000000" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006005" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_HW_IF_TYPE "0x00000001" + AUDIOREACH_TKN_U32_HW_IF_IDX "0x00000001" + AUDIOREACH_TKN_U32_FMT_DATA "0x00000001" + } +} + +SectionData."media0_out wcd" { + tuples "media0_out wcd" +} + +SectionWidget."media0_out wcd" { + index"0" + type"out_drv" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media0_out wcdg0" + "media0_out sg1" + "media0_out cont1" + "media0_out wcd" + ] +} + +###BackEnd for WCD TX on TX_CODEC_DMA_TX_3 + +SectionVendorTuples."media1_in wcdg0" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_GRAPH_ID "120" + AUDIOREACH_TKN_U32_NUM_SUB_GRAPHS "0x1" + } +} + +SectionData."media1_in wcdg0" { + tuples "media1_in wcdg0" +} + +SectionVendorTuples."media1_in wcdsg0" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_SUB_GRAPH_ID "0x00004003" + AUDIOREACH_TKN_U32_PERF_MODE "0x2" + AUDIOREACH_TKN_U32_SG_DIRECTION "0x1" + AUDIOREACH_TKN_U32_SCENARIO_ID "0x2" + AUDIOREACH_TKN_U32_NUM_CONTAINERS "0x1" + } +} + +SectionData."media1_in wcdsg0" { + tuples "media1_in wcdsg0" +} + +SectionVendorTuples."media1_in cont0" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_CONAINER_ID "0x00004003" + AUDIOREACH_TKN_U32_CAPABILITY_ID "0x3" + AUDIOREACH_TKN_U32_STACK_SIZE "8192" + AUDIOREACH_TKN_U32_GRAPH_POS "0x4" + AUDIOREACH_TKN_U32_PROC_DOMAIN "2" + AUDIOREACH_TKN_U32_NUM_MODULES "0x4" + } +} + +SectionData."media1_in cont0" { + tuples "media1_in cont0" +} + + +SectionVendorTuples."media1_in tx0" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006007" + AUDIOREACH_TKN_U32_MODULE_ID "0x07001024" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000000" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000000" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000002" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x00006008" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + AUDIOREACH_TKN_U32_HW_IF_TYPE "0x00000001" + AUDIOREACH_TKN_U32_HW_IF_IDX "0x00000004" + AUDIOREACH_TKN_U32_FMT_DATA "0x00000001" + } +} + +SectionData."media1_in tx0" { + tuples "media1_in tx0" +} + +SectionWidget."media1_in tx0" { + index"0" + type"out_drv" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media1_in wcdg0" + "media1_in wcdsg0" + "media1_in cont0" + "media1_in tx0" + ] +} + +SectionVendorTuples."media1_in pcmenc0" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006008" + AUDIOREACH_TKN_U32_MODULE_ID "0x07001004" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006007" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x00006009" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + AUDIOREACH_TKN_U32_FMT_INTERLEAVE "0x00000001" + } +} + +SectionData."media1_in pcmenc0" { + tuples "media1_in pcmenc0" +} + +SectionWidget."media1_in pcmenc0" { + index"0" + type "mux" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media1_in wcdg0" + "media1_in wcdsg0" + "media1_in cont0" + "media1_in pcmenc0" + ] +} + +SectionVendorTuples."media1_in pcmcnv0" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006009" + AUDIOREACH_TKN_U32_MODULE_ID "0x07001003" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006008" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x00006011" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + AUDIOREACH_TKN_U32_FMT_INTERLEAVE "0x00000003" + } +} + +SectionData."media1_in pcmcnv0" { + tuples "media1_in pcmcnv0" +} + +SectionWidget."media1_in pcmcnv0" { + index"0" + type"mux" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media1_in wcdg0" + "media1_in wcdsg0" + "media1_in cont0" + "media1_in pcmcnv0" + ] +} + +SectionVendorTuples."media1_in log0" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006011" + AUDIOREACH_TKN_U32_MODULE_ID "0x0700101A" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006009" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x00006012" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + AUDIOREACH_TKN_U32_LOG_CODE "0x000019af" + AUDIOREACH_TKN_U32_LOG_TAP_POINT_ID "0x00000001" + AUDIOREACH_TKN_U32_LOG_MODE "0x00000000" + } +} + +SectionData."media1_in log0" { + tuples "media1_in log0" +} + +SectionWidget."media1_in log0" { + index"0" + type"mux" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media1_in wcdg0" + "media1_in wcdsg0" + "media1_in cont0" + "media1_in log0" + ] +} + +##FrontEnd PCM1 Graph +SectionVendorTuples."media1_in wcdg1" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_GRAPH_ID "0x2" + AUDIOREACH_TKN_U32_NUM_SUB_GRAPHS "0x1" + } +} + +SectionData."media1_in wcdg1" { + tuples "media1_in wcdg1" +} + +SectionVendorTuples."media1_in wcdsg1" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_SUB_GRAPH_ID "0x00004004" + AUDIOREACH_TKN_U32_PERF_MODE "0x2" + AUDIOREACH_TKN_U32_SG_DIRECTION "0x1" + AUDIOREACH_TKN_U32_SCENARIO_ID "0x2" + AUDIOREACH_TKN_U32_NUM_CONTAINERS "0x1" + } +} + +SectionData."media1_in wcdsg1" { + tuples "media1_in wcdsg1" +} + + +SectionVendorTuples."media1_in cont1" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_CONAINER_ID "0x00004004" + AUDIOREACH_TKN_U32_CAPABILITY_ID "0x2" + AUDIOREACH_TKN_U32_STACK_SIZE "8192" + AUDIOREACH_TKN_U32_GRAPH_POS "0x4" + AUDIOREACH_TKN_U32_PROC_DOMAIN "2" + AUDIOREACH_TKN_U32_NUM_MODULES "0x4" + } +} + +SectionData."media1_in cont1" { + tuples "media1_in cont1" +} + +SectionVendorTuples."media1_in log1" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006012" + AUDIOREACH_TKN_U32_MODULE_ID "0x0700101A" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006011" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x00006013" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + AUDIOREACH_TKN_U32_LOG_CODE "0x00001586" + AUDIOREACH_TKN_U32_LOG_TAP_POINT_ID "0x00000002" + AUDIOREACH_TKN_U32_LOG_MODE "0x00000000" + } +} + +SectionData."media1_in log1" { + tuples "media1_in log1" +} + +SectionWidget."media1_in log1" { + index"0" + type"mux" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media1_in wcdg1" + "media1_in wcdsg1" + "media1_in cont1" + "media1_in log1" + ] +} + +SectionVendorTuples."media1_in pcmcnv1" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006013" + AUDIOREACH_TKN_U32_MODULE_ID "0x07001003" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006012" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x00006014" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + AUDIOREACH_TKN_U32_FMT_INTERLEAVE "0x00000001" + } +} + +SectionData."media1_in pcmcnv1" { + tuples "media1_in pcmcnv1" +} + +SectionWidget."media1_in pcmcnv1" { + index"0" + type"mux" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media1_in wcdg1" + "media1_in wcdsg1" + "media1_in cont1" + "media1_in pcmcnv1" + ] +} + +SectionVendorTuples."media1_in pcmenc1" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006014" + AUDIOREACH_TKN_U32_MODULE_ID "0x07001004" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006013" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x00006015" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + AUDIOREACH_TKN_U32_FMT_INTERLEAVE "0x00000001" + } +} + +SectionData."media1_in pcmenc1" { + tuples "media1_in pcmenc1" +} + +SectionWidget."media1_in pcmenc1" { + index"0" + type "mux" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media1_in wcdg1" + "media1_in wcdsg1" + "media1_in cont1" + "media1_in pcmenc1" + ] +} + +SectionVendorTuples."media1_in rdsh" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006015" + AUDIOREACH_TKN_U32_MODULE_ID "0x07001001" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000000" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000000" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006014" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + } +} + +SectionData."media1_in rdsh" { + tuples "media1_in rdsh" +} + +SectionWidget."media1_in rdsh" { + index"0" + type"aif_in" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media1_in wcdg1" + "media1_in wcdsg1" + "media1_in cont1" + "media1_in rdsh" + ] +} +########END Of WCD IN + +## FrontEnd PCM3 +SectionVendorTuples."media1_out g0" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_GRAPH_ID "0x3" + AUDIOREACH_TKN_U32_NUM_SUB_GRAPHS "0x1" + } +} + +SectionData."media1_out g0" { + tuples "media1_out g0" +} + +SectionVendorTuples."media1_out sg0" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_SUB_GRAPH_ID "0x00004005" + AUDIOREACH_TKN_U32_PERF_MODE "0x2" + AUDIOREACH_TKN_U32_SG_DIRECTION "0x2" + AUDIOREACH_TKN_U32_SCENARIO_ID "0x1" + AUDIOREACH_TKN_U32_NUM_CONTAINERS "0x1" + } +} + +SectionData."media1_out sg0" { + tuples "media1_out sg0" +} + +SectionVendorTuples."media1_out cont0" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_CONAINER_ID "0x00004005" + AUDIOREACH_TKN_U32_CAPABILITY_ID "0x2" + AUDIOREACH_TKN_U32_STACK_SIZE "8192" + AUDIOREACH_TKN_U32_GRAPH_POS "0x1" + AUDIOREACH_TKN_U32_PROC_DOMAIN "2" + AUDIOREACH_TKN_U32_NUM_MODULES "0x4" + } +} + +SectionData."media1_out cont0" { + tuples "media1_out cont0" +} + +SectionVendorTuples."media1_out wrsh" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006016" + AUDIOREACH_TKN_U32_MODULE_ID "0x07001000" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000000" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000000" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x00006017" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + } +} + +SectionData."media1_out wrsh" { + tuples "media1_out wrsh" +} + +SectionWidget."media1_out wrsh" { + index"0" + type"aif_in" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media1_out g0" + "media1_out sg0" + "media1_out cont0" + "media1_out wrsh" + ] +} + +SectionVendorTuples."media1_out pcmdec0" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006017" + AUDIOREACH_TKN_U32_MODULE_ID "0x07001005" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006016" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x00006018" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + AUDIOREACH_TKN_U32_FMT_INTERLEAVE "0x00000001" + } +} + +SectionData."media1_out pcmdec0" { + tuples "media1_out pcmdec0" +} + +SectionWidget."media1_out pcmdec0" { + index"0" + type "mux" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media1_out g0" + "media1_out sg0" + "media1_out cont0" + "media1_out pcmdec0" + ] +} + +SectionVendorTuples."media1_out pcmcnv0" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006018" + AUDIOREACH_TKN_U32_MODULE_ID "0x07001003" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006017" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x00006019" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + AUDIOREACH_TKN_U32_FMT_INTERLEAVE "0x00000003" + } +} + +SectionData."media1_out pcmcnv0" { + tuples "media1_out pcmcnv0" +} + +SectionWidget."media1_out pcmcnv0" { + index"0" + type"mux" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media1_out g0" + "media1_out sg0" + "media1_out cont0" + "media1_out pcmcnv0" + ] +} + + +SectionVendorTuples."media1_out log0" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x00006019" + AUDIOREACH_TKN_U32_MODULE_ID "0x0700101A" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006018" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x0000601a" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + AUDIOREACH_TKN_U32_LOG_CODE "0x000019af" + AUDIOREACH_TKN_U32_LOG_TAP_POINT_ID "0x00000001" + AUDIOREACH_TKN_U32_LOG_MODE "0x00000000" + } +} + +SectionData."media1_out log0" { + tuples "media1_out log0" +} + +SectionWidget."media1_out log0" { + index"0" + type"mux" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media1_out g0" + "media1_out sg0" + "media1_out cont0" + "media1_out log0" + ] +} + + +##BackEnd for WSA +SectionVendorTuples."media1_out wsag0" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_GRAPH_ID "105" + AUDIOREACH_TKN_U32_NUM_SUB_GRAPHS "0x1" + } +} + +SectionData."media1_out wsag0" { + tuples "media1_out wsag0" +} + +SectionVendorTuples."media1_out sg1" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_SUB_GRAPH_ID "0x00004006" + AUDIOREACH_TKN_U32_PERF_MODE "0x2" + AUDIOREACH_TKN_U32_SG_DIRECTION "0x1" + AUDIOREACH_TKN_U32_SCENARIO_ID "0x1" + AUDIOREACH_TKN_U32_NUM_CONTAINERS "0x1" + } +} + +SectionData."media1_out sg1" { + tuples "media1_out sg1" +} + +SectionVendorTuples."media1_out cont1" { + tokens "audio_reach_tokens" + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_CONAINER_ID "0x00004006" + AUDIOREACH_TKN_U32_CAPABILITY_ID "0x3" + AUDIOREACH_TKN_U32_STACK_SIZE "8192" + AUDIOREACH_TKN_U32_GRAPH_POS "0x4" + AUDIOREACH_TKN_U32_PROC_DOMAIN "2" + AUDIOREACH_TKN_U32_NUM_MODULES "0x2" + } +} + +SectionData."media1_out cont1" { + tuples "media1_out cont1" +} +SectionVendorTuples."media1_out log1" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x0000601a" + AUDIOREACH_TKN_U32_MODULE_ID "0x0700101A" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000001" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x00006019" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_DST_MODULE_INSTANCE_ID "0x0000601b" + AUDIOREACH_TKN_U32_DST_MODULE_IN_PORT_ID "0x00000002" + AUDIOREACH_TKN_U32_LOG_CODE "0x00001586" + AUDIOREACH_TKN_U32_LOG_TAP_POINT_ID "0x00000002" + AUDIOREACH_TKN_U32_LOG_MODE "0x00000000" + } +} + +SectionData."media1_out log1" { + tuples "media1_out log1" +} + +SectionWidget."media1_out log1" { + index"0" + type"mux" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media1_out wsag0" + "media1_out sg1" + "media1_out cont1" + "media1_out log1" + ] +} + +SectionVendorTuples."media1_out wsa" { + tokens "audio_reach_tokens" + + tuples."word.u32_data" { + AUDIOREACH_TKN_U32_MODULE_INSTANCE_ID "0x0000601b" + AUDIOREACH_TKN_U32_MODULE_ID "0x07001023" + AUDIOREACH_TKN_U32_MAX_IP_PORTS "0x00000001" + AUDIOREACH_TKN_U32_MAX_OP_PORTS "0x00000000" + AUDIOREACH_TKN_U32_IN_PORTS "0x00000002" + AUDIOREACH_TKN_U32_OUT_PORTS "0x00000000" + AUDIOREACH_TKN_U32_SRC_MODULE_INSTANCE_ID "0x0000601a" + AUDIOREACH_TKN_U32_SRC_MODULE_OP_PORT_ID "0x00000001" + AUDIOREACH_TKN_U32_HW_IF_TYPE "0x00000002" + AUDIOREACH_TKN_U32_HW_IF_IDX "0x00000001" + AUDIOREACH_TKN_U32_FMT_DATA "0x00000001" + } +} + +SectionData."media1_out wsa" { + tuples "media1_out wsa" +} + +SectionWidget."media1_out wsa" { + index"0" + type"out_drv" + no_pm "true" + event_type "1" + event_flags "15" + subseq "10" + data [ + "media1_out wsag0" + "media1_out sg1" + "media1_out cont1" + "media1_out wsa" + ] +} + +SectionPCMCapabilities."MultiMedia1 Playback" { + + formats "S24_LE,S16_LE" + rate_min "48000" + rate_max "48000" + channels_min "2" + channels_max "2" +} + +SectionPCM."MultiMedia1" { + + index "1" + + # used for binding to the PCM + id "1" + + dai."MultiMedia1" { + id "1" + } + + pcm."playback" { + capabilities "MultiMedia1 Playback" + } +} + +SectionPCMCapabilities."MultiMedia2 Capture" { + + formats "S24_LE,S16_LE" + rate_min "48000" + rate_max "48000" + channels_min "2" + channels_max "2" +} + +SectionPCM."MultiMedia2" { + + index "2" + + # used for binding to the PCM + id "2" + + dai."MultiMedia2" { + id "2" + } + + pcm."capture" { + capabilities "MultiMedia2 Capture" + } +} + +SectionPCMCapabilities."MultiMedia3 Playback" { + + formats "S24_LE,S16_LE" + rate_min "48000" + rate_max "48000" + channels_min "2" + channels_max "2" +} + +SectionPCM."MultiMedia3" { + + index "3" + + # used for binding to the PCM + id "3" + + dai."MultiMedia3" { + id "3" + } + + pcm."playback" { + capabilities "MultiMedia3 Playback" + } +} -- cgit v1.2.3