linux/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>
History 2022-12-31 13:13:57 +01:00
..
actions soc: actions: owl-sps: Factor out owl_sps_set_pg() for power-gating 2017-06-23 17:43:27 +02:00
amlogic drm/meson: drop use of drmP.h 2019-07-17 12:47:57 +02:00
brcmstb soc: bcm: brcmstb: add stubs for getting platform IDs 2021-01-20 12:07:23 -08:00
cirrus ARM: ep93xx: move pinctrl interfaces into include/linux/soc 2019-04-28 23:08:40 -07:00
dove License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ixp4xx soc: ixp4xx: move cpu detection to linux/soc/ixp4xx/cpu.h 2021-06-17 15:30:54 +02:00
marvell/octeontx2 marvell: octeontx2: build error: unknown type name 'u64' 2022-11-16 09:58:30 +01:00
mediatek drm pull for 5.12-rc1 2021-02-21 14:44:44 -08:00
mmp soc: mmp: guard include of asm/cputype.h with CONFIG_ARM{,64} 2019-10-21 19:13:56 -07:00
nxp serial: lpc32xx: allow compile testing 2019-08-15 21:34:02 +02:00
qcom soc: qcom: apr: make code more reuseable 2022-12-31 13:13:57 +01:00
renesas soc: renesas: rcar-sysc: Drop legacy handling 2018-06-18 12:00:29 +02:00
samsung soc: samsung: pmu: drop EXYNOS_CENTRAL_SEQ_OPTION defines 2021-05-27 11:57:34 -04:00
sunxi drivers: soc: sunxi: Introduce SoC driver to map SRAMs 2015-06-01 17:57:34 +02:00
ti firmware: ti_sci: Fix compilation failure when CONFIG_TI_SCI_PROTOCOL is not defined 2022-04-08 14:23:16 +02:00