2018-05-11 12:03:16 -05:00
# SPDX-License-Identifier: GPL-2.0
2011-02-17 09:52:03 -08:00
#
# Generic HWSPINLOCK framework
#
2017-04-11 16:21:02 +02:00
menuconfig HWSPINLOCK
2017-11-04 14:37:48 +08:00
bool "Hardware Spinlock drivers"
2011-02-17 09:52:03 -08:00
2020-04-14 19:09:43 -03:00
if HWSPINLOCK
2011-02-17 09: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-17 09: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-04 23:19:51 +03:00
2015-03-24 10:11:05 -07: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-24 10:11:05 -07: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 10:00:25 +01: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 10:00:25 +01:00
help
Say y here to support the STM32 Hardware Spinlock device.
If unsure, say N.
2021-03-14 10:31:13 +01: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-08 22:47:40 +03: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-08 22:47:40 +03: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-14 19:09:43 -03:00
endif # HWSPINLOCK