^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # Generic HWSPINLOCK framework
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) menuconfig HWSPINLOCK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) bool "Hardware Spinlock drivers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) if HWSPINLOCK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) config HWSPINLOCK_OMAP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) tristate "OMAP Hardware Spinlock device"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Say y here to support the OMAP Hardware Spinlock device (firstly
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) introduced in OMAP4).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) config HWSPINLOCK_QCOM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) tristate "Qualcomm Hardware Spinlock device"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) depends on ARCH_QCOM || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Say y here to support the Qualcomm Hardware Mutex functionality, which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) provides a synchronisation mechanism for the various processors on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) the SoC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) config HWSPINLOCK_ROCKCHIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) tristate "Rockchip Hardware Spinlock device"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) depends on ARCH_ROCKCHIP || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Say y here to support the Rockchip Hardware Spinlock device, which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) provides a synchronisation mechanism for the various processors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) on the SoC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) config HWSPINLOCK_SIRF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) tristate "SIRF Hardware Spinlock device"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) depends on ARCH_SIRF || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) Say y here to support the SIRF Hardware Spinlock device, which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) provides a synchronisation mechanism for the various processors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) on the SoC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) It's safe to say n here if you're not interested in SIRF hardware
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) spinlock or just want a bare minimum kernel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) config HWSPINLOCK_SPRD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) tristate "SPRD Hardware Spinlock device"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) depends on ARCH_SPRD || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) Say y here to support the SPRD Hardware Spinlock device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) config HWSPINLOCK_STM32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) tristate "STM32 Hardware Spinlock device"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) depends on MACH_STM32MP157 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) Say y here to support the STM32 Hardware Spinlock device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) config HSEM_U8500
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) tristate "STE Hardware Semaphore functionality"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) depends on ARCH_U8500 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) Say y here to support the STE Hardware Semaphore functionality, which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) provides a synchronisation mechanism for the various processor on the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) SoC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) endif # HWSPINLOCK