topology: add C_CONTROL to codec processing topology

This patch extends codec processing topology with C_CONTROLS
which comprises of SETUP configuration for both SoF component
and CADENCE codec.

Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
This commit is contained in:
Marcin Rajwa 2020-09-30 18:03:48 +02:00 committed by Liam Girdwood
parent aacbe98768
commit a6a11d8e65
1 changed files with 42 additions and 0 deletions

View File

@ -15,6 +15,48 @@ include(`bytecontrol.m4')
ifdef(`PP_CORE',`', `define(`PP_CORE', 1)')
#
# Controls
#
# Post process setup config
CONTROLBYTES_PRIV(PP_SETUP_CONFIG,
` bytes "0x53,0x4f,0x46,0x00,0x00,0x00,0x00,0x00,'
` 0x5C,0x00,0x00,0x00,0x00,0x10,0x00,0x03,'
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
` 0x01,0x01,0xDE,0xCA,0x00,0x00,0x00,0x00,'
` 0x80,0xBB,0x00,0x00,0x20,0x00,0x00,0x00,'
` 0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
` 0x0C,0x00,0x00,0x00,0x40,0x00,0x00,0x00,'
` 0x01,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,'
` 0x80,0xBB,0x00,0x00,0x02,0x00,0x00,0x00,'
` 0x0C,0x00,0x00,0x00,0x20,0x00,0x00,0x00,'
` 0x03,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,'
` 0x01,0x00,0x00,0x00,0x04,0x00,0x00,0x00,'
` 0x0C,0x00,0x00,0x00,0x02,0x00,0x00,0x00,'
` 0x05,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,'
` 0x02,0x00,0x00,0x00"'
)
# Post process Bytes control for setup config
C_CONTROLBYTES(Post Process Setup Config, PIPELINE_ID,
CONTROLBYTES_OPS(bytes),
CONTROLBYTES_EXTOPS(void, 258, 258),
, , ,
CONTROLBYTES_MAX(void, 300),
,
PP_SETUP_CONFIG)
# Post process runtime params
CONTROLBYTES_PRIV(PP_RUNTIME_PARAMS,
` bytes "0x53,0x4f,0x46,0x00,0x01,0x00,0x00,0x00,'
` 0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x03,'
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00"'
)
#
# Components and Buffers
#