From 49c8b59e809370c9388f5a915b5e17ced1708493 Mon Sep 17 00:00:00 2001 From: Bartosz Kokoszko Date: Mon, 12 Aug 2019 11:28:37 +0200 Subject: [PATCH] topology: add sof_ipc_comp_smart_amp struct Add SOF_COMP_SMART_AMP type for smart amp component. Basic topology using smart amplifier component could be as follows: +------------------------------------------+ +------+ | +---+ +-------------+ +---+ +-------+ | | Host |----->|Buf|->| Smart Amp |->|Buf|->|SSP Dai|-----------+ +------+ | +---+ +-------------+ +---+ +-------+ | | +-----------------^------------------------+ | | | +---+ | |Buf| | +---+ | ^ | +-----------------|--------------------------+ | +------+ | +---+ +--------|------+ +---+ +-------+ | | | Host |<-----|Buf|<-| Demux |<-|Buf|<-|SSP Dai|<--------+ +------+ | +---+ +---------------+ +---+ +-------+ | +--------------------------------------------+ Basic topology contains Smart Amp component in playback pipeline and Demux component in capture pipeline. There is a additional buffer (feedback) between them in order to process "feedback". Signed-off-by: Bartosz Kokoszko --- src/include/ipc/topology.h | 1 + src/include/kernel/abi.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/ipc/topology.h b/src/include/ipc/topology.h index eab722262a74..58c9074ab0ab 100644 --- a/src/include/ipc/topology.h +++ b/src/include/ipc/topology.h @@ -46,6 +46,7 @@ enum sof_comp_type { SOF_COMP_DEMUX, SOF_COMP_ASRC, /**< Asynchronous sample rate converter */ SOF_COMP_DCBLOCK, + SOF_COMP_SMART_AMP, /**< smart amplifier component */ /* keep FILEREAD/FILEWRITE as the last ones */ SOF_COMP_FILEREAD = 10000, /**< host test based file IO */ SOF_COMP_FILEWRITE = 10001, /**< host test based file IO */ diff --git a/src/include/kernel/abi.h b/src/include/kernel/abi.h index 0e3dc57762c2..792d253fe397 100644 --- a/src/include/kernel/abi.h +++ b/src/include/kernel/abi.h @@ -29,7 +29,7 @@ /** \brief SOF ABI version major, minor and patch numbers */ #define SOF_ABI_MAJOR 3 -#define SOF_ABI_MINOR 15 +#define SOF_ABI_MINOR 16 #define SOF_ABI_PATCH 0 /** \brief SOF ABI version number. Format within 32bit word is MMmmmppp */