xref: /openbmc/linux/drivers/hwspinlock/Kconfig (revision e0d07278)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Generic HWSPINLOCK framework
4#
5
6menuconfig HWSPINLOCK
7	bool "Hardware Spinlock drivers"
8
9if HWSPINLOCK
10
11config HWSPINLOCK_OMAP
12	tristate "OMAP Hardware Spinlock device"
13	depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3 || COMPILE_TEST
14	help
15	  Say y here to support the OMAP Hardware Spinlock device (firstly
16	  introduced in OMAP4).
17
18	  If unsure, say N.
19
20config HWSPINLOCK_QCOM
21	tristate "Qualcomm Hardware Spinlock device"
22	depends on ARCH_QCOM || COMPILE_TEST
23	select MFD_SYSCON
24	help
25	  Say y here to support the Qualcomm Hardware Mutex functionality, which
26	  provides a synchronisation mechanism for the various processors on
27	  the SoC.
28
29	  If unsure, say N.
30
31config HWSPINLOCK_SIRF
32	tristate "SIRF Hardware Spinlock device"
33	depends on ARCH_SIRF || COMPILE_TEST
34	help
35	  Say y here to support the SIRF Hardware Spinlock device, which
36	  provides a synchronisation mechanism for the various processors
37	  on the SoC.
38
39	  It's safe to say n here if you're not interested in SIRF hardware
40	  spinlock or just want a bare minimum kernel.
41
42config HWSPINLOCK_SPRD
43	tristate "SPRD Hardware Spinlock device"
44	depends on ARCH_SPRD || COMPILE_TEST
45	help
46	  Say y here to support the SPRD Hardware Spinlock device.
47
48	  If unsure, say N.
49
50config HWSPINLOCK_STM32
51	tristate "STM32 Hardware Spinlock device"
52	depends on MACH_STM32MP157 || COMPILE_TEST
53	help
54	  Say y here to support the STM32 Hardware Spinlock device.
55
56	  If unsure, say N.
57
58config HSEM_U8500
59	tristate "STE Hardware Semaphore functionality"
60	depends on ARCH_U8500 || COMPILE_TEST
61	help
62	  Say y here to support the STE Hardware Semaphore functionality, which
63	  provides a synchronisation mechanism for the various processor on the
64	  SoC.
65
66	  If unsure, say N.
67
68endif # HWSPINLOCK
69