-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hwspinlock/msm: Add snapshot of remote_spinlock driver
This is a snapshot of the msm remote_spinlock driver as of msm-4.4 commit <aaf356abef2> (Merge "scsi: ufs: add 2 lane support"). In addition, fix coding style issues and add comments to memory barriers. CRs-Fixed: 1059650 Change-Id: Ib907647e38fbd7c6bcdc724a92518959431da56e Signed-off-by: Chris Lew <[email protected]>
- Loading branch information
Chris Lew
authored and
Gerrit - the friendly Code Review server
committed
Sep 20, 2016
1 parent
7c37aad
commit 63b2d6b
Showing
6 changed files
with
820 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
Documentation/devicetree/bindings/arm/msm/ipc-spinlock.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Qualcomm Technologies inc Interprocessor Communication Spinlock | ||
|
||
--Dedicated Hardware Implementation-- | ||
Required properties: | ||
- compatible : should be "qcom,ipc-spinlock-sfpb" | ||
- reg : the location and size of the spinlock hardware | ||
- qcom,num-locks : the number of locks supported | ||
|
||
Example: | ||
|
||
qcom,ipc-spinlock@fd484000 { | ||
compatible = "qcom,ipc-spinlock-sfpb"; | ||
reg = <0xfd484000 0x1000>; | ||
qcom,num-locks = <32>; | ||
}; | ||
|
||
--LDREX Implementation-- | ||
Required properties: | ||
- compatible : should be "qcom,ipc-spinlock-ldrex" | ||
- reg : the location and size of the shared lock memory | ||
|
||
Example: | ||
|
||
qcom,ipc-spinlock@fa00000 { | ||
compatible = "qcom,ipc-spinlock-ldrex"; | ||
reg = <0xfa00000 0x200000>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.