summaryrefslogtreecommitdiff
path: root/drivers/hwspinlock/Kconfig
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@spreadtrum.com>2017-05-17 13:59:29 +0800
committerBjorn Andersson <bjorn.andersson@linaro.org>2017-05-17 10:52:52 -0700
commitd8c8bbbb1aba547b6c0d534f87fc68aa338658fc (patch)
treea85a4cc62b954dec62fd50822ba9e7b81bff5522 /drivers/hwspinlock/Kconfig
parent35fc8a07d7f921333311662590765af5645fd3e4 (diff)
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