blob: 3874d15b0e9b71bb42bbea2eb2dac213e513e1e5 [file] [log] [blame]
Suman Annaeebba712018-05-11 12:03:16 -05001# SPDX-License-Identifier: GPL-2.0
Ohad Ben-Cohenbd9a4c72011-02-17 09:52:03 -08002#
3# Generic HWSPINLOCK framework
4#
5
Vincent Legoll35fc8a02017-04-11 16:21:02 +02006menuconfig HWSPINLOCK
Baolin Wangd0482362017-11-04 14:37:48 +08007 bool "Hardware Spinlock drivers"
Simon Que70ba4cc2011-02-17 09:52:03 -08008
Ezequiel Garcia285e74a2020-04-14 19:09:43 -03009if HWSPINLOCK
10
Simon Que70ba4cc2011-02-17 09:52:03 -080011config HWSPINLOCK_OMAP
12 tristate "OMAP Hardware Spinlock device"
Baolin Wangffd0bbf2020-02-10 17:01:07 +080013 depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3 || COMPILE_TEST
Simon Que70ba4cc2011-02-17 09:52:03 -080014 help
15 Say y here to support the OMAP Hardware Spinlock device (firstly
16 introduced in OMAP4).
17
18 If unsure, say N.
Ohad Ben-Cohen315d8f52011-09-04 23:19:51 +030019
Bjorn Andersson19a0f612015-03-24 10:11:05 -070020config HWSPINLOCK_QCOM
21 tristate "Qualcomm Hardware Spinlock device"
Baolin Wangffd0bbf2020-02-10 17:01:07 +080022 depends on ARCH_QCOM || COMPILE_TEST
Bjorn Andersson19a0f612015-03-24 10:11:05 -070023 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
Baolin Wangd8c8bbb2017-05-17 13:59:29 +080031config HWSPINLOCK_SPRD
32 tristate "SPRD Hardware Spinlock device"
Baolin Wangffd0bbf2020-02-10 17:01:07 +080033 depends on ARCH_SPRD || COMPILE_TEST
Baolin Wangd8c8bbb2017-05-17 13:59:29 +080034 help
35 Say y here to support the SPRD Hardware Spinlock device.
36
37 If unsure, say N.
38
Benjamin Gaignardf24fcff2018-11-14 10:00:25 +010039config HWSPINLOCK_STM32
40 tristate "STM32 Hardware Spinlock device"
Baolin Wangffd0bbf2020-02-10 17:01:07 +080041 depends on MACH_STM32MP157 || COMPILE_TEST
Benjamin Gaignardf24fcff2018-11-14 10:00:25 +010042 help
43 Say y here to support the STM32 Hardware Spinlock device.
44
45 If unsure, say N.
46
Wilken Gottwalt3c881e02021-03-14 10:31:13 +010047config HWSPINLOCK_SUN6I
48 tristate "SUN6I Hardware Spinlock device"
49 depends on ARCH_SUNXI || COMPILE_TEST
50 help
51 Say y here to support the SUN6I Hardware Spinlock device which can be
52 found in most of the sun6i compatible Allwinner SoCs.
53
54 If unsure, say N.
55
Mathieu J. Poirierf84a8ec2011-09-08 22:47:40 +030056config HSEM_U8500
57 tristate "STE Hardware Semaphore functionality"
Baolin Wangffd0bbf2020-02-10 17:01:07 +080058 depends on ARCH_U8500 || COMPILE_TEST
Mathieu J. Poirierf84a8ec2011-09-08 22:47:40 +030059 help
60 Say y here to support the STE Hardware Semaphore functionality, which
61 provides a synchronisation mechanism for the various processor on the
62 SoC.
63
64 If unsure, say N.
Ezequiel Garcia285e74a2020-04-14 19:09:43 -030065
66endif # HWSPINLOCK