GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / hwlock / sirf,hwspinlock.txt
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         };