18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Generic HWSPINLOCK framework
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_cimenuconfig HWSPINLOCK
78c2ecf20Sopenharmony_ci	bool "Hardware Spinlock drivers"
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciif HWSPINLOCK
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciconfig HWSPINLOCK_OMAP
128c2ecf20Sopenharmony_ci	tristate "OMAP Hardware Spinlock device"
138c2ecf20Sopenharmony_ci	depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3 || COMPILE_TEST
148c2ecf20Sopenharmony_ci	help
158c2ecf20Sopenharmony_ci	  Say y here to support the OMAP Hardware Spinlock device (firstly
168c2ecf20Sopenharmony_ci	  introduced in OMAP4).
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci	  If unsure, say N.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciconfig HWSPINLOCK_QCOM
218c2ecf20Sopenharmony_ci	tristate "Qualcomm Hardware Spinlock device"
228c2ecf20Sopenharmony_ci	depends on ARCH_QCOM || COMPILE_TEST
238c2ecf20Sopenharmony_ci	select MFD_SYSCON
248c2ecf20Sopenharmony_ci	help
258c2ecf20Sopenharmony_ci	  Say y here to support the Qualcomm Hardware Mutex functionality, which
268c2ecf20Sopenharmony_ci	  provides a synchronisation mechanism for the various processors on
278c2ecf20Sopenharmony_ci	  the SoC.
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci	  If unsure, say N.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciconfig HWSPINLOCK_SIRF
328c2ecf20Sopenharmony_ci	tristate "SIRF Hardware Spinlock device"
338c2ecf20Sopenharmony_ci	depends on ARCH_SIRF || COMPILE_TEST
348c2ecf20Sopenharmony_ci	help
358c2ecf20Sopenharmony_ci	  Say y here to support the SIRF Hardware Spinlock device, which
368c2ecf20Sopenharmony_ci	  provides a synchronisation mechanism for the various processors
378c2ecf20Sopenharmony_ci	  on the SoC.
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci	  It's safe to say n here if you're not interested in SIRF hardware
408c2ecf20Sopenharmony_ci	  spinlock or just want a bare minimum kernel.
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ciconfig HWSPINLOCK_SPRD
438c2ecf20Sopenharmony_ci	tristate "SPRD Hardware Spinlock device"
448c2ecf20Sopenharmony_ci	depends on ARCH_SPRD || COMPILE_TEST
458c2ecf20Sopenharmony_ci	help
468c2ecf20Sopenharmony_ci	  Say y here to support the SPRD Hardware Spinlock device.
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ci	  If unsure, say N.
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ciconfig HWSPINLOCK_STM32
518c2ecf20Sopenharmony_ci	tristate "STM32 Hardware Spinlock device"
528c2ecf20Sopenharmony_ci	depends on MACH_STM32MP157 || COMPILE_TEST
538c2ecf20Sopenharmony_ci	help
548c2ecf20Sopenharmony_ci	  Say y here to support the STM32 Hardware Spinlock device.
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ci	  If unsure, say N.
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciconfig HSEM_U8500
598c2ecf20Sopenharmony_ci	tristate "STE Hardware Semaphore functionality"
608c2ecf20Sopenharmony_ci	depends on ARCH_U8500 || COMPILE_TEST
618c2ecf20Sopenharmony_ci	help
628c2ecf20Sopenharmony_ci	  Say y here to support the STE Hardware Semaphore functionality, which
638c2ecf20Sopenharmony_ci	  provides a synchronisation mechanism for the various processor on the
648c2ecf20Sopenharmony_ci	  SoC.
658c2ecf20Sopenharmony_ci
668c2ecf20Sopenharmony_ci	  If unsure, say N.
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ciendif # HWSPINLOCK
69