2018-05-12 01:03:16 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2011-02-18 01:52:03 +08:00
|
|
|
#
|
|
|
|
# Generic HWSPINLOCK framework
|
|
|
|
#
|
|
|
|
|
2017-04-11 22:21:02 +08:00
|
|
|
menuconfig HWSPINLOCK
|
2017-11-04 14:37:48 +08:00
|
|
|
bool "Hardware Spinlock drivers"
|
2011-02-18 01:52:03 +08:00
|
|
|
|
2020-04-15 06:09:43 +08:00
|
|
|
if HWSPINLOCK
|
|
|
|
|
2011-02-18 01:52:03 +08:00
|
|
|
config HWSPINLOCK_OMAP
|
|
|
|
tristate "OMAP Hardware Spinlock device"
|
2020-02-10 17:01:07 +08:00
|
|
|
depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3 || COMPILE_TEST
|
2011-02-18 01:52:03 +08:00
|
|
|
help
|
|
|
|
Say y here to support the OMAP Hardware Spinlock device (firstly
|
|
|
|
introduced in OMAP4).
|
|
|
|
|
|
|
|
If unsure, say N.
|
2011-09-05 04:19:51 +08:00
|
|
|
|
2015-03-25 01:11:05 +08:00
|
|
|
config HWSPINLOCK_QCOM
|
|
|
|
tristate "Qualcomm Hardware Spinlock device"
|
2020-02-10 17:01:07 +08:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
2015-03-25 01:11:05 +08:00
|
|
|
select MFD_SYSCON
|
|
|
|
help
|
|
|
|
Say y here to support the Qualcomm Hardware Mutex functionality, which
|
|
|
|
provides a synchronisation mechanism for the various processors on
|
|
|
|
the SoC.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2017-05-17 13:59:29 +08:00
|
|
|
config HWSPINLOCK_SPRD
|
|
|
|
tristate "SPRD Hardware Spinlock device"
|
2020-02-10 17:01:07 +08:00
|
|
|
depends on ARCH_SPRD || COMPILE_TEST
|
2017-05-17 13:59:29 +08:00
|
|
|
help
|
|
|
|
Say y here to support the SPRD Hardware Spinlock device.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2018-11-14 17:00:25 +08:00
|
|
|
config HWSPINLOCK_STM32
|
|
|
|
tristate "STM32 Hardware Spinlock device"
|
2020-02-10 17:01:07 +08:00
|
|
|
depends on MACH_STM32MP157 || COMPILE_TEST
|
2018-11-14 17:00:25 +08:00
|
|
|
help
|
|
|
|
Say y here to support the STM32 Hardware Spinlock device.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2021-03-14 17:31:13 +08:00
|
|
|
config HWSPINLOCK_SUN6I
|
|
|
|
tristate "SUN6I Hardware Spinlock device"
|
|
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
|
|
|
help
|
|
|
|
Say y here to support the SUN6I Hardware Spinlock device which can be
|
|
|
|
found in most of the sun6i compatible Allwinner SoCs.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2011-09-09 03:47:40 +08:00
|
|
|
config HSEM_U8500
|
|
|
|
tristate "STE Hardware Semaphore functionality"
|
2020-02-10 17:01:07 +08:00
|
|
|
depends on ARCH_U8500 || COMPILE_TEST
|
2011-09-09 03:47:40 +08:00
|
|
|
help
|
|
|
|
Say y here to support the STE Hardware Semaphore functionality, which
|
|
|
|
provides a synchronisation mechanism for the various processor on the
|
|
|
|
SoC.
|
|
|
|
|
|
|
|
If unsure, say N.
|
2020-04-15 06:09:43 +08:00
|
|
|
|
|
|
|
endif # HWSPINLOCK
|