21 Jun, 2020
1 commit
-
Every hwspinlock driver is expected to depend on the
hwspinlock core, so it's possible to simplify the
Kconfig, factoring out the HWSPINLOCK dependency.Reviewed-by: Baolin Wang
Signed-off-by: Ezequiel Garcia
Link: https://lore.kernel.org/r/20200414220943.6203-1-ezequiel@collabora.com
Signed-off-by: Bjorn Andersson
26 Mar, 2020
1 commit
-
Allow drivers to be built with COMPILE_TEST.
Signed-off-by: Baolin Wang
Link: https://lore.kernel.org/r/5a95c3de07ef020a4e2f2776fa5adb00637ee387.1581324976.git.baolin.wang7@gmail.com
Signed-off-by: Bjorn Andersson
30 Jun, 2019
1 commit
-
A HwSpinlock IP is also present on the newer TI K3 AM65x and J721E
family of SoCs within the Main NavSS sub-module. Reuse the existing
OMAP Hwspinlock driver to extend the support for this IP on K3 AM65x
SoCs as well. The IP has slightly different bit-fields in the
SYSCONFIG and SYSSTATUS registers.Signed-off-by: Suman Anna
Signed-off-by: Bjorn Andersson
06 Dec, 2018
1 commit
-
This patch adds support of hardware semaphores for stm32mp1 SoC.
The hardware block provides 32 semaphores.Signed-off-by: Benjamin Gaignard
Signed-off-by: Benjamin Gaignard
Signed-off-by: Bjorn Andersson
25 May, 2018
1 commit
-
Use the appropriate SPDX license identifier in the Hwspinlock core
driver source files and drop the previous boilerplate license text.Signed-off-by: Suman Anna
Signed-off-by: Bjorn Andersson
07 Nov, 2017
1 commit
-
Change hwspinlock to a bool in case some drivers will meet dependency
issue when hwspinlock is built as a module.Signed-off-by: Baolin Wang
Signed-off-by: Bjorn Andersson
18 May, 2017
2 commits
-
The Spreadtrum hardware spinlock device can provide hardware assistance
for synchronization between the multiple subsystems.Signed-off-by: Baolin Wang
Signed-off-by: Bjorn Andersson -
So that there's no need to get into the submenu to disable all related config
entries.Signed-off-by: Vincent Legoll
Signed-off-by: Bjorn Andersson
12 Jun, 2015
1 commit
-
Add hwspinlock support for the CSR atlas7 SoC.
The Hardware Spinlock device on atlas7 provides hardware assistance
for synchronization between the multiple processors in the system
(dual Cortex-A7, CAN bus Cortex-M3 and audio DSP).Reviewed-by: Suman Anna
Reviewed-by: Bjorn Andersson
Signed-off-by: Wei Chen
Signed-off-by: Barry Song
Signed-off-by: Ohad Ben-Cohen
02 May, 2015
1 commit
-
Add driver for Qualcomm Hardware Mutex block found in many Qualcomm
SoCs.Based on initial effort by Kumar Gala
Signed-off-by: Bjorn Andersson
Reviewed-by: Andy Gross
Reviewed-by: Jeffrey Hugo
Signed-off-by: Ohad Ben-Cohen
29 Jul, 2014
1 commit
-
HwSpinlocks are supported on TI's AM33xx, AM43xx and DRA7xx SoC
device families as well. The IPs are identical to that of
OMAP4/OMAP5, except for the number of locks.Add a depends on to the above family of SoCs to enable the
build support for OMAP hwspinlock driver for any of the above
SoC configs.Signed-off-by: Suman Anna
[small commit log changes]
Signed-off-by: Ohad Ben-Cohen
05 Apr, 2013
1 commit
-
OMAP5 has spinlocks, too.
Signed-off-by: Vincent Stehlé
Cc: Tony Lindgren
Signed-off-by: Ohad Ben-Cohen
22 Sep, 2011
2 commits
-
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
Acked-by: Linus Walleij
[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 -
Simplify hwspinlock's Kconfig by making the global CONFIG_HWSPINLOCK
entry invisible; users will just select it when needed.This also prepares the ground for adding hwspinlock support for other
platforms (the 'depends on ARCH_OMAP4' was rather hideous, and while
we're at it, a dedicated menu is added).Signed-off-by: Ohad Ben-Cohen
19 Mar, 2011
1 commit
-
Currently only OMAP4 supports hwspinlocks, so don't bother asking
anyone else.Signed-off-by: Ohad Ben-Cohen
Signed-off-by: Tony Lindgren
18 Feb, 2011
2 commits
-
Add hwspinlock support for the OMAP4 Hardware Spinlock device.
The Hardware Spinlock device on OMAP4 provides hardware assistance
for synchronization between the multiple processors in the system
(dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP).[ohad@wizery.com: adapt to hwspinlock framework, tidy up]
Signed-off-by: Simon Que
Signed-off-by: Hari Kanigeri
Signed-off-by: Krishnamoorthy, Balaji T
Signed-off-by: Ohad Ben-Cohen
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Grant Likely
Cc: Arnd Bergmann
Cc: Paul Walmsley
Cc: Russell King
Signed-off-by: Tony Lindgren -
Add a platform-independent hwspinlock framework.
Hardware spinlock devices are needed, e.g., in order to access data
that is shared between remote processors, that otherwise have no
alternative mechanism to accomplish synchronization and mutual exclusion
operations.Signed-off-by: Ohad Ben-Cohen
Cc: Hari Kanigeri
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Grant Likely
Cc: Paul Walmsley
Cc: Russell King
Acked-by: Arnd Bergmann
Signed-off-by: Tony Lindgren