linux-stable/include/linux/soc
Srinivas Kandagatla 6855dd02c5 soc: qcom: apr: make code more reuseable
[ Upstream commit 99139b80c1 ]

APR and other packet routers like GPR are pretty much same and
interact with other drivers in similar way.

Ex: GPR ports can be considered as APR services, only difference
is they are allocated dynamically.

Other difference is packet layout, which should not matter
with the apis abstracted. Apart from this the rest of the
functionality is pretty much identical across APR and GPR.

Make the apr code more reusable by abstracting it service level,
rather than device level so that we do not need to write
new drivers for other new packet routers like GPR.

This patch is in preparation to add GPR support to this driver.

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-4-srinivas.kandagatla@linaro.org
Stable-dep-of: 6d7860f575 ("soc: qcom: apr: Add check for idr_alloc and of_property_read_string_index")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:13:57 +01:00
..
actions
amlogic
brcmstb
cirrus
dove
ixp4xx
marvell/octeontx2 marvell: octeontx2: build error: unknown type name 'u64' 2022-11-16 09:58:30 +01:00
mediatek
mmp
nxp
qcom soc: qcom: apr: make code more reuseable 2022-12-31 13:13:57 +01:00
renesas
samsung
sunxi
ti firmware: ti_sci: Fix compilation failure when CONFIG_TI_SCI_PROTOCOL is not defined 2022-04-08 14:23:16 +02:00