Commit | Line | Data |
---|---|---|
eebba71e | 1 | # SPDX-License-Identifier: GPL-2.0 |
bd9a4c7d OBC |
2 | # |
3 | # Generic HWSPINLOCK framework | |
4 | # | |
5 | ||
35fc8a07 | 6 | menuconfig HWSPINLOCK |
d048236d | 7 | bool "Hardware Spinlock drivers" |
70ba4cc2 | 8 | |
285e74ab EG |
9 | if HWSPINLOCK |
10 | ||
70ba4cc2 SQ |
11 | config HWSPINLOCK_OMAP |
12 | tristate "OMAP Hardware Spinlock device" | |
ffd0bbfb | 13 | depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3 || COMPILE_TEST |
70ba4cc2 SQ |
14 | help |
15 | Say y here to support the OMAP Hardware Spinlock device (firstly | |
16 | introduced in OMAP4). | |
17 | ||
18 | If unsure, say N. | |
315d8f5c | 19 | |
19a0f612 BA |
20 | config HWSPINLOCK_QCOM |
21 | tristate "Qualcomm Hardware Spinlock device" | |
ffd0bbfb | 22 | depends on ARCH_QCOM || COMPILE_TEST |
19a0f612 BA |
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 | ||
d8c8bbbb BW |
31 | config HWSPINLOCK_SPRD |
32 | tristate "SPRD Hardware Spinlock device" | |
ffd0bbfb | 33 | depends on ARCH_SPRD || COMPILE_TEST |
d8c8bbbb BW |
34 | help |
35 | Say y here to support the SPRD Hardware Spinlock device. | |
36 | ||
37 | If unsure, say N. | |
38 | ||
f24fcff1 BG |
39 | config HWSPINLOCK_STM32 |
40 | tristate "STM32 Hardware Spinlock device" | |
ffd0bbfb | 41 | depends on MACH_STM32MP157 || COMPILE_TEST |
f24fcff1 BG |
42 | help |
43 | Say y here to support the STM32 Hardware Spinlock device. | |
44 | ||
45 | If unsure, say N. | |
46 | ||
3c881e05 WG |
47 | config 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 | ||
f84a8ecf MP |
56 | config HSEM_U8500 |
57 | tristate "STE Hardware Semaphore functionality" | |
ffd0bbfb | 58 | depends on ARCH_U8500 || COMPILE_TEST |
f84a8ecf MP |
59 | 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. | |
285e74ab EG |
65 | |
66 | endif # HWSPINLOCK |