Skip to content

Commit b97cade

Browse files
Wei Chenohadbc
authored andcommitted
DT: hwspinlock: add the CSR atlas7 hwspinlock bindings document
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). This patch adds the DT bindings information for this hwspinlock module. Reviewed-by: Suman Anna <s-anna@ti.com> Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Wei Chen <wei.chen@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
1 parent cc16d66 commit b97cade

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
SIRF Hardware spinlock device Binding
2+
-----------------------------------------------
3+
4+
Required properties :
5+
- compatible : shall contain only one of the following:
6+
"sirf,hwspinlock"
7+
8+
- reg : the register address of hwspinlock
9+
10+
- #hwlock-cells : hwlock users only use the hwlock id to represent a specific
11+
hwlock, so the number of cells should be <1> here.
12+
13+
Please look at the generic hwlock binding for usage information for consumers,
14+
"Documentation/devicetree/bindings/hwlock/hwlock.txt"
15+
16+
Example of hwlock provider:
17+
hwlock {
18+
compatible = "sirf,hwspinlock";
19+
reg = <0x13240000 0x00010000>;
20+
#hwlock-cells = <1>;
21+
};
22+
23+
Example of hwlock users:
24+
node {
25+
...
26+
hwlocks = <&hwlock 2>;
27+
...
28+
};

0 commit comments

Comments
 (0)