-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soc: dt-bindings: qcom: add gpr bindings
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
- Loading branch information
Srinivas Kandagatla
authored and
Bjorn Andersson
committed
Sep 28, 2021
1 parent
99139b8
commit 974c6fa
Showing
2 changed files
with
53 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* 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 */ |