Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 #
0003 # Generic HWSPINLOCK framework
0004 #
0005 
0006 menuconfig HWSPINLOCK
0007         bool "Hardware Spinlock drivers"
0008 
0009 if HWSPINLOCK
0010 
0011 config HWSPINLOCK_OMAP
0012         tristate "OMAP Hardware Spinlock device"
0013         depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3 || COMPILE_TEST
0014         help
0015           Say y here to support the OMAP Hardware Spinlock device (firstly
0016           introduced in OMAP4).
0017 
0018           If unsure, say N.
0019 
0020 config HWSPINLOCK_QCOM
0021         tristate "Qualcomm Hardware Spinlock device"
0022         depends on ARCH_QCOM || COMPILE_TEST
0023         select MFD_SYSCON
0024         help
0025           Say y here to support the Qualcomm Hardware Mutex functionality, which
0026           provides a synchronisation mechanism for the various processors on
0027           the SoC.
0028 
0029           If unsure, say N.
0030 
0031 config HWSPINLOCK_SPRD
0032         tristate "SPRD Hardware Spinlock device"
0033         depends on ARCH_SPRD || COMPILE_TEST
0034         help
0035           Say y here to support the SPRD Hardware Spinlock device.
0036 
0037           If unsure, say N.
0038 
0039 config HWSPINLOCK_STM32
0040         tristate "STM32 Hardware Spinlock device"
0041         depends on MACH_STM32MP157 || COMPILE_TEST
0042         help
0043           Say y here to support the STM32 Hardware Spinlock device.
0044 
0045           If unsure, say N.
0046 
0047 config HWSPINLOCK_SUN6I
0048         tristate "SUN6I Hardware Spinlock device"
0049         depends on ARCH_SUNXI || COMPILE_TEST
0050         help
0051           Say y here to support the SUN6I Hardware Spinlock device which can be
0052           found in most of the sun6i compatible Allwinner SoCs.
0053 
0054           If unsure, say N.
0055 
0056 config HSEM_U8500
0057         tristate "STE Hardware Semaphore functionality"
0058         depends on ARCH_U8500 || COMPILE_TEST
0059         help
0060           Say y here to support the STE Hardware Semaphore functionality, which
0061           provides a synchronisation mechanism for the various processor on the
0062           SoC.
0063 
0064           If unsure, say N.
0065 
0066 endif # HWSPINLOCK