974c6faf76
Qualcomm Generic Packet router aka GPR is the IPC mechanism found in AudioReach next generation signal processing framework to perform command and response messages between various processors. GPR has concepts of static and dynamic port, all static services like APM (Audio Processing Manager), PRM (Proxy resource manager) have fixed port numbers where as dynamic services like graphs have dynamic port numbers which are allocated at runtime. All GPR packet messages will have source and destination domain and port along with opcode and payload. This support is added using existing APR driver to reuse most of the code. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210927135559.738-5-srinivas.kandagatla@linaro.org
20 lines
411 B
C
20 lines
411 B
C
/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
|
|
|
|
#ifndef __DT_BINDINGS_QCOM_GPR_H
|
|
#define __DT_BINDINGS_QCOM_GPR_H
|
|
|
|
/* DOMAINS */
|
|
|
|
#define GPR_DOMAIN_ID_MODEM 1
|
|
#define GPR_DOMAIN_ID_ADSP 2
|
|
#define GPR_DOMAIN_ID_APPS 3
|
|
|
|
/* Static Services */
|
|
|
|
#define GPR_APM_MODULE_IID 1
|
|
#define GPR_PRM_MODULE_IID 2
|
|
#define GPR_AMDB_MODULE_IID 3
|
|
#define GPR_VCPM_MODULE_IID 4
|
|
|
|
#endif /* __DT_BINDINGS_QCOM_GPR_H */
|