diff options
author | Mathieu J. Poirier <mathieu.poirier@linaro.org> | 2011-09-08 15:47:40 -0400 |
---|---|---|
committer | Ohad Ben-Cohen <ohad@wizery.com> | 2011-09-21 12:57:45 -0400 |
commit | f84a8ecfca9229e9227c6ec84123b114ee634959 (patch) | |
tree | c5b519c7a10af21434a892c690ad9759fde80d11 /drivers/hwspinlock/Kconfig | |
parent | 300bab9770e2bd10262bcc78e7249fdce2c74b38 (diff) |
hwspinlock/u8500: add hwspinlock driver
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 <mathieu.poirier@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
[ohad@wizery.com: adopt recent hwspin_lock_{un}register API changes]
[ohad@wizery.com: set the owner member of the driver]
[ohad@wizery.com: mark ->remove() function as __devexit]
[ohad@wizery.com: write commit log]
[ohad@wizery.com: small cleanups]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'drivers/hwspinlock/Kconfig')
-rw-r--r-- | drivers/hwspinlock/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/hwspinlock/Kconfig b/drivers/hwspinlock/Kconfig index c8e7bdac1404..c7c3128393d1 100644 --- a/drivers/hwspinlock/Kconfig +++ b/drivers/hwspinlock/Kconfig | |||
@@ -18,4 +18,15 @@ config HWSPINLOCK_OMAP | |||
18 | 18 | ||
19 | If unsure, say N. | 19 | If unsure, say N. |
20 | 20 | ||
21 | config HSEM_U8500 | ||
22 | tristate "STE Hardware Semaphore functionality" | ||
23 | depends on ARCH_U8500 | ||
24 | select HWSPINLOCK | ||
25 | help | ||
26 | Say y here to support the STE Hardware Semaphore functionality, which | ||
27 | provides a synchronisation mechanism for the various processor on the | ||
28 | SoC. | ||
29 | |||
30 | If unsure, say N. | ||
31 | |||
21 | endmenu | 32 | endmenu |