2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 13:43:55 +08:00
linux-next/drivers/hwspinlock
Bjorn Andersson 7a1e6fb1c6 hwspinlock: qcom: Allow mmio usage in addition to syscon
In modern Qualcomm platforms the mutex region of the TCSR is forked off
into its own block, all with a offset of 0 and stride of 4096, and in
some of these platforms no other registers in this region is accessed
from Linux.

So add support for directly memory mapping this register space, to avoid
the need to represent this block using a syscon.

Reviewed-by: Baolin Wang <baolin.wang7@gmail.com>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20200622075956.171058-4-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-07-13 22:29:28 -07:00
..
hwspinlock_core.c hwspinlock: Let the PM runtime can be optional 2019-11-08 16:42:00 -08:00
hwspinlock_internal.h hwspinlock: hwspinlock_internal.h: Replace zero-length array with flexible-array member 2020-03-25 22:30:46 -07:00
Kconfig hwspinlock: Simplify Kconfig 2020-06-21 00:36:03 -07:00
Makefile hwspinlock: add STM32 hwspinlock device 2018-12-05 12:45:21 -08:00
omap_hwspinlock.c hwspinlock: omap: Use devm_kzalloc() to allocate memory 2020-01-21 16:11:25 -08:00
qcom_hwspinlock.c hwspinlock: qcom: Allow mmio usage in addition to syscon 2020-07-13 22:29:28 -07:00
sirf_hwspinlock.c hwspinlock: sirf: Use devm_hwspin_lock_register() to register hwlock controller 2020-01-21 16:16:36 -08:00
sprd_hwspinlock.c hwspinlock: sprd: Remove redundant PM runtime implementation 2019-11-08 16:42:11 -08:00
stm32_hwspinlock.c hwspinlock: stm32: convert to devm_platform_ioremap_resource 2019-12-28 20:43:23 -08:00
u8500_hsem.c hwspinlock: u8500_hsem: Remove redundant PM runtime implementation 2019-11-08 16:42:26 -08:00