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 SQ |
8 | |
9 | config HWSPINLOCK_OMAP | |
10 | tristate "OMAP Hardware Spinlock device" | |
35fc8a07 | 11 | depends on HWSPINLOCK |
ceca89e8 | 12 | depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX |
70ba4cc2 SQ |
13 | help |
14 | Say y here to support the OMAP Hardware Spinlock device (firstly | |
15 | introduced in OMAP4). | |
16 | ||
17 | If unsure, say N. | |
315d8f5c | 18 | |
19a0f612 BA |
19 | config HWSPINLOCK_QCOM |
20 | tristate "Qualcomm Hardware Spinlock device" | |
35fc8a07 | 21 | depends on HWSPINLOCK |
19a0f612 | 22 | depends on ARCH_QCOM |
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 | ||
cc16d664 WC |
31 | config HWSPINLOCK_SIRF |
32 | tristate "SIRF Hardware Spinlock device" | |
35fc8a07 | 33 | depends on HWSPINLOCK |
cc16d664 | 34 | depends on ARCH_SIRF |
cc16d664 WC |
35 | help |
36 | Say y here to support the SIRF Hardware Spinlock device, which | |
37 | provides a synchronisation mechanism for the various processors | |
38 | on the SoC. | |
39 | ||
40 | It's safe to say n here if you're not interested in SIRF hardware | |
41 | spinlock or just want a bare minimum kernel. | |
42 | ||
d8c8bbbb BW |
43 | config HWSPINLOCK_SPRD |
44 | tristate "SPRD Hardware Spinlock device" | |
45 | depends on ARCH_SPRD | |
46 | depends on HWSPINLOCK | |
47 | help | |
48 | Say y here to support the SPRD Hardware Spinlock device. | |
49 | ||
50 | If unsure, say N. | |
51 | ||
f24fcff1 BG |
52 | config HWSPINLOCK_STM32 |
53 | tristate "STM32 Hardware Spinlock device" | |
54 | depends on MACH_STM32MP157 | |
55 | depends on HWSPINLOCK | |
56 | help | |
57 | Say y here to support the STM32 Hardware Spinlock device. | |
58 | ||
59 | If unsure, say N. | |
60 | ||
f84a8ecf MP |
61 | config HSEM_U8500 |
62 | tristate "STE Hardware Semaphore functionality" | |
35fc8a07 | 63 | depends on HWSPINLOCK |
f84a8ecf | 64 | depends on ARCH_U8500 |
f84a8ecf MP |
65 | help |
66 | Say y here to support the STE Hardware Semaphore functionality, which | |
67 | provides a synchronisation mechanism for the various processor on the | |
68 | SoC. | |
69 | ||
70 | If unsure, say N. |