hwspinlock/u8500: add hwspinlock driver
authorMathieu J. Poirier <mathieu.poirier@linaro.org>
Thu, 8 Sep 2011 19:47:40 +0000 (22:47 +0300)
committerOhad Ben-Cohen <ohad@wizery.com>
Wed, 21 Sep 2011 16:57:45 +0000 (19:57 +0300)
commitf84a8ecfca9229e9227c6ec84123b114ee634959
treec5b519c7a10af21434a892c690ad9759fde80d11
parent300bab9770e2bd10262bcc78e7249fdce2c74b38
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>
drivers/hwspinlock/Kconfig
drivers/hwspinlock/Makefile
drivers/hwspinlock/u8500_hsem.c [new file with mode: 0644]