summaryrefslogtreecommitdiffstats
path: root/drivers/hwspinlock/Kconfig
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@st.com>2018-11-14 10:00:25 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-12-05 21:45:21 +0100
commitf24fcff1d267da08c4bbb3869e7f4b36ce916b76 (patch)
treeb88b0507b5733c6edd7245ce81521e2ac26f7d29 /drivers/hwspinlock/Kconfig
parentdt-bindings: hwlock: Document STM32 hwspinlock bindings (diff)
downloadlinux-f24fcff1d267da08c4bbb3869e7f4b36ce916b76.tar.xz
linux-f24fcff1d267da08c4bbb3869e7f4b36ce916b76.zip
hwspinlock: add STM32 hwspinlock device
This patch adds support of hardware semaphores for stm32mp1 SoC. The hardware block provides 32 semaphores. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> 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 e895d29500ee..7869c67e5b6b 100644
--- a/drivers/hwspinlock/Kconfig
+++ b/drivers/hwspinlock/Kconfig
@@ -49,6 +49,15 @@ config HWSPINLOCK_SPRD
If unsure, say N.
+config HWSPINLOCK_STM32
+ tristate "STM32 Hardware Spinlock device"
+ depends on MACH_STM32MP157
+ depends on HWSPINLOCK
+ help
+ Say y here to support the STM32 Hardware Spinlock device.
+
+ If unsure, say N.
+
config HSEM_U8500
tristate "STE Hardware Semaphore functionality"
depends on HWSPINLOCK