mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
Add hwspinlock driver for U8500's Hsem hardware. At this point only HSem's protocol 1 is used (i.e. no interrupts). Signed-off-by: Mathieu Poirier <[email protected]> Acked-by: Linus Walleij <[email protected]> [[email protected]: adopt recent hwspin_lock_{un}register API changes] [[email protected]: set the owner member of the driver] [[email protected]: mark ->remove() function as __devexit] [[email protected]: write commit log] [[email protected]: small cleanups] Signed-off-by: Ohad Ben-Cohen <[email protected]>
33 lines
683 B
Plaintext
33 lines
683 B
Plaintext
#
|
|
# Generic HWSPINLOCK framework
|
|
#
|
|
|
|
# HWSPINLOCK always gets selected by whoever wants it.
|
|
config HWSPINLOCK
|
|
tristate
|
|
|
|
menu "Hardware Spinlock drivers"
|
|
|
|
config HWSPINLOCK_OMAP
|
|
tristate "OMAP Hardware Spinlock device"
|
|
depends on ARCH_OMAP4
|
|
select HWSPINLOCK
|
|
help
|
|
Say y here to support the OMAP Hardware Spinlock device (firstly
|
|
introduced in OMAP4).
|
|
|
|
If unsure, say N.
|
|
|
|
config HSEM_U8500
|
|
tristate "STE Hardware Semaphore functionality"
|
|
depends on ARCH_U8500
|
|
select HWSPINLOCK
|
|
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.
|
|
|
|
endmenu
|