soc: qcom: apr: Add GPR support
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 27 Sep 2021 13:55:42 +0000 (14:55 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 28 Sep 2021 03:10:07 +0000 (22:10 -0500)
commitec1471a898cca38af6b8956a83ebc1297214546f
tree617534db647f30d33e009b6d9fcdfb6411218cba
parent974c6faf7667e551d202712470ca210c14ca249d
soc: qcom: apr: Add GPR support

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.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.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-6-srinivas.kandagatla@linaro.org
drivers/soc/qcom/Kconfig
drivers/soc/qcom/apr.c
include/linux/soc/qcom/apr.h