Currently pcm can only handle one format, this change adds support to
allow passing multiple formats from the macro which are comma seperated.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Add new LPAIF interface types that are supported by the DSP.
For more info:
7a76df6776/spf/api/modules/hw_intf_cmn_api.h (L36)
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
For some reason we ended up with incorrect stream name for the i2s
module, the stream prefix is in 13th param.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
AR_MODULE_LOG does not take src-mod and dst-mod arguments, so drop them
from a function call description (comment) and add missing arguments.
No functional change, just documentation update.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Drop redundant white-space (e.g. trailing) and replace tabs with spaces
in indentation to match the rest of files.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Looks like there is a leftover from old code, AR_TKN_U32_MODULE_IN_PORTS
and AR_TKN_U32_MODULE_OUT_PORTS is reduntant to
AR_TKN_U32_MODULE_SRC_OP_PORT_ID* and AR_TKN_U32_MODULE_DST_IN_PORT_ID*
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Subgraphs undefine all definitions which they later re-define so add few
missing undefines for MOD_INDEX and actual module IDs. No functional
effect, because redefines will fine anyway.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subgraphs undefine all definitions which they later re-define. Fix typo
in DEVICE_DIRECTION define name when undefining it. No functional
effect, because redefines will fine anyway.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Update the compress graph to pass the correct container ID for LPASS v11
or newer.
While at this, also use CONT_STACK_SIZE define.
Suggested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org>
Update the DisplayPort graphs to pass correct container ID for LPASS v11
or newer, just like we do for other playback graphs.
Fixes: 81a74f825f ("audioreach: add support for LPASS v11.0.0")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Codec dma device graph would need an mfc for device
pre processing like channel mapping and so.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Just like other macros, this one defines at the top variables CONT_CAP
and CONT_STACK_SIZE, so use them for AR_CONTAINER() arguments instead of
their values.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Container Id is not correctly setup for new version of LPASS, fix this.
Fixes: 81a74f825f ("audioreach: add support for LPASS v11.0.0")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
LPASS v11.0.0 breaks backward compatibility and legacy container
capability IDs are not working anymore. Add a trailing argument to
stream-subgraph.m4 with LPASS compatibility version. If v11.0.0 is
requested, use new defines for container capability ID.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
some of the tokens are unused and misleading so clean them up
by adding proper prefix indicating correct context.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
src and dest module iids can be derived directly from route so these properties are totally redundant
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>