summaryrefslogtreecommitdiffstats
path: root/drivers/hwspinlock/Kconfig
diff options
context:
space:
mode:
authorBaolin Wang2017-05-17 07:59:29 +0200
committerBjorn Andersson2017-05-17 19:52:52 +0200
commitd8c8bbbb1aba547b6c0d534f87fc68aa338658fc (patch)
treea85a4cc62b954dec62fd50822ba9e7b81bff5522 /drivers/hwspinlock/Kconfig
parentMake HWSPINLOCK a menuconfig to ease disabling (diff)
downloadkernel-qcow2-linux-d8c8bbbb1aba547b6c0d534f87fc68aa338658fc.tar.gz
kernel-qcow2-linux-d8c8bbbb1aba547b6c0d534f87fc68aa338658fc.tar.xz
kernel-qcow2-linux-d8c8bbbb1aba547b6c0d534f87fc68aa338658fc.zip
hwspinlock: sprd: Add hardware spinlock driver
The Spreadtrum hardware spinlock device can provide hardware assistance for synchronization between the multiple subsystems. Signed-off-by: Baolin Wang <baolin.wang@spreadtrum.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/hwspinlock/Kconfig')
-rw-r--r--drivers/hwspinlock/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/hwspinlock/Kconfig b/drivers/hwspinlock/Kconfig
index cc26b042d366..6e0a5539a9ea 100644
--- a/drivers/hwspinlock/Kconfig
+++ b/drivers/hwspinlock/Kconfig
@@ -39,6 +39,15 @@ config HWSPINLOCK_SIRF
It's safe to say n here if you're not interested in SIRF hardware
spinlock or just want a bare minimum kernel.
+config HWSPINLOCK_SPRD
+ tristate "SPRD Hardware Spinlock device"
+ depends on ARCH_SPRD
+ depends on HWSPINLOCK
+ help
+ Say y here to support the SPRD Hardware Spinlock device.
+
+ If unsure, say N.
+
config HSEM_U8500
tristate "STE Hardware Semaphore functionality"
depends on HWSPINLOCK