1eebba71eSSuman Anna# SPDX-License-Identifier: GPL-2.0 2bd9a4c7dSOhad Ben-Cohen# 3bd9a4c7dSOhad Ben-Cohen# Generic HWSPINLOCK framework 4bd9a4c7dSOhad Ben-Cohen# 5bd9a4c7dSOhad Ben-Cohen 635fc8a07SVincent Legollmenuconfig HWSPINLOCK 7d048236dSBaolin Wang bool "Hardware Spinlock drivers" 870ba4cc2SSimon Que 9*285e74abSEzequiel Garciaif HWSPINLOCK 10*285e74abSEzequiel Garcia 1170ba4cc2SSimon Queconfig HWSPINLOCK_OMAP 1270ba4cc2SSimon Que tristate "OMAP Hardware Spinlock device" 13ffd0bbfbSBaolin Wang depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3 || COMPILE_TEST 1470ba4cc2SSimon Que help 1570ba4cc2SSimon Que Say y here to support the OMAP Hardware Spinlock device (firstly 1670ba4cc2SSimon Que introduced in OMAP4). 1770ba4cc2SSimon Que 1870ba4cc2SSimon Que If unsure, say N. 19315d8f5cSOhad Ben-Cohen 2019a0f612SBjorn Anderssonconfig HWSPINLOCK_QCOM 2119a0f612SBjorn Andersson tristate "Qualcomm Hardware Spinlock device" 22ffd0bbfbSBaolin Wang depends on ARCH_QCOM || COMPILE_TEST 2319a0f612SBjorn Andersson select MFD_SYSCON 2419a0f612SBjorn Andersson help 2519a0f612SBjorn Andersson Say y here to support the Qualcomm Hardware Mutex functionality, which 2619a0f612SBjorn Andersson provides a synchronisation mechanism for the various processors on 2719a0f612SBjorn Andersson the SoC. 2819a0f612SBjorn Andersson 2919a0f612SBjorn Andersson If unsure, say N. 3019a0f612SBjorn Andersson 31cc16d664SWei Chenconfig HWSPINLOCK_SIRF 32cc16d664SWei Chen tristate "SIRF Hardware Spinlock device" 33ffd0bbfbSBaolin Wang depends on ARCH_SIRF || COMPILE_TEST 34cc16d664SWei Chen help 35cc16d664SWei Chen Say y here to support the SIRF Hardware Spinlock device, which 36cc16d664SWei Chen provides a synchronisation mechanism for the various processors 37cc16d664SWei Chen on the SoC. 38cc16d664SWei Chen 39cc16d664SWei Chen It's safe to say n here if you're not interested in SIRF hardware 40cc16d664SWei Chen spinlock or just want a bare minimum kernel. 41cc16d664SWei Chen 42d8c8bbbbSBaolin Wangconfig HWSPINLOCK_SPRD 43d8c8bbbbSBaolin Wang tristate "SPRD Hardware Spinlock device" 44ffd0bbfbSBaolin Wang depends on ARCH_SPRD || COMPILE_TEST 45d8c8bbbbSBaolin Wang help 46d8c8bbbbSBaolin Wang Say y here to support the SPRD Hardware Spinlock device. 47d8c8bbbbSBaolin Wang 48d8c8bbbbSBaolin Wang If unsure, say N. 49d8c8bbbbSBaolin Wang 50f24fcff1SBenjamin Gaignardconfig HWSPINLOCK_STM32 51f24fcff1SBenjamin Gaignard tristate "STM32 Hardware Spinlock device" 52ffd0bbfbSBaolin Wang depends on MACH_STM32MP157 || COMPILE_TEST 53f24fcff1SBenjamin Gaignard help 54f24fcff1SBenjamin Gaignard Say y here to support the STM32 Hardware Spinlock device. 55f24fcff1SBenjamin Gaignard 56f24fcff1SBenjamin Gaignard If unsure, say N. 57f24fcff1SBenjamin Gaignard 58f84a8ecfSMathieu J. Poirierconfig HSEM_U8500 59f84a8ecfSMathieu J. Poirier tristate "STE Hardware Semaphore functionality" 60ffd0bbfbSBaolin Wang depends on ARCH_U8500 || COMPILE_TEST 61f84a8ecfSMathieu J. Poirier help 62f84a8ecfSMathieu J. Poirier Say y here to support the STE Hardware Semaphore functionality, which 63f84a8ecfSMathieu J. Poirier provides a synchronisation mechanism for the various processor on the 64f84a8ecfSMathieu J. Poirier SoC. 65f84a8ecfSMathieu J. Poirier 66f84a8ecfSMathieu J. Poirier If unsure, say N. 67*285e74abSEzequiel Garcia 68*285e74abSEzequiel Garciaendif # HWSPINLOCK 69